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/flit/, dev-python/flit/files/
Date: Sun, 17 Oct 2021 08:23:40
Message-Id: 1634458998.2612e1e9d4ccdbbdaff69ef5d8327c6ff25bd3f7.mgorny@gentoo
1 commit: 2612e1e9d4ccdbbdaff69ef5d8327c6ff25bd3f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 08:17:33 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 08:23:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2612e1e9
7
8 dev-python/flit: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flit/Manifest | 3 --
13 dev-python/flit/files/flit-2.1.0-tests.patch | 8 -----
14 dev-python/flit/flit-2.1.0.ebuild | 54 ----------------------------
15 dev-python/flit/flit-3.2.0.ebuild | 48 -------------------------
16 dev-python/flit/flit-3.3.0-r1.ebuild | 42 ----------------------
17 5 files changed, 155 deletions(-)
18
19 diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
20 index a54854c5e95..322b5f73e52 100644
21 --- a/dev-python/flit/Manifest
22 +++ b/dev-python/flit/Manifest
23 @@ -1,4 +1 @@
24 -DIST flit-2.1.0.tar.gz 106459 BLAKE2B db51d8cc119ae8aa5f8d0ac1655cd29390065567391cbdf06ca7dbb98a79e96a6d8f318273c2f9a58aaf549090a903360701a844ac071d15304a21ea54052a91 SHA512 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55
25 -DIST flit-3.2.0.tar.gz 115192 BLAKE2B dda4b9f5b56b9868d737516841d7fc49c0e97ef8a71f9f0628112f68c3dadae89a87aef56cebfe8ec3762af5970d206fe462add146d52b3893fb8852fd7f9625 SHA512 1db7c4118fe1d70d1e318db3bc282747d6cc3f3b626ad68420fa056e585caad9ff0a3f230e17c919ea260ddeb6330effc4bbed8b30d11ed7b27e78d9d7af0445
26 -DIST flit-3.3.0.tar.gz 117809 BLAKE2B 8ad74f70406e41b35b44886b145b52d83fc30d0a1395bf711807da2ae3974ae8606113e4bcd556694854c48c8c01c3c03b4a1021c7cc3e33cce0e99a5abbb9ea SHA512 904889298aab581640e8323fd68c83d753ea97af0ed1b8f438f192d84d09ced83718440a03d23864885fcf966de9665c3046f0f3a1b1d4170b2decf8430ff006
27 DIST flit-3.4.0.tar.gz 120418 BLAKE2B e99eb67daa9a1d8e738ff9b917117edaf7372bbe267163f8af64967e43c3bed94893849e9752d36d3965e70c798dd3fb3b454131cee2d34697cc389f11aaea69 SHA512 18f1d1cb86508e76b4e37e6c1ca2c414400c86e9163bcc52fd3358220e5b4362da4001da7ce427926c62ad67ee86799ea8d08e858e5e17230941c529b9995ce5
28
29 diff --git a/dev-python/flit/files/flit-2.1.0-tests.patch b/dev-python/flit/files/flit-2.1.0-tests.patch
30 deleted file mode 100644
31 index 04cf9839dbc..00000000000
32 --- a/dev-python/flit/files/flit-2.1.0-tests.patch
33 +++ /dev/null
34 @@ -1,8 +0,0 @@
35 -diff --git a/tests/test_inifile.py b/tests/test_inifile.py
36 -index 150fa47..53ce597 100644
37 ---- a/tests/test_inifile.py
38 -+++ b/tests/test_inifile.py
39 -@@ -7,2 +7,3 @@ samples_dir = Path(__file__).parent / 'samples'
40 -
41 -+@×××××××××××.skip("Needs internet access")
42 - def test_invalid_classifier():
43
44 diff --git a/dev-python/flit/flit-2.1.0.ebuild b/dev-python/flit/flit-2.1.0.ebuild
45 deleted file mode 100644
46 index 4dd0cc17172..00000000000
47 --- a/dev-python/flit/flit-2.1.0.ebuild
48 +++ /dev/null
49 @@ -1,54 +0,0 @@
50 -# Copyright 2019-2021 Gentoo Authors
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=7
54 -
55 -PYTHON_COMPAT=( python3_{7,8} pypy3 )
56 -inherit distutils-r1
57 -
58 -DESCRIPTION="Simplified packaging of Python modules"
59 -HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
60 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61 -
62 -LICENSE="BSD"
63 -SLOT="0"
64 -KEYWORDS="~amd64 ~x86"
65 -IUSE="test"
66 -
67 -RDEPEND="
68 - <dev-python/flit_core-3.0.0[${PYTHON_USEDEP}]
69 - dev-python/intreehooks[${PYTHON_USEDEP}]
70 - dev-python/requests[${PYTHON_USEDEP}]
71 - dev-python/requests_download[${PYTHON_USEDEP}]
72 - dev-python/toml[${PYTHON_USEDEP}]
73 -"
74 -BDEPEND="${RDEPEND}
75 - sys-apps/grep
76 - sys-apps/findutils
77 - test? (
78 - >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
79 - dev-python/responses[${PYTHON_USEDEP}]
80 - dev-python/testpath[${PYTHON_USEDEP}]
81 - )
82 -"
83 -
84 -PATCHES=(
85 - "${FILESDIR}/flit-2.1.0-tests.patch"
86 -)
87 -
88 -distutils_enable_tests pytest
89 -distutils_enable_sphinx doc \
90 - dev-python/sphinxcontrib-github-alt \
91 - dev-python/pygments-github-lexers \
92 -
93 -python_prepare_all() {
94 - printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
95 - "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
96 -
97 - # use toml instead of depricated pytoml
98 - grep -r -l -Z -F 'pytoml' | xargs -0 \
99 - sed -e 's:import pytoml as toml:import toml:' \
100 - -e 's:pytoml:toml:' -i || die
101 -
102 - distutils-r1_python_prepare_all
103 -}
104
105 diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild
106 deleted file mode 100644
107 index 289ae980771..00000000000
108 --- a/dev-python/flit/flit-3.2.0.ebuild
109 +++ /dev/null
110 @@ -1,48 +0,0 @@
111 -# Copyright 2019-2021 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
117 -inherit distutils-r1
118 -
119 -DESCRIPTION="Simplified packaging of Python modules"
120 -HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
121 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
122 -
123 -LICENSE="BSD"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~x86"
126 -IUSE="test"
127 -
128 -RDEPEND="
129 - >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
130 - dev-python/intreehooks[${PYTHON_USEDEP}]
131 - dev-python/requests[${PYTHON_USEDEP}]
132 - dev-python/requests_download[${PYTHON_USEDEP}]
133 - dev-python/toml[${PYTHON_USEDEP}]
134 -"
135 -BDEPEND="${RDEPEND}
136 - sys-apps/grep
137 - sys-apps/findutils
138 - test? (
139 - dev-python/responses[${PYTHON_USEDEP}]
140 - dev-python/testpath[${PYTHON_USEDEP}]
141 - )
142 -"
143 -
144 -PATCHES=(
145 - "${FILESDIR}/flit-3.2.0-tests.patch"
146 -)
147 -
148 -distutils_enable_tests pytest
149 -distutils_enable_sphinx doc \
150 - dev-python/sphinxcontrib-github-alt \
151 - dev-python/pygments-github-lexers \
152 -
153 -python_prepare_all() {
154 - printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
155 - "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
156 -
157 - distutils-r1_python_prepare_all
158 -}
159
160 diff --git a/dev-python/flit/flit-3.3.0-r1.ebuild b/dev-python/flit/flit-3.3.0-r1.ebuild
161 deleted file mode 100644
162 index d5480782852..00000000000
163 --- a/dev-python/flit/flit-3.3.0-r1.ebuild
164 +++ /dev/null
165 @@ -1,42 +0,0 @@
166 -# Copyright 2019-2021 Gentoo Authors
167 -# Distributed under the terms of the GNU General Public License v2
168 -
169 -EAPI=8
170 -
171 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml
172 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
173 -inherit distutils-r1
174 -
175 -DESCRIPTION="Simplified packaging of Python modules"
176 -HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
177 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
178 -
179 -LICENSE="BSD"
180 -SLOT="0"
181 -KEYWORDS="~amd64 ~x86"
182 -
183 -RDEPEND="
184 - dev-python/docutils[${PYTHON_USEDEP}]
185 - >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
186 - dev-python/intreehooks[${PYTHON_USEDEP}]
187 - dev-python/requests[${PYTHON_USEDEP}]
188 - dev-python/requests_download[${PYTHON_USEDEP}]
189 - dev-python/toml[${PYTHON_USEDEP}]
190 -"
191 -BDEPEND="${RDEPEND}
192 - sys-apps/grep
193 - sys-apps/findutils
194 - test? (
195 - dev-python/responses[${PYTHON_USEDEP}]
196 - dev-python/testpath[${PYTHON_USEDEP}]
197 - )
198 -"
199 -
200 -PATCHES=(
201 - "${FILESDIR}/flit-3.2.0-tests.patch"
202 -)
203 -
204 -distutils_enable_tests pytest
205 -distutils_enable_sphinx doc \
206 - dev-python/sphinxcontrib-github-alt \
207 - dev-python/pygments-github-lexers \