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/line_profiler/, dev-python/line_profiler/files/
Date: Fri, 24 Sep 2021 20:05:19
Message-Id: 1632513908.2f73d00c81ca8dcc2ca6ca3b8f2d5b1e5a775cb5.mgorny@gentoo
1 commit: 2f73d00c81ca8dcc2ca6ca3b8f2d5b1e5a775cb5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 24 19:36:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 24 20:05:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f73d00c
7
8 dev-python/line_profiler: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/line_profiler/Manifest | 4 --
13 .../files/line_profiler-3.0.2-python3_9.patch | 35 ---------------
14 .../line_profiler/line_profiler-3.0.2.ebuild | 47 --------------------
15 .../line_profiler/line_profiler-3.2.1.ebuild | 50 ----------------------
16 .../line_profiler/line_profiler-3.2.2.ebuild | 49 ---------------------
17 .../line_profiler/line_profiler-3.2.5.ebuild | 49 ---------------------
18 6 files changed, 234 deletions(-)
19
20 diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest
21 index b00ea8ac97d..d46f090d489 100644
22 --- a/dev-python/line_profiler/Manifest
23 +++ b/dev-python/line_profiler/Manifest
24 @@ -1,5 +1 @@
25 -DIST line_profiler-3.0.2.tar.gz 45185 BLAKE2B 04e617cc7b6c9686192281ab1cdfdef2cfc6ce3c7aa6b9962ed2369620618af8835b93bafe89f8d1288b45d4120d71f728ec577d5c5d035699c2d7a49d6be7c1 SHA512 9a5d1821c02fc063081854ba98a17eca21af65d5aecf4ce32c67806d31bf0c936291a30409845ce6f94211cdaaaf0859ab5e2b437e1a086fd4f60fc2a0fd2742
26 -DIST line_profiler-3.2.1.gh.tar.gz 54639 BLAKE2B 8840ac41397aa5d5c0cb94dec5f673a021a9bad18a7d67d73a2d90bf59745c5e35f205d67d28edd3ceade075320c6fe00426d5cf536b9b2953fbbf90539a5e9a SHA512 6e4e0fcb44df6a4eeafa66e8254e511ef0a0c616e9c2bb4bac6bc29df5efa1849f9e75e998770ec6fbe62916a22b17465cdc6eeee6c61ffa52658a9bdb773490
27 -DIST line_profiler-3.2.2.gh.tar.gz 50780 BLAKE2B 79c5f7f73adaf940e34f96ef799faf08e7a6218cd9346dc3aa86211d04f0cdfe309de23d11f43292aaca121e78df27d0d07ec3efd129e1cc6778b6f8ae83cbbf SHA512 a7279db406adfdae08d375fa18869fdc2276fe360ffb791aa65b13a028470504cd45acfbaa7ccb1c44fb1a5622d9400c5a889f13230514b9d392f09b439af0fd
28 -DIST line_profiler-3.2.5.gh.tar.gz 50934 BLAKE2B 2124fcb5cba9b0eebe81da6f966eb12e17f1a44db8beddab6903dc7ec79441cfe1d207786083f96100e2394cc2f0274460353d7aa6ce75a6f301500332acbb47 SHA512 ee72df835b55a26c0cd150356da19f8051013e5ffc1a18a31899c9da06f40e97175368204dc23ed21722a237612c1089cb18628715151ab07ba5827e460befeb
29 DIST line_profiler-3.3.0.gh.tar.gz 52791 BLAKE2B e3499f5274045d158620fa890df6e725a99c3df019bb4515434213d2c60d52d400d7a7dfce64b153422722ea388f73318818485c9747e6eace2d81c457f93a7f SHA512 37680c55a551c73aed7a3ee2333c523f0617e01cda6db98060f15fe36990c8c8bc08bd5848e569f269bf11590776290ee0980046cce745df8e54268d7991559b
30
31 diff --git a/dev-python/line_profiler/files/line_profiler-3.0.2-python3_9.patch b/dev-python/line_profiler/files/line_profiler-3.0.2-python3_9.patch
32 deleted file mode 100644
33 index 74b0677bc70..00000000000
34 --- a/dev-python/line_profiler/files/line_profiler-3.0.2-python3_9.patch
35 +++ /dev/null
36 @@ -1,35 +0,0 @@
37 -From f40a6e102d3c4808155af601ddba7733e597e604 Mon Sep 17 00:00:00 2001
38 -From: Stefano Rivera <stefano@×××××××××.net>
39 -Date: Thu, 15 Oct 2020 22:44:50 -0700
40 -Subject: [PATCH] Python 3.9 dropped gettimeofday configure checks
41 -
42 -Upstream status: Accepted [https://github.com/pyutils/line_profiler/pull/31}
43 -Signed-off-by: Jakov Smolic <jakov.smolic@×××××××.hr>
44 -
45 -diff --git a/line_profiler/timers.c b/line_profiler/timers.c
46 -index ae01060..e8ee6c6 100644
47 ---- a/line_profiler/timers.c
48 -+++ b/line_profiler/timers.c
49 -@@ -32,10 +32,6 @@ hpTimerUnit(void)
50 -
51 - #else /* !MS_WINDOWS */
52 -
53 --#ifndef HAVE_GETTIMEOFDAY
54 --#error "This module requires gettimeofday() on non-Windows platforms!"
55 --#endif
56 --
57 - #if (defined(PYOS_OS2) && defined(PYCC_GCC))
58 - #include <sys/time.h>
59 - #else
60 -@@ -48,11 +44,7 @@ hpTimer(void)
61 - {
62 - struct timeval tv;
63 - PY_LONG_LONG ret;
64 --#ifdef GETTIMEOFDAY_NO_TZ
65 -- gettimeofday(&tv);
66 --#else
67 - gettimeofday(&tv, (struct timezone *)NULL);
68 --#endif
69 - ret = tv.tv_sec;
70 - ret = ret * 1000000 + tv.tv_usec;
71 - return ret;
72
73 diff --git a/dev-python/line_profiler/line_profiler-3.0.2.ebuild b/dev-python/line_profiler/line_profiler-3.0.2.ebuild
74 deleted file mode 100644
75 index 0494a913825..00000000000
76 --- a/dev-python/line_profiler/line_profiler-3.0.2.ebuild
77 +++ /dev/null
78 @@ -1,47 +0,0 @@
79 -# Copyright 1999-2020 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=7
83 -
84 -PYTHON_COMPAT=( python3_{7..9} )
85 -
86 -DISTUTILS_USE_SETUPTOOLS=rdepend
87 -
88 -inherit distutils-r1
89 -
90 -DESCRIPTION="Line-by-line profiler"
91 -HOMEPAGE="https://github.com/pyutils/line_profiler"
92 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
93 -
94 -SLOT="0"
95 -LICENSE="BSD"
96 -KEYWORDS="~amd64 ~x86"
97 -
98 -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]
99 - dev-python/scikit-build[${PYTHON_USEDEP}]"
100 -
101 -RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
102 -
103 -DEPEND="test? (
104 - dev-python/coverage[${PYTHON_USEDEP}]
105 - dev-python/ubelt[${PYTHON_USEDEP}] )"
106 -
107 -PATCHES=(
108 - "${FILESDIR}"/${P}-python3_9.patch
109 -)
110 -
111 -distutils_enable_tests pytest
112 -
113 -python_test() {
114 - # tests fail if not already installed
115 - # to fix this, source files should be in PYTHONPATH
116 - # also, tests call kernprof, so we have to move that
117 - # back to the source files and make it executable
118 - cp "${BUILD_DIR}/lib/kernprof.py" "${WORKDIR}/${P}/kernprof" || die
119 - chmod +x "${WORKDIR}/${P}/kernprof" || die
120 - cp "${BUILD_DIR}/lib/${PN}" -r "${WORKDIR}/${P}" || die
121 - PYTHONPATH="${WORKDIR}/${P}"
122 - PATH="${PATH}:${WORKDIR}/${P}"
123 -
124 - pytest -vv || die "Tests fail with ${EPYTHON}"
125 -}
126
127 diff --git a/dev-python/line_profiler/line_profiler-3.2.1.ebuild b/dev-python/line_profiler/line_profiler-3.2.1.ebuild
128 deleted file mode 100644
129 index e2044a220db..00000000000
130 --- a/dev-python/line_profiler/line_profiler-3.2.1.ebuild
131 +++ /dev/null
132 @@ -1,50 +0,0 @@
133 -# Copyright 1999-2021 Gentoo Authors
134 -# Distributed under the terms of the GNU General Public License v2
135 -
136 -EAPI=7
137 -
138 -PYTHON_COMPAT=( python3_{7..9} )
139 -DISTUTILS_USE_SETUPTOOLS=rdepend
140 -# force it to match scikit-build
141 -CMAKE_MAKEFILE_GENERATOR=ninja
142 -
143 -inherit cmake distutils-r1
144 -
145 -DESCRIPTION="Line-by-line profiler"
146 -HOMEPAGE="https://github.com/pyutils/line_profiler/"
147 -SRC_URI="
148 - https://github.com/pyutils/line_profiler/archive/${PV}.tar.gz
149 - -> ${P}.gh.tar.gz"
150 -
151 -SLOT="0"
152 -LICENSE="BSD"
153 -KEYWORDS="~amd64 ~x86"
154 -
155 -RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
156 -# technically, the package claims to support non-scikit-build build
157 -# but it's clearly unmaintained and broken at the moment
158 -BDEPEND="
159 - dev-python/cython[${PYTHON_USEDEP}]
160 - dev-python/scikit-build[${PYTHON_USEDEP}]
161 - test? (
162 - dev-python/coverage[${PYTHON_USEDEP}]
163 - dev-python/ubelt[${PYTHON_USEDEP}]
164 - )"
165 -
166 -distutils_enable_tests --install pytest
167 -
168 -src_prepare() {
169 - cmake_src_prepare
170 - distutils-r1_src_prepare
171 -}
172 -
173 -python_test() {
174 - distutils_install_for_testing
175 - cd tests || die
176 - epytest
177 -}
178 -
179 -python_install() {
180 - distutils-r1_python_install
181 - python_optimize
182 -}
183
184 diff --git a/dev-python/line_profiler/line_profiler-3.2.2.ebuild b/dev-python/line_profiler/line_profiler-3.2.2.ebuild
185 deleted file mode 100644
186 index d9613ca310d..00000000000
187 --- a/dev-python/line_profiler/line_profiler-3.2.2.ebuild
188 +++ /dev/null
189 @@ -1,49 +0,0 @@
190 -# Copyright 1999-2021 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=7
194 -
195 -PYTHON_COMPAT=( python3_{7..9} )
196 -# force it to match scikit-build
197 -CMAKE_MAKEFILE_GENERATOR=ninja
198 -
199 -inherit cmake distutils-r1
200 -
201 -DESCRIPTION="Line-by-line profiler"
202 -HOMEPAGE="https://github.com/pyutils/line_profiler/"
203 -SRC_URI="
204 - https://github.com/pyutils/line_profiler/archive/${PV}.tar.gz
205 - -> ${P}.gh.tar.gz"
206 -
207 -SLOT="0"
208 -LICENSE="BSD"
209 -KEYWORDS="~amd64 ~x86"
210 -
211 -RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
212 -# technically, the package claims to support non-scikit-build build
213 -# but it's clearly unmaintained and broken at the moment
214 -BDEPEND="
215 - dev-python/cython[${PYTHON_USEDEP}]
216 - dev-python/scikit-build[${PYTHON_USEDEP}]
217 - test? (
218 - dev-python/coverage[${PYTHON_USEDEP}]
219 - dev-python/ubelt[${PYTHON_USEDEP}]
220 - )"
221 -
222 -distutils_enable_tests --install pytest
223 -
224 -src_prepare() {
225 - cmake_src_prepare
226 - distutils-r1_src_prepare
227 -}
228 -
229 -python_test() {
230 - distutils_install_for_testing
231 - cd tests || die
232 - epytest
233 -}
234 -
235 -python_install() {
236 - distutils-r1_python_install
237 - python_optimize
238 -}
239
240 diff --git a/dev-python/line_profiler/line_profiler-3.2.5.ebuild b/dev-python/line_profiler/line_profiler-3.2.5.ebuild
241 deleted file mode 100644
242 index d9613ca310d..00000000000
243 --- a/dev-python/line_profiler/line_profiler-3.2.5.ebuild
244 +++ /dev/null
245 @@ -1,49 +0,0 @@
246 -# Copyright 1999-2021 Gentoo Authors
247 -# Distributed under the terms of the GNU General Public License v2
248 -
249 -EAPI=7
250 -
251 -PYTHON_COMPAT=( python3_{7..9} )
252 -# force it to match scikit-build
253 -CMAKE_MAKEFILE_GENERATOR=ninja
254 -
255 -inherit cmake distutils-r1
256 -
257 -DESCRIPTION="Line-by-line profiler"
258 -HOMEPAGE="https://github.com/pyutils/line_profiler/"
259 -SRC_URI="
260 - https://github.com/pyutils/line_profiler/archive/${PV}.tar.gz
261 - -> ${P}.gh.tar.gz"
262 -
263 -SLOT="0"
264 -LICENSE="BSD"
265 -KEYWORDS="~amd64 ~x86"
266 -
267 -RDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
268 -# technically, the package claims to support non-scikit-build build
269 -# but it's clearly unmaintained and broken at the moment
270 -BDEPEND="
271 - dev-python/cython[${PYTHON_USEDEP}]
272 - dev-python/scikit-build[${PYTHON_USEDEP}]
273 - test? (
274 - dev-python/coverage[${PYTHON_USEDEP}]
275 - dev-python/ubelt[${PYTHON_USEDEP}]
276 - )"
277 -
278 -distutils_enable_tests --install pytest
279 -
280 -src_prepare() {
281 - cmake_src_prepare
282 - distutils-r1_src_prepare
283 -}
284 -
285 -python_test() {
286 - distutils_install_for_testing
287 - cd tests || die
288 - epytest
289 -}
290 -
291 -python_install() {
292 - distutils-r1_python_install
293 - python_optimize
294 -}