summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:59 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:51 +0100
commitfb9d3ba78dd6aed72f99f2d12574ab290bebe791 (patch)
treece6f6603c721dab7e25d0730e03ed8de7870e67d
parentdev-python/tappy: Use pypi.eclass (diff)
downloadgentoo-fb9d3ba78dd6aed72f99f2d12574ab290bebe791.tar.gz
gentoo-fb9d3ba78dd6aed72f99f2d12574ab290bebe791.tar.bz2
gentoo-fb9d3ba78dd6aed72f99f2d12574ab290bebe791.zip
dev-python/unidecode: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/unidecode/unidecode-1.3.6.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/unidecode/unidecode-1.3.6.ebuild b/dev-python/unidecode/unidecode-1.3.6.ebuild
index 5b3cb51aed5f..71369f333c1c 100644
--- a/dev-python/unidecode/unidecode-1.3.6.ebuild
+++ b/dev-python/unidecode/unidecode-1.3.6.ebuild
@@ -4,15 +4,14 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=Unidecode-${PV}
DESCRIPTION="Module providing ASCII transliterations of Unicode text"
HOMEPAGE="https://pypi.org/project/Unidecode/"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2+"
SLOT="0"