dev-python/pypiserver-1.3.1-r1: revbump, add py38, remove unneeded tox dep
authorPatrick McLean <patrick.mclean@sony.com>
Wed, 4 Dec 2019 23:17:40 +0000 (15:17 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 5 Dec 2019 00:20:57 +0000 (16:20 -0800)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild [moved from dev-python/pypiserver/pypiserver-1.3.1.ebuild with 82% similarity]

similarity index 82%
rename from dev-python/pypiserver/pypiserver-1.3.1.ebuild
rename to dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild
index a743d8143bebfb76b63d37b4acf9eb91c28f8e59..66f4301a9b69d2e6977460603616f29b3517a818 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
 inherit distutils-r1
 
 DESCRIPTION="Minimal PyPI server"
@@ -22,14 +22,10 @@ BDEPEND="${RDEPEND}
        test? (
                dev-python/passlib[${PYTHON_USEDEP}]
                >=dev-python/pytest-2.3[${PYTHON_USEDEP}]
-               dev-python/tox[${PYTHON_USEDEP}]
                dev-python/twine[${PYTHON_USEDEP}]
                dev-python/webtest[${PYTHON_USEDEP}]
        )"
 
-# tests need access to pypi.org
-#RESTRICT="test"
-
 PATCHES=(
        "${FILESDIR}/pypiserver-1.3.1-no-internet.patch"
 )
@@ -37,3 +33,11 @@ PATCHES=(
 DOCS=( README.rst )
 
 distutils_enable_tests pytest
+
+python_prepare_all() {
+       sed -r \
+               -e "s:[\"']tox[\"'](,|$)::" \
+               -i setup.py || die
+
+       distutils-r1_python_prepare_all
+}