commit:     9ceffb72a9d91b11c23583a22db711957e015d02
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  9 04:06:40 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov  9 04:06:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ceffb72
dev-python/werkzeug: Bump to 2.3.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/werkzeug/Manifest              |  1 +
 dev-python/werkzeug/werkzeug-2.3.8.ebuild | 64 +++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest
index 70495ee6c728..8011018d8351 100644
--- a/dev-python/werkzeug/Manifest
+++ b/dev-python/werkzeug/Manifest
@@ -1,2 +1,3 @@
 DIST werkzeug-2.3.7.gh.tar.gz 834304 BLAKE2B 
331ffe1f7f079defbd639f391522facfd98cad704da0ed92235f111f401c40b3d06c40b2e0f5c0d0ac8d798335171870a6ce221d02810a8cf3d25f480ee7f7f8
 SHA512 
76daba77523f486a56f945f54b9f317589d72e36458d7dce975ae597835de8936242edd6ceafa8913d00021557a9da2acfe9619be562fe7b482858daf84dfd2f
+DIST werkzeug-2.3.8.gh.tar.gz 834470 BLAKE2B 
fb1badc73699cd0a4027b706db7c29d44bd9cfdd306bec4c97dc1348b398f3268acb9be59530b5fb9e45d31a759e6dd1ae0348f62d4df9e6e74d8e72af9feb86
 SHA512 
56cf12071ca7aa99897ea3c23af699a32db6da00ce0963228c965e3f84060ea83c7365054e2ad53d7930d7472eaca6821e610815871a24a4257eaa18f19a5423
 DIST werkzeug-3.0.1.gh.tar.gz 817317 BLAKE2B 
670460cf48c8d06196cd34f117758508512d310b740bd188d8ba87779abd62f514c9909e5700b34c37e382925eabe3ffd722b753b76b498aff0dc8ebe1025c8b
 SHA512 
125a5c7680cba726149198802efa90d06c6586daeafcd0960feda637b765356f602df83af7b14996994303c52d32bc6fa044b774f42f0b8991008d1396675033

diff --git a/dev-python/werkzeug/werkzeug-2.3.8.ebuild 
b/dev-python/werkzeug/werkzeug-2.3.8.ebuild
new file mode 100644
index 000000000000..1e459f682aa3
--- /dev/null
+++ b/dev-python/werkzeug/werkzeug-2.3.8.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=flit
+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
+}

Reply via email to