diff options
Diffstat (limited to 'dev-python/werkzeug')
-rw-r--r-- | dev-python/werkzeug/Manifest | 2 | ||||
-rw-r--r-- | dev-python/werkzeug/werkzeug-2.3.5.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 1a6ceb7624f7..b9c1f62d3233 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,4 +1,6 @@ AUX werkzeug-2.3.4-iri-bytes.patch 2038 BLAKE2B 55fa8b29b1964017c1022bece78c692a18e062aec5e541f722d5604092662d79ccd9305bcb362d9a557a49d2e39cf417a2018341dffee8232a3b4a14acdfefc9 SHA512 e38e79d21b8e40de29bef81a626ec87aaeed57d511aefdead17744dd1b6dd88d3e2e55792577b2080c6fbc6fdbbd9094f53c0110d7256bbb9402f32d6f969754 DIST werkzeug-2.3.4.gh.tar.gz 833090 BLAKE2B e9d0134fa2a1355a2ef0df0f86cca6ea0f0a0c9b6ece98a6774ceab0a284c6a899e915688cb3e2e9f6192a7943cbcf20578d1e8f2f439dd8a9ab0f3d49361bcd SHA512 1e519fc88ac4438aa4dbd623ef8afc96a630df61d25a5a28154749f5c38593edefbb32163a632a5f38fa70d8cf2f1ae93633e54cfafe72d497ab70c99f9b2478 +DIST werkzeug-2.3.5.gh.tar.gz 833927 BLAKE2B f9d2a81b0b1336265094df26d8b1fd17a471ed12d47014e5dd151085dd4112c0fb4788b62d926588d07dfaf91656d7e18406f5c684766e97bab45cccadea478e SHA512 d1c1e344efaa1c5aa04c71f8007a9f10b3043bf5db2459fddae8df5186b103de2fd3f61394dacb774b57a72feed7080cde1611040e0849c97d81e6ed1ee2c4b2 EBUILD werkzeug-2.3.4-r1.ebuild 1768 BLAKE2B 0ff8d994ff47a5fbb44556656c1e320d0145c1edb35614320502b65a9a3ad44ff896696d27784a777b9e92f8d39655f3044ab04ec319a45320a51fbbba0dfdac SHA512 14be7cdeb0697d9a8aad107da9d503be4c52978b225b78000d6cd0eea61ddb708831166ce45283cdc4598018553e316d19c3474b5574fab1a8f1cc678f658b7b +EBUILD werkzeug-2.3.5.ebuild 1678 BLAKE2B 81cec7e390cd96fcd46bae9835776d598705949aea4c987f6ad5e5b1a5f40ef26eaae1426aba2a003f1012e2aed897898904ad8f5a8ac8ad92f583a8ead1e7aa SHA512 79f7a37df49632c6c068a4d489dc2c9fedf4447f7eae3cd77970eb014e99c55aab2afde8968ad17c49fee5b0c43880cc20edd3d186f284a3c9d89bca318d1cdf MISC metadata.xml 368 BLAKE2B 81932229098620395623f9149ac974f19fae9b65ad09943ee5c5d8d03c1e37e76061291c959fe5f004f531a244b3bb335c2a43dd66949c0be43493e45674d0e3 SHA512 67e5b5fea8052c0723820125271ea031ad984e0fe2af21d2423fc559bdc51dfe1d40f2fa5fe11e6d2b8b32216e716900080b859aad146c079ad2b390dd9844cf diff --git a/dev-python/werkzeug/werkzeug-2.3.5.ebuild b/dev-python/werkzeug/werkzeug-2.3.5.ebuild new file mode 100644 index 000000000000..510a6ca0d800 --- /dev/null +++ b/dev-python/werkzeug/werkzeug-2.3.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" +SRC_URI=" + https://github.com/pallets/werkzeug/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +# NOTE: remove the loong mask after greenlet gains support for loong +# see https://github.com/python-greenlet/greenlet/pull/257 +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + !hppa? ( !ia64? ( !loong? ( + $(python_gen_cond_dep ' + dev-python/greenlet[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) ) ) + ) +" + +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 + epytest -p no:django -p no:httpbin tests +} |