diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2019-03-23 18:48:58 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2019-03-23 18:48:58 +0000 |
commit | 5dcc619ac21853417f35ddc4b68c1e7ce1d45b2d (patch) | |
tree | ce1bb9301e208c90797e9d63bf4d20db2f4d877a /math/py-matplotlib/files/patch-setup.py | |
parent | Reorder post-patch blocks, so they both get applied in the !PYTHON case. (diff) |
Update to upstream version 2.2.4
While on it:
- Pet portlint
PR: 236455
Submitted by: lbartoletti@tuxfamily.org
Approved by: mainland@apeiron.net (maintainer)
Notes
Notes:
svn path=/head/; revision=496681
Diffstat (limited to 'math/py-matplotlib/files/patch-setup.py')
-rw-r--r-- | math/py-matplotlib/files/patch-setup.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/math/py-matplotlib/files/patch-setup.py b/math/py-matplotlib/files/patch-setup.py new file mode 100644 index 000000000000..01e1a9eaa953 --- /dev/null +++ b/math/py-matplotlib/files/patch-setup.py @@ -0,0 +1,22 @@ +--- setup.py.orig 2019-03-22 05:20:14 UTC ++++ setup.py +@@ -153,12 +153,13 @@ def _download_jquery_to(dest): + sha = 'f8233674366ab36b2c34c577ec77a3d70cac75d2e387d8587f3836345c0f624d' + if not os.path.exists(os.path.join(dest, "jquery-ui-1.12.1")): + _makedirs(dest, exist_ok=True) +- try: +- buff = download_or_cache(url, sha) +- except Exception: +- raise IOError("Failed to download jquery-ui. Please download " + +- "{url} and extract it to {dest}.".format( +- url=url, dest=dest)) ++ buff = os.path.join("%%DISTDIR%%", "jquery-ui-1.12.1.zip") ++# try: ++# buff = download_or_cache(url, sha) ++# except Exception: ++# raise IOError("Failed to download jquery-ui. Please download " + ++# "{url} and extract it to {dest}.".format( ++# url=url, dest=dest)) + with ZipFile(buff) as zf: + zf.extractall(dest) + |