summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-12-04 15:17:40 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-12-04 16:20:57 -0800
commit885771ca8dedd5a2e9e737b349c3b6f697d66fe8 (patch)
tree27c2a5e8aeb9de34bb26bdc5df877d013890c82c /dev-python/pypiserver
parentdev-python/twine-1.15.0: Add py38 (diff)
downloadgentoo-885771ca8dedd5a2e9e737b349c3b6f697d66fe8.tar.gz
gentoo-885771ca8dedd5a2e9e737b349c3b6f697d66fe8.tar.bz2
gentoo-885771ca8dedd5a2e9e737b349c3b6f697d66fe8.zip
dev-python/pypiserver-1.3.1-r1: revbump, add py38, remove unneeded tox dep
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/pypiserver')
-rw-r--r--dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild (renamed from dev-python/pypiserver/pypiserver-1.3.1.ebuild)14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-python/pypiserver/pypiserver-1.3.1.ebuild b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild
index a743d8143beb..66f4301a9b69 100644
--- a/dev-python/pypiserver/pypiserver-1.3.1.ebuild
+++ b/dev-python/pypiserver/pypiserver-1.3.1-r1.ebuild
@@ -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
+}