summaryrefslogtreecommitdiff
path: root/dev-python/urlgrabber
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-18 18:31:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-18 18:31:43 +0000
commitcd0d9000770337b445051f1852fe3971ceb7a6e2 (patch)
tree49c82dbb14c2d960e04e7482bdefe6ed2d53a173 /dev-python/urlgrabber
parent12c505f7fcc9ddc89e96ed178df05aceec162d92 (diff)
gentoo auto-resync : 18:03:2023 - 18:31:42
Diffstat (limited to 'dev-python/urlgrabber')
-rw-r--r--dev-python/urlgrabber/Manifest5
-rw-r--r--dev-python/urlgrabber/files/urlgrabber-4.1.0-skip-test_range.patch11
-rw-r--r--dev-python/urlgrabber/files/urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch10
-rw-r--r--dev-python/urlgrabber/metadata.xml41
-rw-r--r--dev-python/urlgrabber/urlgrabber-4.1.0.ebuild39
5 files changed, 0 insertions, 106 deletions
diff --git a/dev-python/urlgrabber/Manifest b/dev-python/urlgrabber/Manifest
deleted file mode 100644
index cd81067c16a2..000000000000
--- a/dev-python/urlgrabber/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX urlgrabber-4.1.0-skip-test_range.patch 466 BLAKE2B d7035794c6beb47e7ae13e7914f5eb067e71d592b14100c04a67102c98351d020cb3949fcba79521245189c139b3eca36403ad23c2692043c20db3b4e2bad66d SHA512 f952eb16eb93b4a61826c36c8265b01d3084144dcb90aa274c3fd22ce837ef58c84a5cf7b2aae7fbbbab4048ac405b6320ba917cd6f181ccf3875bdf81f3c6be
-AUX urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch 406 BLAKE2B 0b37cfa8eccf790fe0dce89f8c6cc5f9241f9c6fbf11d339cee72056387aa5444f811b3ce62e83311499effd93d954dc350b3951030b5636372b4c7b41b280f7 SHA512 208812678cc58651294b858071d3b89630f3f539036b1a4f97c5fb99314fb2889240ec9550dcf3d062bca8620049e388c47c9e57ba4beccc3c843a2f69787f77
-DIST urlgrabber-4.1.0.tar.gz 277537 BLAKE2B 3697cb1d08fe0fa8bc83118e1466d76d1b8aa0375fd895d12f5135850bb5100d1d52b1691b2135a80a4937158c5d362e88777ae9ba58790ad88355f13e679b34 SHA512 43e54656d0ca92f616d49cd90dd6282408d64909848e4bf1c74b3b1eede55ba0c9526d6ea5fa9ae18545b806ef9965130ecf1cb1f5f05d4611db974d3f2aa200
-EBUILD urlgrabber-4.1.0.ebuild 1108 BLAKE2B 07e31d757217f9dcbe9d5fca33b0ed3e23d2f8ea47b25a66d77a378afc667fc456f6d5b145860a0abb5cc48b06627191e6c7d9626e073ba7c7fccb835deb2116 SHA512 ff237cf4925a16538bd7d13af1f90fe5a341eeb7c052742ea58d7f5789f7dd26193eb702b98c22b7dc8173966ec7975559fb65fe29e69bfe4a442d8893ef2f2e
-MISC metadata.xml 1599 BLAKE2B f70763aa6df97491b69b72db96f51ed691bb39b2d2a88ed761a345e87d25ec4f77c1802018e277692a41aa823cc2ab31ecd9c49b08949b2d7865200dbcab8ed2 SHA512 93c6ab097564a6ab393bb0c3033016af801a9e91e8fd72622bd8c6ee67415f3ab78dc83cfc25fac0ae627ce4984716d72ede278f88448333d1b22b496d85d6d9
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
deleted file mode 100644
index 548242fc1894..000000000000
--- a/dev-python/urlgrabber/files/urlgrabber-4.1.0-skip-test_range.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- urlgrabber-urlgrabber-4-1-0/test/test_mirror.py.orig 2020-11-16 06:23:15.874354961 +0100
-+++ urlgrabber-urlgrabber-4-1-0/test/test_mirror.py 2020-11-16 06:23:59.674354944 +0100
-@@ -329,6 +329,8 @@
- self.assertEqual(self.code, 503); del self.code
-
- def test_range(self):
-+ # skip failing test
-+ self.skip()
- 'test client-side processing of HTTP ranges'
- # server does not process ranges
- self.reply = 200, b'OK'
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
deleted file mode 100644
index 6d6e8afa6462..000000000000
--- a/dev-python/urlgrabber/files/urlgrabber-4.1.0-test-mirror-set-thread-daemon.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- urlgrabber-urlgrabber-4-1-0/test/test_mirror.py.orig 2020-11-16 18:47:43.724337579 +0100
-+++ urlgrabber-urlgrabber-4-1-0/test/test_mirror.py 2020-11-16 18:47:57.724337574 +0100
-@@ -290,6 +290,7 @@
- self.exit = False
-
- self.thread = threading.Thread(target=server)
-+ self.thread.daemon = True
- self.thread.start()
-
- # create grabber and mirror group objects
diff --git a/dev-python/urlgrabber/metadata.xml b/dev-python/urlgrabber/metadata.xml
deleted file mode 100644
index 812dc00b5e88..000000000000
--- a/dev-python/urlgrabber/metadata.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <longdescription>
- A high-level cross-protocol url-grabber.
-
- Using urlgrabber, data can be fetched in three basic ways:
-
- urlgrab(url) copy the file to the local filesystem
- urlopen(url) open the remote file and return a file object (like urllib2.urlopen)
- urlread(url) return the contents of the file as a string
-
-
- When using these functions (or methods), urlgrabber supports the following
- features:
-
- * identical behavior for http://, ftp://, and file:// urls
- * http keepalive - faster downloads of many files by using only a single
- connection
- * byte ranges - fetch only a portion of the file
- * reget - for a urlgrab, resume a partial download
- * progress meters - the ability to report download progress automatically,
- even when using urlopen!
- * throttling - restrict bandwidth usage
- * retries - automatically retry a download if it fails. The number of retries
- and failure types are configurable.
- * authenticated server access for http and ftp
- * proxy support - support for authenticated http and ftp proxies
- * mirror groups - treat a list of mirrors as a single source, automatically
- switching mirrors if there is a failure.
- </longdescription>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="pypi">urlgrabber</remote-id>
- <remote-id type="github">rpm-software-management/urlgrabber</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild b/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild
deleted file mode 100644
index 08457ee90633..000000000000
--- a/dev-python/urlgrabber/urlgrabber-4.1.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1
-
-DESCRIPTION="Python module for downloading files"
-HOMEPAGE="http://urlgrabber.baseurl.org https://github.com/rpm-software-management/urlgrabber"
-SRC_URI="https://github.com/rpm-software-management/${PN}/archive/${PN}-${PV//./-}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${PN}-${PV//./-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86"
-
-# Entire testsuite relies on connecting to the i'net
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/pycurl[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/urllib3[${PYTHON_USEDEP}]
-"
-BDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-
-PATCHES=(
- "${FILESDIR}/${P}-skip-test_range.patch"
- "${FILESDIR}/${P}-test-mirror-set-thread-daemon.patch"
-)
-
-python_test() {
- URLGRABBER_EXT_DOWN="${S}/scripts/urlgrabber-ext-down" \
- PYTHON_PATH="${S}" \
- "${EPYTHON}" test/runtests.py -v 2 || die "Tests failed under ${EPYTHON}"
-}