diff options
Diffstat (limited to 'dev-python/werkzeug')
-rw-r--r-- | dev-python/werkzeug/Manifest | 7 | ||||
-rw-r--r-- | dev-python/werkzeug/files/werkzeug-3.0.2-pytest-xprocess-1.patch | 21 | ||||
-rw-r--r-- | dev-python/werkzeug/werkzeug-3.0.6.ebuild | 64 | ||||
-rw-r--r-- | dev-python/werkzeug/werkzeug-3.1.2.ebuild | 54 | ||||
-rw-r--r-- | dev-python/werkzeug/werkzeug-3.1.3.ebuild | 2 |
5 files changed, 2 insertions, 146 deletions
diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 2f0926b133f0..8da44b21f026 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,8 +1,3 @@ -AUX werkzeug-3.0.2-pytest-xprocess-1.patch 864 BLAKE2B ff18777cce9debbb39ae524a54912417a3d3bd46a54b4ba91322f9abe038b47e4091049f4e4ebb9bf5c0e661b0d88bea2d157b840d02d81442a323b222d840d2 SHA512 8208a0b6695d6079b0bf251bba8cf2c3c7fb89a37aadeb74c534e6c61a7455e71fb61ec6a44d2689a311e77d9d00302a7d2dafa449deb7d4e207038bd43ac372 -DIST werkzeug-3.0.6.tar.gz 805170 BLAKE2B 7aa02e3e979d9375ec676d02f43738b96410fc3dddf60ca96fc9709790caa47e590952e7675f9226af9f8111271463e82a7069d0ed6e8e672188bc824d3d04a8 SHA512 500f47e13546a3d0ce3a41f21157649571ea70b332ca22758bad939cb42aee4d1b58b64cecc4ed83a857ad466f37de8256cf7b53ad28e5fe0fd353455df3639b -DIST werkzeug-3.1.2.tar.gz 806496 BLAKE2B e7020f4044889f105473300ac3e14faf98f4f840fe6ac03c7a99c43ab31c8e48544ee1bf04e0d0633229f6f2043b7e2d440080d99a56ec7292422310175f8011 SHA512 f8628364dcd999ab4c50c3c4fbf8de78da24f541d2fb768be313296a116de901c9a8c3001c6280f07a0ffba102f7dcf02658f3f9a2c48517c029df5753d44c35 DIST werkzeug-3.1.3.tar.gz 806925 BLAKE2B 1bb69dfb9ec0b8e40e4df9098d5e7e69aa74c419c0a9ab3c798a3d2a92599744aecb22a8e4b3d14840355bf21457171456630d30a4d3bf7f9344a3ea5d87ee4f SHA512 922c7c377cb10baa76ba9457a2334716969fe058cbc75725989a3d8c61c061a8cf5c6e8bdce70ec098db7822dd12db3391fb8c1471f51d99f48c54df00b182e1 -EBUILD werkzeug-3.0.6.ebuild 1712 BLAKE2B 6dcaafa51c9d34a213ad10b46f62fd81f50927648db70a6604a3962d2b6965f36dff415bd170c988563b8c66aae26c09e2bc62848d35e2ddae4f90a91bc4e387 SHA512 f452e7c7e05a71f1fd0015dba4472a46a267c5cbe5b5dd4ebf846f224f8ca99c16e5458851987ead6de870fcb078e0217ca5a2086a5c4d249f865f63dd9270b9 -EBUILD werkzeug-3.1.2.ebuild 1366 BLAKE2B bea7d4316d5cd4d619e4b7828f00bc9ee5deba357cd312af692b7a3273dd354cec4ef52001b1368b97ec0e5d197c62e203b77186548ce2b38470dc8e0a326e4b SHA512 4c089323d461f194a16f05529d37746a322792128d25eca88633842a0be712e481868358cee53f08aeab456d344dfea0db2b9a0c099fef5fe43956e576cf0230 -EBUILD werkzeug-3.1.3.ebuild 1366 BLAKE2B bea7d4316d5cd4d619e4b7828f00bc9ee5deba357cd312af692b7a3273dd354cec4ef52001b1368b97ec0e5d197c62e203b77186548ce2b38470dc8e0a326e4b SHA512 4c089323d461f194a16f05529d37746a322792128d25eca88633842a0be712e481868358cee53f08aeab456d344dfea0db2b9a0c099fef5fe43956e576cf0230 +EBUILD werkzeug-3.1.3.ebuild 1358 BLAKE2B 2720713213e0ab6a7e6349609d164d2babfe2616fa3947267fddb3f4fb3ccce5a75e8e3d2317a688e82f6dd2cdfb46f64e5952ff759d17de6053c24a15f10fa3 SHA512 3b2fd2c0469db36ecd630be0975ee9168b30e35e8c3e13b0b7e3f5dc3e18440bcf40c73353d619beb818538d28091317aeb0f16282ff39284e4077c71ae4d53a MISC metadata.xml 392 BLAKE2B 59644e2ff4cdd9ce2db59e36b9b3ec6ce7b7a87186c962bc6b1fa1ef490c30e542b62e8739b059a679f843af79ee7c8b13099bcbefa7ae3102aa3f5d1bf7055c SHA512 a79201b2e92c427248a4448a9734321f955e5431c46e0e58ead2e06c31945309c20f7de76f80e80d4c81ffb45deb4837e1a415a4d2596b7644b01735120899dd diff --git a/dev-python/werkzeug/files/werkzeug-3.0.2-pytest-xprocess-1.patch b/dev-python/werkzeug/files/werkzeug-3.0.2-pytest-xprocess-1.patch deleted file mode 100644 index 3993b0847957..000000000000 --- a/dev-python/werkzeug/files/werkzeug-3.0.2-pytest-xprocess-1.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/tests/conftest.py b/tests/conftest.py -index b73202cd..905f3f4b 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -107,10 +107,12 @@ def dev_server(xprocess, request, tmp_path): - # Unbuffered output so the logs update immediately. - env = {**os.environ, "PYTHONPATH": str(tmp_path), "PYTHONUNBUFFERED": "1"} - -- @cached_property -- def pattern(self): -- client.request("/ensure") -- return "GET /ensure" -+ def startup_check(self): -+ try: -+ client.request("/ensure") -+ return True -+ except (ConnectionRefusedError, FileNotFoundError): -+ return False - - # Each test that uses the fixture will have a different log. - xp_name = f"dev_server-{request.node.name}" diff --git a/dev-python/werkzeug/werkzeug-3.0.6.ebuild b/dev-python/werkzeug/werkzeug-3.0.6.ebuild deleted file mode 100644 index 7f6712b44f6d..000000000000 --- a/dev-python/werkzeug/werkzeug-3.0.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE=" - https://palletsprojects.com/p/werkzeug/ - https://pypi.org/project/Werkzeug/ - https://github.com/pallets/werkzeug/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - >=dev-python/pytest-xprocess-1[${PYTHON_USEDEP}] - >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pallets/werkzeug/issues/2875 - "${FILESDIR}/${PN}-3.0.2-pytest-xprocess-1.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # RequestRedirect class started incidentally being tested - # with pytest-8, though the test isn't prepared for that - # https://github.com/pallets/werkzeug/issues/2845 - 'tests/test_exceptions.py::test_response_body[RequestRedirect]' - ) - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - "tests/test_serving.py::test_server[https]" - tests/test_serving.py::test_ssl_dev_cert - tests/test_serving.py::test_ssl_object - ) - fi - - # the default portage tempdir is too long for AF_UNIX sockets - local -x TMPDIR=/tmp - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xprocess -p timeout tests -} diff --git a/dev-python/werkzeug/werkzeug-3.1.2.ebuild b/dev-python/werkzeug/werkzeug-3.1.2.ebuild deleted file mode 100644 index 886c4e4621ba..000000000000 --- a/dev-python/werkzeug/werkzeug-3.1.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of various utilities for WSGI applications" -HOMEPAGE=" - https://palletsprojects.com/p/werkzeug/ - https://pypi.org/project/Werkzeug/ - https://github.com/pallets/werkzeug/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - >=dev-python/pytest-xprocess-1[${PYTHON_USEDEP}] - >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - "tests/test_serving.py::test_server[https]" - tests/test_serving.py::test_ssl_dev_cert - tests/test_serving.py::test_ssl_object - ) - fi - - # the default portage tempdir is too long for AF_UNIX sockets - local -x TMPDIR=/tmp - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xprocess -p timeout tests -} diff --git a/dev-python/werkzeug/werkzeug-3.1.3.ebuild b/dev-python/werkzeug/werkzeug-3.1.3.ebuild index 886c4e4621ba..7151980e0fc5 100644 --- a/dev-python/werkzeug/werkzeug-3.1.3.ebuild +++ b/dev-python/werkzeug/werkzeug-3.1.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" |