summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:38 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:33 +0100
commit24138b84d4958f2432063060d8aba4a19ec50dd9 (patch)
treef86dc6b8e231cea1eee36f0e13120839a0399321
parentdev-python/markupsafe: Use pypi.eclass (diff)
downloadgentoo-24138b84d4958f2432063060d8aba4a19ec50dd9.tar.gz
gentoo-24138b84d4958f2432063060d8aba4a19ec50dd9.tar.bz2
gentoo-24138b84d4958f2432063060d8aba4a19ec50dd9.zip
dev-python/nototools: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/nototools/Manifest2
-rw-r--r--dev-python/nototools/nototools-0.2.17.ebuild9
2 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/nototools/Manifest b/dev-python/nototools/Manifest
index 84a1cd5125b6..8a2f1f21963b 100644
--- a/dev-python/nototools/Manifest
+++ b/dev-python/nototools/Manifest
@@ -1 +1 @@
-DIST nototools-0.2.17.tar.gz 9743805 BLAKE2B ba601b4c9c4df7fc264dd88c60e50c1db08c21bc07f3ab408f91f445a801bd96ed193e5f9cb320378f6411027b1be004d718233d531bb2ec600badfaffd2d876 SHA512 a5b733c47ce61f6cb18f9772e8fee04f8ee2a3d834afa3f71a5f1c8110124224b9d325db75976104dd880b7c0538568574b2e497faa8f4d5541451e9c3e40cd3
+DIST notofonttools-0.2.17.tar.gz 9743805 BLAKE2B ba601b4c9c4df7fc264dd88c60e50c1db08c21bc07f3ab408f91f445a801bd96ed193e5f9cb320378f6411027b1be004d718233d531bb2ec600badfaffd2d876 SHA512 a5b733c47ce61f6cb18f9772e8fee04f8ee2a3d834afa3f71a5f1c8110124224b9d325db75976104dd880b7c0538568574b2e497faa8f4d5541451e9c3e40cd3
diff --git a/dev-python/nototools/nototools-0.2.17.ebuild b/dev-python/nototools/nototools-0.2.17.ebuild
index fa3b4edf3efd..52d07ca45e26 100644
--- a/dev-python/nototools/nototools-0.2.17.ebuild
+++ b/dev-python/nototools/nototools-0.2.17.ebuild
@@ -3,16 +3,13 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
+PYPI_PN="notofonttools"
-inherit distutils-r1
-
-MY_PN="notofonttools"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="Noto fonts support tools and scripts plus web site generation"
HOMEPAGE="https://github.com/googlefonts/nototools"
#SRC_URI="https://github.com/googlefonts/nototools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 OFL-1.1"
SLOT="0"
@@ -27,8 +24,6 @@ RDEPEND="
>=dev-python/pyclipper-1.2.1[${PYTHON_USEDEP}]
"
-S="${WORKDIR}/${MY_P}"
-
# Some tests weren't ported to python3 yet and lots of failures
RESTRICT="test"