commit:     432c80b202558268677d42c5b4651fb8b2996c97
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:53:55 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432c80b2

dev-python/sphinx-aiohttp-theme: Use pypi.eclass

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

 .../sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild    | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git 
a/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild 
b/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild
index c34375e48e9d..99e705a2d54f 100644
--- a/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild
+++ b/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild
@@ -4,17 +4,14 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="aiohttp-theme"
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
-
-MY_PN="${PN#sphinx-}"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
 
 DESCRIPTION="Sphinx theme for aiohttp"
 HOMEPAGE="https://github.com/aio-libs/aiohttp-theme";
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"

Reply via email to