diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-04 06:43:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-04 06:48:11 +0100 |
commit | 7149ff0bdb4ff9cdd9c48776ce92bb6a0cb6139c (patch) | |
tree | 5bbaf3c22765ee2563870f0230784e895775de67 /dev-python/autopep8 | |
parent | dev-python/xmlschema: Use pypi.eclass (diff) | |
download | gentoo-7149ff0bdb4ff9cdd9c48776ce92bb6a0cb6139c.tar.gz gentoo-7149ff0bdb4ff9cdd9c48776ce92bb6a0cb6139c.tar.bz2 gentoo-7149ff0bdb4ff9cdd9c48776ce92bb6a0cb6139c.zip |
dev-python/autopep8: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r-- | dev-python/autopep8/autopep8-2.0.2.ebuild | 2 | ||||
-rw-r--r-- | dev-python/autopep8/autopep8-9999.ebuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/autopep8/autopep8-2.0.2.ebuild b/dev-python/autopep8/autopep8-2.0.2.ebuild index 2500f9c683a2..f3389447202d 100644 --- a/dev-python/autopep8/autopep8-2.0.2.ebuild +++ b/dev-python/autopep8/autopep8-2.0.2.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" inherit git-r3 else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + inherit pypi KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" fi diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild index c41931f8e0c2..ee34bcad54d2 100644 --- a/dev-python/autopep8/autopep8-9999.ebuild +++ b/dev-python/autopep8/autopep8-9999.ebuild @@ -18,8 +18,8 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" inherit git-r3 else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + inherit pypi + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" fi LICENSE="MIT" |