mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/unidecode: add Python 3.7, PyPy3, EAPI=7, fix LICENSE
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
|
||||
|
||||
MY_PN=Unidecode
|
||||
MY_P=${MY_PN}-${PV}
|
||||
@@ -14,13 +14,13 @@ 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"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
|
||||
Reference in New Issue
Block a user