Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypiserver/
Date: Tue, 07 Jun 2022 07:15:11
Message-Id: 1654586100.f2a7c1c12001160853a098be4e647b7f899bb681.mgorny@gentoo
1 commit: f2a7c1c12001160853a098be4e647b7f899bb681
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 7 07:08:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 7 07:15:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a7c1c1
7
8 dev-python/pypiserver: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pypiserver/Manifest | 1 -
13 dev-python/pypiserver/pypiserver-1.4.2.ebuild | 58 ---------------------------
14 dev-python/pypiserver/pypiserver-1.5.0.ebuild | 57 --------------------------
15 3 files changed, 116 deletions(-)
16
17 diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest
18 index 97fc380b6622..f915562aa4ae 100644
19 --- a/dev-python/pypiserver/Manifest
20 +++ b/dev-python/pypiserver/Manifest
21 @@ -1,2 +1 @@
22 -DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b
23 DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611
24
25 diff --git a/dev-python/pypiserver/pypiserver-1.4.2.ebuild b/dev-python/pypiserver/pypiserver-1.4.2.ebuild
26 deleted file mode 100644
27 index 55e9043f8868..000000000000
28 --- a/dev-python/pypiserver/pypiserver-1.4.2.ebuild
29 +++ /dev/null
30 @@ -1,58 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="Minimal PyPI server"
40 -HOMEPAGE="https://github.com/pypiserver/pypiserver"
41 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="ZLIB MIT"
44 -SLOT="0"
45 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
46 -IUSE="test"
47 -
48 -RDEPEND="
49 - dev-python/pip[${PYTHON_USEDEP}]
50 - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]"
51 -BDEPEND="
52 - dev-python/setuptools-git[${PYTHON_USEDEP}]
53 - test? (
54 - ${RDEPEND}
55 - dev-python/passlib[${PYTHON_USEDEP}]
56 - >=dev-python/pytest-2.3[${PYTHON_USEDEP}]
57 - dev-python/webtest[${PYTHON_USEDEP}]
58 - !alpha? ( !hppa? ( !ia64? (
59 - dev-python/twine[${PYTHON_USEDEP}]
60 - ) ) )
61 - )"
62 -
63 -DOCS=( README.rst )
64 -
65 -distutils_enable_tests pytest
66 -
67 -python_test() {
68 - local EPYTEST_DESELECT=(
69 - # Internet
70 - tests/test_server.py::test_hash_algos
71 - tests/test_server.py::test_pipInstall_openOk
72 - tests/test_server.py::test_pipInstall_authedOk
73 - # TODO
74 - tests/test_app.py::test_root_count
75 - )
76 -
77 - if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then
78 - EPYTEST_DESELECT+=(
79 - tests/test_server.py::test_twine_register_authed_ok
80 - tests/test_server.py::test_twine_register_open
81 - tests/test_server.py::test_twine_upload_authed
82 - tests/test_server.py::test_twine_upload_open
83 - tests/test_server.py::test_twine_upload_partial_authed
84 - )
85 - fi
86 -
87 - epytest
88 -}
89
90 diff --git a/dev-python/pypiserver/pypiserver-1.5.0.ebuild b/dev-python/pypiserver/pypiserver-1.5.0.ebuild
91 deleted file mode 100644
92 index e6ba0228e52a..000000000000
93 --- a/dev-python/pypiserver/pypiserver-1.5.0.ebuild
94 +++ /dev/null
95 @@ -1,57 +0,0 @@
96 -# Copyright 1999-2022 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=8
100 -
101 -DISTUTILS_USE_PEP517=setuptools
102 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
103 -
104 -inherit distutils-r1
105 -
106 -DESCRIPTION="Minimal PyPI server"
107 -HOMEPAGE="
108 - https://github.com/pypiserver/pypiserver/
109 - https://pypi.org/project/pypiserver/
110 -"
111 -SRC_URI="
112 - https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz
113 - -> ${P}.gh.tar.gz
114 -"
115 -
116 -LICENSE="ZLIB MIT"
117 -SLOT="0"
118 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
119 -
120 -RDEPEND="
121 - dev-python/pip[${PYTHON_USEDEP}]
122 - >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
123 -"
124 -# NB: many test deps are optional/specific to tests we skip
125 -BDEPEND="
126 - dev-python/setuptools-git[${PYTHON_USEDEP}]
127 - test? (
128 - >=dev-python/passlib-1.6[${PYTHON_USEDEP}]
129 - dev-python/setuptools[${PYTHON_USEDEP}]
130 - dev-python/twine[${PYTHON_USEDEP}]
131 - dev-python/webtest[${PYTHON_USEDEP}]
132 - )
133 -"
134 -
135 -DOCS=( README.rst )
136 -
137 -distutils_enable_tests pytest
138 -
139 -python_test() {
140 - local EPYTEST_DESELECT=(
141 - # Internet
142 - tests/test_server.py::test_hash_algos
143 - tests/test_server.py::test_pipInstall_openOk
144 - tests/test_server.py::test_pipInstall_authedOk
145 - # TODO
146 - tests/test_app.py::test_root_count
147 - tests/test_server.py::test_pip_install_open_succeeds
148 - tests/test_server.py::test_pip_install_authed_succeeds
149 - )
150 -
151 - epytest tests
152 -}