summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-05 08:57:03 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-05 10:27:10 +0200
commit536aa64eb590c7091f8e8105626ad1593af7d0de (patch)
treea3b1dac7951a64f4dac2ebfc38437bc9c8736f2e /dev-python/mechanize
parentdev-embedded/ponyprog: drop 3.0.0 (diff)
downloadgentoo-536aa64eb590c7091f8e8105626ad1593af7d0de.tar.gz
gentoo-536aa64eb590c7091f8e8105626ad1593af7d0de.tar.bz2
gentoo-536aa64eb590c7091f8e8105626ad1593af7d0de.zip
dev-python/mechanize: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r--dev-python/mechanize/Manifest1
-rw-r--r--dev-python/mechanize/files/mechanize-0.4.5-py310.patch28
-rw-r--r--dev-python/mechanize/mechanize-0.4.5-r1.ebuild35
3 files changed, 0 insertions, 64 deletions
diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest
index 1914c91de728..d13c8e51f20e 100644
--- a/dev-python/mechanize/Manifest
+++ b/dev-python/mechanize/Manifest
@@ -1,3 +1,2 @@
-DIST mechanize-0.4.5.tar.gz 216908 BLAKE2B 67951ad8295a32799768b3719525d45d502bc773c6f2a5e762e3dae97f309c8c265a2cb3efde95c9e8cb65e89dee6ad6ad8585685baa4e9ff1acfd146f115f6f SHA512 51706d5c073501d02fb7395eda30625ed9191324f948073c7d1589df0e507d8b7641ca514ceff55e7d82e899ba6e10c55507c79668976c7654ff0004671d09d2
DIST mechanize-0.4.6.tar.gz 217254 BLAKE2B 0adc7e0bcbef93051412d0d22e9f426984e197791b43b007087d70d3b15d4fce2f4868e8ad520e8621d35890d6454bd9bfc0910dc5af3d640e2620de4f536e16 SHA512 c28ba59529d2a1d4454467c1e034fc583952fd152c8f889bf9b4c496ad4567e9ca5f8b133eb6eb081bc1e811f54c508e47f8a2c5ccdd8f04c709dafeedf05820
DIST mechanize-0.4.7.tar.gz 217289 BLAKE2B 9254cc88141b08bd9f97b63ac1dcb6b417e042cbefcf710ea9e1c340e8f6331ef9301a47bc6dd989970810ef36b97b867b81b3a44c9a4cdf283a77b04f25decd SHA512 f2796f322b1000818bcd4bcedf1d88538ba3a43151b74c950594a60dd7b5cf96ea4fcb605e30c93a5df095da35418401487928b9adfcca932e95dbf964d74c53
diff --git a/dev-python/mechanize/files/mechanize-0.4.5-py310.patch b/dev-python/mechanize/files/mechanize-0.4.5-py310.patch
deleted file mode 100644
index 98656b65425f..000000000000
--- a/dev-python/mechanize/files/mechanize-0.4.5-py310.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/mechanize/_clientcookie.py b/mechanize/_clientcookie.py
-index ebd2773..6c89cbf 100644
---- a/mechanize/_clientcookie.py
-+++ b/mechanize/_clientcookie.py
-@@ -188,13 +188,22 @@ class CookieJar(CJ):
- raise IndexError()
-
-
-+try:
-+ from http.cookiejar import NETSCAPE_MAGIC_RGX, NETSCAPE_HEADER_TEXT
-+except ImportError: # python < 3.10
-+ NETSCAPE_MAGIC_RGX = MCJ.magic_re
-+ NETSCAPE_HEADER_TEXT = MCJ.header
-+else:
-+ MCJ.header = NETSCAPE_HEADER_TEXT # needed for tests
-+
-+
- class MozillaCookieJar(MCJ):
-
- def _really_load(self, f, filename, ignore_discard, ignore_expires):
- now = time.time()
-
- magic = f.readline()
-- if not re.search(self.magic_re, magic):
-+ if not re.search(NETSCAPE_MAGIC_RGX, magic):
- f.close()
- raise LoadError(
- "%r does not look like a Netscape format cookies file" %
diff --git a/dev-python/mechanize/mechanize-0.4.5-r1.ebuild b/dev-python/mechanize/mechanize-0.4.5-r1.ebuild
deleted file mode 100644
index 50942d696a0a..000000000000
--- a/dev-python/mechanize/mechanize-0.4.5-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Stateful programmatic web browsing in Python"
-HOMEPAGE="https://github.com/python-mechanize/mechanize"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="|| ( BSD ZPL )"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]"
-BDEPEND="
- test? (
- ${RDEPEND}
- )
-"
-
-PATCHES=(
- # https://github.com/python-mechanize/mechanize/commit/2a563ec4fbc394ec5976dda0f528db43d28a2706
- # https://github.com/python-mechanize/mechanize/commit/bc6a2ca7b17e11f2533ada67f0bf92124d4a3cac
- "${FILESDIR}/${P}-py310.patch"
-)
-
-python_test() {
- "${EPYTHON}" run_tests.py || die
-}