diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-python/pypiserver | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-python/pypiserver')
-rw-r--r-- | dev-python/pypiserver/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypiserver/pypiserver-1.4.2.ebuild | 35 |
2 files changed, 23 insertions, 14 deletions
diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index af43d06f788a..f41e1fa6b4f8 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,3 +1,3 @@ DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b -EBUILD pypiserver-1.4.2.ebuild 1193 BLAKE2B fd096710645af01ac64f83de9dd4d5cb59ea407a3fe0eb5a8d4f1b18a77587e6af422cfbd9c0e5706a04879828ac9474ee5f49bc02275544686787df41dc8add SHA512 d62d41f51e96bc629deede044a6d0b6b31034772ad6da0bec1b067cf25a039f318bbcb9a119acad74601e2dfe9d5f5c00c5df10fc0732f48ef9c5e89b9df3e67 +EBUILD pypiserver-1.4.2.ebuild 1445 BLAKE2B 9ca17476b2f80f67cd3fb35d599df5362aa9b81967c8f03b5d6cb3cbfd84a1535e4b61d7bd90076cc995463f4e2c05680d9cecf73dd7eaac473fe00705de0451 SHA512 2027f106d9c1c8a4003880087af98cd78d91ffa2e534e338c3045acded89c3d3ed6c1f66dc49e25c26b4b43f272d9fa2463c6c7717c649cd6131eaf0b486a3b5 MISC metadata.xml 399 BLAKE2B e8726c9c4a494a64dd1490aa88f8bbca6536635af045364307d057d5dfa4762a1b0d59d3eacf7d84c9002ac38516eb7d2228ebd872db762a669bd6015139a4ec SHA512 a3d90eb11fc5bb2c78e53a4d64cffaf213a445c1677939c46fb400e01f4e74d1f206df2259ab348b61d27e3a9b3f03e94a49485be948b2e4106ba254154c7ada diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild index d33d2bc3bcf9..03081fc7cba8 100644 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild +++ b/dev-python/pypiserver/pypiserver-1.4.2.ebuild @@ -24,24 +24,33 @@ BDEPEND=" ${RDEPEND} dev-python/passlib[${PYTHON_USEDEP}] >=dev-python/pytest-2.3[${PYTHON_USEDEP}] - dev-python/twine[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/twine[${PYTHON_USEDEP}] + ) ) ) )" DOCS=( README.rst ) distutils_enable_tests pytest -src_prepare() { - sed -i -e "/tox/d" setup.py || die - - # https://github.com/pypiserver/pypiserver/issues/312 - sed -e 's:test_root_count:_&:' \ - -i tests/test_app.py || die - sed -e 's:test_hash_algos:_&:' \ - -e 's:test_pipInstall_openOk:_&:' \ - -e 's:test_pipInstall_authedOk:_&:' \ - -i tests/test_server.py || die - - distutils-r1_src_prepare +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + ) + + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_register_authed_ok + tests/test_server.py::test_twine_register_open + tests/test_server.py::test_twine_upload_authed + tests/test_server.py::test_twine_upload_open + tests/test_server.py::test_twine_upload_partial_authed + ) + fi + + epytest } |