diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-02 09:58:43 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-02 10:26:59 +0200 |
commit | 728daace33307d1d9d8bd345626cc852183e7c54 (patch) | |
tree | 44cfd2eecf26b76a1c205c3e9d1dd82c60695ec7 /dev-python/pypiserver | |
parent | dev-python/python-email-validator: Bump to 1.2.1 (diff) | |
download | gentoo-728daace33307d1d9d8bd345626cc852183e7c54.tar.gz gentoo-728daace33307d1d9d8bd345626cc852183e7c54.tar.bz2 gentoo-728daace33307d1d9d8bd345626cc852183e7c54.zip |
dev-python/pypiserver: Bump to 1.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypiserver')
-rw-r--r-- | dev-python/pypiserver/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pypiserver/pypiserver-1.5.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index bb98457d43ed..97fc380b6622 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b +DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611 diff --git a/dev-python/pypiserver/pypiserver-1.5.0.ebuild b/dev-python/pypiserver/pypiserver-1.5.0.ebuild new file mode 100644 index 000000000000..e7d898a095cf --- /dev/null +++ b/dev-python/pypiserver/pypiserver-1.5.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest + +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 + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + ) + + epytest tests +} |