commit:     9a97cc659158c447b023f1f59d3b8a8bdd62a27a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 07:10:35 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 07:15:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a97cc65

dev-python/matplotlib: Use pypi.eclass in older version(s)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/matplotlib/matplotlib-3.5.3.ebuild | 8 ++++----
 1 file 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
        )

Reply via email to