commit:     048baa5e0a61c1ae4075c5a451e660086a0b7eaa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 05:16:42 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 05:16:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048baa5e

dev-python/sphinx_rtd_theme: Use pypi.eclass

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

 dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.1.ebuild | 3 +--
 dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.1.ebuild 
b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.1.ebuild
index 596136615076..2893f979a846 100644
--- a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.1.ebuild
+++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.1.1.ebuild
@@ -6,14 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="ReadTheDocs.org theme for Sphinx"
 HOMEPAGE="
        https://github.com/readthedocs/sphinx_rtd_theme/
        https://pypi.org/project/sphinx-rtd-theme/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild 
b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
index 7c32687fbd20..814a48f1af37 100644
--- a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
+++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.2.0.ebuild
@@ -6,14 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="ReadTheDocs.org theme for Sphinx"
 HOMEPAGE="
        https://github.com/readthedocs/sphinx_rtd_theme/
        https://pypi.org/project/sphinx-rtd-theme/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to