summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-10 19:34:42 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-10 19:38:50 +0200
commitf24e442b7bdc7316c8973f28103be7c82cebd7f5 (patch)
tree0acbc736a6fd8d7b5ce423789a00beda79943f68 /dev-python/unidecode
parentsys-auth/passwdqc: point correct security directory (diff)
downloadgentoo-f24e442b7bdc7316c8973f28103be7c82cebd7f5.tar.gz
gentoo-f24e442b7bdc7316c8973f28103be7c82cebd7f5.tar.bz2
gentoo-f24e442b7bdc7316c8973f28103be7c82cebd7f5.zip
dev-python/unidecode: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/unidecode')
-rw-r--r--dev-python/unidecode/unidecode-1.1.1.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/dev-python/unidecode/unidecode-1.1.1.ebuild b/dev-python/unidecode/unidecode-1.1.1.ebuild
index d64032f5db3b..beafe7f03beb 100644
--- a/dev-python/unidecode/unidecode-1.1.1.ebuild
+++ b/dev-python/unidecode/unidecode-1.1.1.ebuild
@@ -3,23 +3,20 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
PYTHON_REQ_USE="wide-unicode(+)"
DISTUTILS_USE_SETUPTOOLS="rdepend"
-MY_PN=Unidecode
-MY_P=${MY_PN}-${PV}
-
inherit distutils-r1
+MY_P=Unidecode-${PV}
DESCRIPTION="Module providing ASCII transliterations of Unicode text"
HOMEPAGE="https://pypi.org/project/Unidecode/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
-S="${WORKDIR}/${MY_P}"
-
distutils_enable_tests setup.py