Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/werkzeug/
Date: Tue, 08 Feb 2022 09:42:27
Message-Id: 1644313337.24f47bb74f8989e3c9ec596e952c9e71f9f9643c.mgorny@gentoo
1 commit: 24f47bb74f8989e3c9ec596e952c9e71f9f9643c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 8 08:36:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 8 09:42:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f47bb7
7
8 dev-python/werkzeug: Bump to 2.0.3
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.0.3.ebuild | 54 +++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest
17 index 5d68236f74af..919d581150ae 100644
18 --- a/dev-python/werkzeug/Manifest
19 +++ b/dev-python/werkzeug/Manifest
20 @@ -1,2 +1,3 @@
21 DIST werkzeug-1.0.1.gh.tar.gz 907482 BLAKE2B d2dcdce8b1bcbb177b52b0915f2c0ac17d235dee3c77b23e81e4b35412d1f53a194d3c7c7f2a5c065ade99797effe72cc464cf6980b12c761a8a919338021660 SHA512 ba82120fb3e96e3a1334c6452d5ba1950fc016d2d147d643bbc2168ccec496f1dea799982ae8c578167155082c0bdbda5d56a23f64b4b6865f97e90e22df022e
22 DIST werkzeug-2.0.2.gh.tar.gz 896727 BLAKE2B 15506d57a8545eb45cb0f4efb78bcc4dfc1faa68910f09dfdd14f4bbb2404078247a7f61475c5fff9058a1557f7f6541eec262fb274e7ed82e1a82b9f644cf8b SHA512 789f210546c089e8a437a379e516147fd854806357938bd559a61855182143bdeca967c86a41d004e6adb119d31e4493e3c36e74aff989ee9cd08e48d1428dd9
23 +DIST werkzeug-2.0.3.gh.tar.gz 897523 BLAKE2B 1f97a2f7184e8e11bb85722becae7cc032ada38a642a2f925f7b81e89c881011889189999d50dab4591fc2e874aac4ab92b0f1531c211468cf352e31b0b8c8d0 SHA512 a205cd981b3e1b481436e483190427ff3808a5ea80abc616ca08d899d0e6a39893a5cb60adc65c99dcab3af47c24b321c71996d719cb7f224de7942b44b1fd69
24
25 diff --git a/dev-python/werkzeug/werkzeug-2.0.3.ebuild b/dev-python/werkzeug/werkzeug-2.0.3.ebuild
26 new file mode 100644
27 index 000000000000..17b310550b31
28 --- /dev/null
29 +++ b/dev-python/werkzeug/werkzeug-2.0.3.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Collection of various utilities for WSGI applications"
42 +HOMEPAGE="
43 + https://werkzeug.palletsprojects.com/
44 + https://pypi.org/project/Werkzeug/
45 + https://github.com/pallets/werkzeug/"
46 +SRC_URI="
47 + https://github.com/pallets/werkzeug/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
53 +
54 +BDEPEND="
55 + test? (
56 + !hppa? ( !ia64? (
57 + $(python_gen_cond_dep '
58 + dev-python/greenlet[${PYTHON_USEDEP}]
59 + ' 'python*')
60 + ) )
61 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
62 + dev-python/pytest-xprocess[${PYTHON_USEDEP}]
63 + dev-python/watchdog[${PYTHON_USEDEP}]
64 + !alpha? ( !hppa? ( !ia64? (
65 + dev-python/cryptography[${PYTHON_USEDEP}]
66 + ) ) )
67 + )"
68 +
69 +distutils_enable_tests pytest
70 +
71 +python_test() {
72 + local EPYTEST_DESELECT=()
73 + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
74 + EPYTEST_DESELECT+=(
75 + "tests/test_serving.py::test_server[https]"
76 + tests/test_serving.py::test_ssl_dev_cert
77 + tests/test_serving.py::test_ssl_object
78 + )
79 + fi
80 +
81 + # the default portage tempdir is too long for AF_UNIX sockets
82 + local -x TMPDIR=/tmp
83 + epytest -p no:django -p no:httpbin tests
84 +}