mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/pypiserver: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Minimal PyPI server"
|
||||
HOMEPAGE="https://github.com/pypiserver/pypiserver"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-git[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.3[${PYTHON_USEDEP}]
|
||||
dev-python/webtest[${PYTHON_USEDEP}]
|
||||
!alpha? ( !hppa? ( !ia64? (
|
||||
dev-python/twine[${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
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# 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 ~ia64 ~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
|
||||
}
|
||||
Reference in New Issue
Block a user