Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urlgrabber/files/, dev-python/urlgrabber/, profiles/
Date: Sat, 18 Mar 2023 16:04:45
Message-Id: 1679155470.d2f5cbee1f4ed87c27569c71b5363d52aafd5117.soap@gentoo
1 commit: d2f5cbee1f4ed87c27569c71b5363d52aafd5117
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 16:04:30 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 16:04:30 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f5cbee
7
8 dev-python/urlgrabber: treeclean
9
10 Closes: https://bugs.gentoo.org/588060
11 Closes: https://bugs.gentoo.org/894606
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 dev-python/urlgrabber/Manifest | 1 -
15 .../files/urlgrabber-4.1.0-skip-test_range.patch | 11 ------
16 ...abber-4.1.0-test-mirror-set-thread-daemon.patch | 10 ------
17 dev-python/urlgrabber/metadata.xml | 41 ----------------------
18 dev-python/urlgrabber/urlgrabber-4.1.0.ebuild | 39 --------------------
19 profiles/package.mask | 6 ----
20 6 files changed, 108 deletions(-)
21
22 diff --git a/dev-python/urlgrabber/Manifest b/dev-python/urlgrabber/Manifest
23 deleted file mode 100644
24 index c8317e2f5fb0..000000000000
25 --- a/dev-python/urlgrabber/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST urlgrabber-4.1.0.tar.gz 277537 BLAKE2B 3697cb1d08fe0fa8bc83118e1466d76d1b8aa0375fd895d12f5135850bb5100d1d52b1691b2135a80a4937158c5d362e88777ae9ba58790ad88355f13e679b34 SHA512 43e54656d0ca92f616d49cd90dd6282408d64909848e4bf1c74b3b1eede55ba0c9526d6ea5fa9ae18545b806ef9965130ecf1cb1f5f05d4611db974d3f2aa200
29
30 diff --git a/dev-python/urlgrabber/files/urlgrabber-4.1.0-skip-test_range.patch b/dev-python/urlgrabber/files/urlgrabber-4.1.0-skip-test_range.patch
31 deleted file mode 100644
32 index 548242fc1894..000000000000
33 --- a/dev-python/urlgrabber/files/urlgrabber-4.1.0-skip-test_range.patch
34 +++ /dev/null
35 @@ -1,11 +0,0 @@
36 ---- urlgrabber-urlgrabber-4-1-0/test/test_mirror.py.orig 2020-11-16 06:23:15.874354961 +0100
37 -+++ urlgrabber-urlgrabber-4-1-0/test/test_mirror.py 2020-11-16 06:23:59.674354944 +0100
38 -@@ -329,6 +329,8 @@
39 - self.assertEqual(self.code, 503); del self.code
40 -
41 - def test_range(self):
42 -+ # skip failing test
43 -+ self.skip()
44 - 'test client-side processing of HTTP ranges'
45 - # server does not process ranges
46 - self.reply = 200, b'OK'
47
48 diff --git a/dev-python/urlgrabber/files/urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch b/dev-python/urlgrabber/files/urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch
49 deleted file mode 100644
50 index 6d6e8afa6462..000000000000
51 --- a/dev-python/urlgrabber/files/urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch
52 +++ /dev/null
53 @@ -1,10 +0,0 @@
54 ---- urlgrabber-urlgrabber-4-1-0/test/test_mirror.py.orig 2020-11-16 18:47:43.724337579 +0100
55 -+++ urlgrabber-urlgrabber-4-1-0/test/test_mirror.py 2020-11-16 18:47:57.724337574 +0100
56 -@@ -290,6 +290,7 @@
57 - self.exit = False
58 -
59 - self.thread = threading.Thread(target=server)
60 -+ self.thread.daemon = True
61 - self.thread.start()
62 -
63 - # create grabber and mirror group objects
64
65 diff --git a/dev-python/urlgrabber/metadata.xml b/dev-python/urlgrabber/metadata.xml
66 deleted file mode 100644
67 index 812dc00b5e88..000000000000
68 --- a/dev-python/urlgrabber/metadata.xml
69 +++ /dev/null
70 @@ -1,41 +0,0 @@
71 -<?xml version="1.0" encoding="UTF-8"?>
72 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
73 -<pkgmetadata>
74 - <maintainer type="project">
75 - <email>python@g.o</email>
76 - <name>Python</name>
77 - </maintainer>
78 - <longdescription>
79 - A high-level cross-protocol url-grabber.
80 -
81 - Using urlgrabber, data can be fetched in three basic ways:
82 -
83 - urlgrab(url) copy the file to the local filesystem
84 - urlopen(url) open the remote file and return a file object (like urllib2.urlopen)
85 - urlread(url) return the contents of the file as a string
86 -
87 -
88 - When using these functions (or methods), urlgrabber supports the following
89 - features:
90 -
91 - * identical behavior for http://, ftp://, and file:// urls
92 - * http keepalive - faster downloads of many files by using only a single
93 - connection
94 - * byte ranges - fetch only a portion of the file
95 - * reget - for a urlgrab, resume a partial download
96 - * progress meters - the ability to report download progress automatically,
97 - even when using urlopen!
98 - * throttling - restrict bandwidth usage
99 - * retries - automatically retry a download if it fails. The number of retries
100 - and failure types are configurable.
101 - * authenticated server access for http and ftp
102 - * proxy support - support for authenticated http and ftp proxies
103 - * mirror groups - treat a list of mirrors as a single source, automatically
104 - switching mirrors if there is a failure.
105 - </longdescription>
106 - <stabilize-allarches/>
107 - <upstream>
108 - <remote-id type="pypi">urlgrabber</remote-id>
109 - <remote-id type="github">rpm-software-management/urlgrabber</remote-id>
110 - </upstream>
111 -</pkgmetadata>
112
113 diff --git a/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild b/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild
114 deleted file mode 100644
115 index 08457ee90633..000000000000
116 --- a/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild
117 +++ /dev/null
118 @@ -1,39 +0,0 @@
119 -# Copyright 1999-2023 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=7
123 -
124 -PYTHON_COMPAT=( python3_{9..10} )
125 -DISTUTILS_USE_SETUPTOOLS=rdepend
126 -inherit distutils-r1
127 -
128 -DESCRIPTION="Python module for downloading files"
129 -HOMEPAGE="http://urlgrabber.baseurl.org https://github.com/rpm-software-management/urlgrabber"
130 -SRC_URI="https://github.com/rpm-software-management/${PN}/archive/${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz"
131 -S="${WORKDIR}/${PN}-${PN}-${PV//./-}"
132 -
133 -LICENSE="LGPL-2.1"
134 -SLOT="0"
135 -KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86"
136 -
137 -# Entire testsuite relies on connecting to the i'net
138 -PROPERTIES="test_network"
139 -RESTRICT="test"
140 -
141 -RDEPEND="
142 - dev-python/pycurl[${PYTHON_USEDEP}]
143 - dev-python/six[${PYTHON_USEDEP}]
144 - dev-python/urllib3[${PYTHON_USEDEP}]
145 -"
146 -BDEPEND="dev-python/six[${PYTHON_USEDEP}]"
147 -
148 -PATCHES=(
149 - "${FILESDIR}/${P}-skip-test_range.patch"
150 - "${FILESDIR}/${P}-test-mirror-set-thread-daemon.patch"
151 -)
152 -
153 -python_test() {
154 - URLGRABBER_EXT_DOWN="${S}/scripts/urlgrabber-ext-down" \
155 - PYTHON_PATH="${S}" \
156 - "${EPYTHON}" test/runtests.py -v 2 || die "Tests failed under ${EPYTHON}"
157 -}
158
159 diff --git a/profiles/package.mask b/profiles/package.mask
160 index b5068fbb2d18..877c42ae9af8 100644
161 --- a/profiles/package.mask
162 +++ b/profiles/package.mask
163 @@ -274,12 +274,6 @@ dev-python/cov-core
164 # Removal on 2023-03-19. Bug #865931.
165 dev-python/pytest-flake8
166
167 -# Michał Górny <mgorny@g.o> (2023-02-15)
168 -# A number of test failures, and the test phase does not fail correctly.
169 -# Last release in 2019. No revdeps.
170 -# Removal on 2023-03-17. Bug #894606.
171 -dev-python/urlgrabber
172 -
173 # Michał Górny <mgorny@g.o> (2023-02-15)
174 # Unmaintained. Broken with current version of dev-python/pyglet.
175 # No upstream activity since Sep 2021. No revdeps.