From 3017cf5138cdd90bda307ad0e820e5890350738a Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 2 May 2019 11:10:35 -0400 Subject: dev-python/matplotlib: bump to 2.2.4 Closes: https://bugs.gentoo.org/684798 Closes: https://bugs.gentoo.org/656262 Signed-off-by: Virgil Dupras Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- .../files/matplotlib-2.2.4-no-jqueryui-download.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev-python/matplotlib/files/matplotlib-2.2.4-no-jqueryui-download.patch (limited to 'dev-python/matplotlib/files/matplotlib-2.2.4-no-jqueryui-download.patch') diff --git a/dev-python/matplotlib/files/matplotlib-2.2.4-no-jqueryui-download.patch b/dev-python/matplotlib/files/matplotlib-2.2.4-no-jqueryui-download.patch new file mode 100644 index 000000000000..9d13adb8ab53 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-2.2.4-no-jqueryui-download.patch @@ -0,0 +1,18 @@ +diff --git a/setup.py b/setup.py +index 41037e95d..6a438fa99 100644 +--- a/setup.py ++++ b/setup.py +@@ -178,9 +178,10 @@ class sdist_with_jquery(_orgin_sdist): + class install_lib_with_jquery(InstallLibCommand): + def run(self): + InstallLibCommand.run(self) +- _download_jquery_to( +- os.path.join(self.install_dir, "matplotlib/backends/web_backend/")) +- ++ # Avoid downloading jquery ui during emerge: we already have it in ++ # pypi's tarball. use this! ++ name = "matplotlib/backends/web_backend/jquery-ui-1.12.1" ++ os.rename(os.path.join('lib', name), os.path.join(self.install_dir, name)) + + class develop_with_jquery(DevelopCommand): + def run(self): -- cgit v1.2.3