dev-python/python-ctags: add Python 3.8 support, add slot operator
authorLouis Sautier <sbraz@gentoo.org>
Wed, 11 Mar 2020 13:28:10 +0000 (14:28 +0100)
committerLouis Sautier <sbraz@gentoo.org>
Wed, 11 Mar 2020 17:12:45 +0000 (18:12 +0100)
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
dev-python/python-ctags/python-ctags-1.3.0-r1.ebuild [moved from dev-python/python-ctags/python-ctags-1.3.0.ebuild with 73% similarity]

similarity index 73%
rename from dev-python/python-ctags/python-ctags-1.3.0.ebuild
rename to dev-python/python-ctags/python-ctags-1.3.0-r1.ebuild
index b7aa5a9ff131a616cbaa84eb4aa907e4fce91a2a..9a1bda48341be7b4e1d1642d4e1aff768256b527 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
 
 inherit distutils-r1
 
@@ -11,16 +11,12 @@ MY_PN="${PN}3"
 DESCRIPTION="Exuberant Ctags indexing python bindings"
 HOMEPAGE="https://github.com/jonashaag/python-ctags3"
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="dev-util/ctags"
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
+RDEPEND="dev-util/ctags:="
 
-python_test() {
-       esetup.py test
-}
+distutils_enable_tests setup.py