1 |
commit: 4e4b98e70a7d7c3ee58b1887e13492c3d1cf0f61 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 18:37:52 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 18:48:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4b98e7 |
7 |
|
8 |
dev-python/werkzeug: Bump to 2.1.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/werkzeug/Manifest | 1 + |
13 |
dev-python/werkzeug/werkzeug-2.1.2.ebuild | 58 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest |
17 |
index 9d25ab90f0cd..0d9dbfd332f9 100644 |
18 |
--- a/dev-python/werkzeug/Manifest |
19 |
+++ b/dev-python/werkzeug/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST werkzeug-1.0.1.gh.tar.gz 907482 BLAKE2B d2dcdce8b1bcbb177b52b0915f2c0ac17d2 |
21 |
DIST werkzeug-2.0.3.gh.tar.gz 897523 BLAKE2B 1f97a2f7184e8e11bb85722becae7cc032ada38a642a2f925f7b81e89c881011889189999d50dab4591fc2e874aac4ab92b0f1531c211468cf352e31b0b8c8d0 SHA512 a205cd981b3e1b481436e483190427ff3808a5ea80abc616ca08d899d0e6a39893a5cb60adc65c99dcab3af47c24b321c71996d719cb7f224de7942b44b1fd69 |
22 |
DIST werkzeug-2.1.0.gh.tar.gz 833188 BLAKE2B eed6ddc3acec9a69ca983d440d14693750fc0d09cd1f30f66e27267c266ac5a2c81b21cb8d617e8f6fcfb7426bb427c2dc1cafeec92a238424a005d915dffc4f SHA512 acda1e4037e1d525cbd82ed2310ddf55968d14df6656018b910d7200b51569e88cf58957f94f377deb7fe100db03d30016e9dc91e033a298ad54cb34922be30e |
23 |
DIST werkzeug-2.1.1.gh.tar.gz 833268 BLAKE2B 28d922f99259b606c431b224222fe6474c68f8a11f9910fe9e4eedbdf30d18a101c25490dee205035ea7b3675e644f619a81cbf493c7d5540c6141ff3840d84a SHA512 992b5b0a95db5266d025e06683b04f932def72c3967b2c9903f718c5f2672cf0abadb247cf77029d99b567c9588f5ae03b6b07d566bfd764c738ede53501ba1b |
24 |
+DIST werkzeug-2.1.2.gh.tar.gz 833667 BLAKE2B e045f566862bfe0f86185cd10aa26bf94a4fc2f7b23173c6a28c9b55d0f239fbba5c66071fab5df6102717b51a1c1fada872e9d9383b9d3b34ab92ffcfd96e59 SHA512 28c4a794a3dbc8423e59244fbcf192b60b53f378444aaaf60330bdd62cec38a4625033b5d72b55613c8b26053a60153ddcb816331ff28ad3ee03bede74d8b1b3 |
25 |
|
26 |
diff --git a/dev-python/werkzeug/werkzeug-2.1.2.ebuild b/dev-python/werkzeug/werkzeug-2.1.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a67e3c314151 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/werkzeug/werkzeug-2.1.2.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Collection of various utilities for WSGI applications" |
43 |
+HOMEPAGE=" |
44 |
+ https://palletsprojects.com/p/werkzeug/ |
45 |
+ https://pypi.org/project/Werkzeug/ |
46 |
+ https://github.com/pallets/werkzeug/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/pallets/werkzeug/archive/${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest-xprocess[${PYTHON_USEDEP}] |
62 |
+ dev-python/watchdog[${PYTHON_USEDEP}] |
63 |
+ !alpha? ( !hppa? ( !ia64? ( |
64 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
65 |
+ ) ) ) |
66 |
+ !hppa? ( !ia64? ( |
67 |
+ $(python_gen_cond_dep ' |
68 |
+ dev-python/greenlet[${PYTHON_USEDEP}] |
69 |
+ ' 'python*') |
70 |
+ ) ) |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests pytest |
75 |
+ |
76 |
+python_test() { |
77 |
+ local EPYTEST_DESELECT=() |
78 |
+ if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then |
79 |
+ EPYTEST_DESELECT+=( |
80 |
+ "tests/test_serving.py::test_server[https]" |
81 |
+ tests/test_serving.py::test_ssl_dev_cert |
82 |
+ tests/test_serving.py::test_ssl_object |
83 |
+ ) |
84 |
+ fi |
85 |
+ |
86 |
+ # the default portage tempdir is too long for AF_UNIX sockets |
87 |
+ local -x TMPDIR=/tmp |
88 |
+ epytest -p no:django -p no:httpbin tests |
89 |
+} |