summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 09:10:35 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 09:15:10 +0200
commit9a97cc659158c447b023f1f59d3b8a8bdd62a27a (patch)
tree7f7e4f98c04b74bcc9d449da407cc79341e7615b /dev-python/matplotlib
parentdev-python/markupsafe: Remove old (diff)
downloadgentoo-9a97cc659158c447b023f1f59d3b8a8bdd62a27a.tar.gz
gentoo-9a97cc659158c447b023f1f59d3b8a8bdd62a27a.tar.bz2
gentoo-9a97cc659158c447b023f1f59d3b8a8bdd62a27a.zip
dev-python/matplotlib: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib')
-rw-r--r--dev-python/matplotlib/matplotlib-3.5.3.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/matplotlib/matplotlib-3.5.3.ebuild b/dev-python/matplotlib/matplotlib-3.5.3.ebuild
index 868720e51388..a765b2f7d83c 100644
--- a/dev-python/matplotlib/matplotlib-3.5.3.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.5.3.ebuild
@@ -3,12 +3,13 @@
EAPI=8
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='tk?,threads(+)'
-inherit distutils-r1 flag-o-matic multiprocessing prefix toolchain-funcs \
- virtualx
+inherit distutils-r1 flag-o-matic multiprocessing prefix pypi
+inherit toolchain-funcs virtualx
FT_PV=2.6.1
DESCRIPTION="Pure python plotting library with matlab like syntax"
@@ -17,8 +18,7 @@ HOMEPAGE="
https://github.com/matplotlib/matplotlib/
https://pypi.org/project/matplotlib/
"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+SRC_URI+="
test? (
https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz
)