gentoo/dev-python/matplotlib/files/matplotlib-3.1.2-no-jqueryui-download.patch
Benda Xu e099f966bf
dev-python/matplotlib: bump to 3.1.2.
- Unbundle qhull.
  - Depend on pyobject:3[cairo] for USE="gtk3 cairo".
  - p/arch/arm64/package.use.mask: mask USE=wxwidgets
    dev-python/wxpython does not have arm64 keyword.

Closes: https://bugs.gentoo.org/671796
Closes: https://bugs.gentoo.org/680176
Closes: https://bugs.gentoo.org/665560
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
2020-01-26 09:19:01 +08:00

16 lines
544 B
Diff

Index: matplotlib-3.1.2/setup.py
===================================================================
--- matplotlib-3.1.2.orig/setup.py
+++ matplotlib-3.1.2/setup.py
@@ -125,7 +125,9 @@ cmdclass['build_ext'] = BuildExtraLibrar
def _download_jquery_to(dest):
- if os.path.exists(os.path.join(dest, "jquery-ui-1.12.1")):
+ # Avoid downloading jquery ui during emerge: we already have it in
+ # pypi's tarball. use this!
+ if True:
return
# If we are installing from an sdist, use the already downloaded jquery-ui