diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-12 00:01:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-12 00:01:15 +0100 |
commit | d72a987a342949e200b5e9decbd71f246da53788 (patch) | |
tree | ea9d3f4ec74bd6ab18582852d7958d3f3176dfea /dev-python/mechanize | |
parent | c035b2b83f0e94c4b2e82184f00bcef874e6276b (diff) |
gentoo auto-resync : 12:05:2024 - 00:01:15
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r-- | dev-python/mechanize/Manifest | 5 | ||||
-rw-r--r-- | dev-python/mechanize/files/mechanize-0.4.9-test.patch | 23 | ||||
-rw-r--r-- | dev-python/mechanize/mechanize-0.4.10.ebuild | 4 | ||||
-rw-r--r-- | dev-python/mechanize/mechanize-0.4.9.ebuild | 39 |
4 files changed, 3 insertions, 68 deletions
diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest index 2782cefd1ffd..b2a95621b759 100644 --- a/dev-python/mechanize/Manifest +++ b/dev-python/mechanize/Manifest @@ -1,6 +1,3 @@ -AUX mechanize-0.4.9-test.patch 995 BLAKE2B e2acd1287b51653e2504ba1d57ec4251284c41ffa1adfc0da0ce039386aa512995b7e66c2a30896002bdca8415411713b672b08ff0c47ec7cab480fa470e7f81 SHA512 bd8edf8e66c0532a11bdf7b7b2f95351f756ea268b2af404b679560fcc262dde63283cffc5fadf20f49c42c112410ac89794acf4b3ce6d001f4b2dbe5775ee21 DIST mechanize-0.4.10.tar.gz 218291 BLAKE2B 7a6f293ac5622b4ac01d1b84327e4dd41132eb2fdfaf9826e6c7a8b088890ae8b4b5f4e90aca930761d532702138f0be6f9394e48ee2defc48dcb5f19ee22a79 SHA512 76d13ac8ac06e8e3836ba814259e1ec8495ebbfc259d4f8652f3ed23863b6a5f6fc5983409083ad9f5d0312db6581b0e7b32bfe6d46ecd190006188ac4cf3fc8 -DIST mechanize-0.4.9.tar.gz 218286 BLAKE2B 42ea97f843ec61b5ae05913e564f0cdb473976ea4e08a886c3bed15b27cea64def7fe5c73c1b809e48688d5ae41c269e85b633a24731c83409bf9855fc72b85f SHA512 a0c5d6e01ddabd35dded9908e4f7e24cb0a8c20a674af603cd2f5f146c75d38dc96c36af0898646691206ce41745dff9a736ce53efd03ff48e55e763814b893c -EBUILD mechanize-0.4.10.ebuild 693 BLAKE2B 07e43a435c3395d76c1099eba689dd195314a998b1f67dfccb772d44af70dd43ef9a7d1d79dd9b997707981f05b78b1acf24f58ae178e98f3ba63ff9c24735e4 SHA512 27456b3dbe5dc4792f3f7461b63ec8964026aa6894b4dcb71afc9067d55b796d13082461dd0d5371e33d995239a8e47d1a87634be215d05b2270353478b852b8 -EBUILD mechanize-0.4.9.ebuild 791 BLAKE2B aae52f0e662ebb0af165d3cf4343cc2de8dcf263adcbf73d2b8e7993ccd779ef41c1d242f9794be663e96c2013925512b140903369d1543745cf0110aec97396 SHA512 63ef84c9ad213d4ef2e2741cead386c434c9bbe147412987e57e9526d5dd2019ed2f080844f221958decf96fec9de6f3924368b349819ae4c2e5a82280505cb0 +EBUILD mechanize-0.4.10.ebuild 690 BLAKE2B 80e48997e511f254d44aa263dcabdca90e5a898b98c7268ccae034e1fdf85ed423020df42ba376fa607581c986a662e3b2e78bf8bbbe88eae82a14ab0028755b SHA512 e870f11a8192edc923f5d4343bb13d4799afeedeceb17dfae8a598e93b270a7a28e19ba20d80c82969f01a402d674140538fb04f463911e0562417908ebe77a3 MISC metadata.xml 1069 BLAKE2B 71445830ac06448e12152b3418f1e4c68ece2d3deb2b3da1d4e82c89fc5faeef02b9669d19576dd47076e3f69097b535fc8f27bb117f8d6d74819676d59bc208 SHA512 6b31da39515a39c6c2fff17dbe6ebed752b14730ac2253fedc649a3ef9cdcb21095cc4ab45bff80a7d38e30467317b25bdf605020fff4ec47473cf666c0f5436 diff --git a/dev-python/mechanize/files/mechanize-0.4.9-test.patch b/dev-python/mechanize/files/mechanize-0.4.9-test.patch deleted file mode 100644 index 369cbe9495e1..000000000000 --- a/dev-python/mechanize/files/mechanize-0.4.9-test.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 1324b09b661aaac7d4cdc7e1e9d49e1c3851db2c Mon Sep 17 00:00:00 2001 -From: Martin Weinelt <hexa@darmstadt.ccc.de> -Date: Sun, 21 Apr 2024 13:05:45 +0200 -Subject: [PATCH] Fix test_ftp mime type expectation on 3.11+ - -Closes: #94 ---- - test/test_urllib2.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/test_urllib2.py b/test/test_urllib2.py -index e9b96fd..c46a2fc 100644 ---- a/test/test_urllib2.py -+++ b/test/test_urllib2.py -@@ -864,7 +864,7 @@ def connect_ftp(self, user, passwd, host, port, dirs, timeout): - ["foo", "bar"], _sockettimeout._GLOBAL_DEFAULT_TIMEOUT, "", None), - ("ftp://localhost/baz.gif;type=a", "localhost", ftplib.FTP_PORT, - "A", [], _sockettimeout._GLOBAL_DEFAULT_TIMEOUT, "baz.gif", -- None), # TODO: really this should guess image/gif -+ "image/gif" if sys.version_info >= (3, 11) else None), - ]: - req = Request(url, timeout=timeout) - r = h.ftp_open(req) diff --git a/dev-python/mechanize/mechanize-0.4.10.ebuild b/dev-python/mechanize/mechanize-0.4.10.ebuild index 27279bb94b4f..fbe873ed2791 100644 --- a/dev-python/mechanize/mechanize-0.4.10.ebuild +++ b/dev-python/mechanize/mechanize-0.4.10.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( BSD ZPL )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/mechanize/mechanize-0.4.9.ebuild b/dev-python/mechanize/mechanize-0.4.9.ebuild deleted file mode 100644 index 801db8146541..000000000000 --- a/dev-python/mechanize/mechanize-0.4.9.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stateful programmatic web browsing in Python" -HOMEPAGE=" - https://github.com/python-mechanize/mechanize/ - https://pypi.org/project/mechanize/ -" - -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/pull/95 - "${FILESDIR}/${P}-test.patch" -) - -python_test() { - "${EPYTHON}" run_tests.py -v || die -} |