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: Mon, 27 Jan 2020 07:22:52
Message-Id: 1580109680.7456e4c8ea092b6879a5d3a19d692fda3643b30b.mgorny@gentoo
1 commit: 7456e4c8ea092b6879a5d3a19d692fda3643b30b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 27 05:44:35 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 27 07:21:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7456e4c8
7
8 dev-python/werkzeug: Bump to 0.16.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/werkzeug/Manifest | 1 +
13 dev-python/werkzeug/werkzeug-0.16.1.ebuild | 34 ++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest
17 index 55b4add8cae..4b12ca74c72 100644
18 --- a/dev-python/werkzeug/Manifest
19 +++ b/dev-python/werkzeug/Manifest
20 @@ -3,3 +3,4 @@ DIST Werkzeug-0.14.1.tar.gz 1185546 BLAKE2B 4c358688752adce870e8b44ffede56e44ab2
21 DIST Werkzeug-0.15.4.tar.gz 925334 BLAKE2B ffb132026e5a43bdbbb6decf19c47b07bb38afe383fc6b769a793f9e72769bdb5a9507918590d485b9a84e8db392202fe985b0cd1fa00e8af17eccbf53bcdaec SHA512 b27b313cb29128ad1a1d0b04be7d1b29eacd4fb8280757510ce662b4f8743e7311966f7fb170531bd5dcb9668e9c6672f0cc0cf53bb4af3ec7328312a88b53ab
22 DIST Werkzeug-0.15.5.tar.gz 926570 BLAKE2B 39d68f7ea2f99ffa60f5a2af7ebf8a01e68a83e32106abd8fcbba3a5402bf6c6c02f7bb9b84cd483aa061bb065a0f2f6d809db55a2f6950996d70cf62a620520 SHA512 e2980b649db0c246fa87b94972f1a1e00b19f20a90e34733267cb50b0d1c8e83701f4bde3e466f9f12243c47b3cc40c6977e63164f18ee5e518b75e952988edd
23 DIST werkzeug-0.16.0.gh.tar.gz 939220 BLAKE2B 08f77bfbb8703b25be00dba018e9aea16cb4a6977ff3906f636fe24b4e16662f7777584839c8e153532f32a0551281a6fb28bf618da5d5e6c42cdc6e8b391162 SHA512 78e7d2ccceb8764f92a3252b2ff670065a42fe2ad1d2b4631e05c107d2128f8f6f4090e32bd975526e4b5985dbbdbac22e9ad1514d14e88ecfb064483107d0ed
24 +DIST werkzeug-0.16.1.gh.tar.gz 937876 BLAKE2B e5f962e9cab4a06a6f2d63ac35df896ed764377b458ccdc744800ffa5d2d456a836f0a7c4aef08b750b95904e955ce3b0241102d48bd28080e91fe29823e789e SHA512 52611b2e22b8af6b643471ca1df6e6f262067ef8882363768f21d9b0ee837aedd192c358a3a41788b2036d6c6cc0156043f1f5b8f6a04b2a701790b66837a62e
25
26 diff --git a/dev-python/werkzeug/werkzeug-0.16.1.ebuild b/dev-python/werkzeug/werkzeug-0.16.1.ebuild
27 new file mode 100644
28 index 00000000000..b8eccb69648
29 --- /dev/null
30 +++ b/dev-python/werkzeug/werkzeug-0.16.1.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +MY_PN="Werkzeug"
42 +MY_P="${MY_PN}-${PV}"
43 +
44 +DESCRIPTION="Collection of various utilities for WSGI applications"
45 +HOMEPAGE="http://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug"
46 +#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
47 +SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
52 +
53 +RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
54 +DEPEND="
55 + test? (
56 + dev-python/requests[${PYTHON_USEDEP}]
57 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
58 + dev-python/pytest-xprocess[${PYTHON_USEDEP}]
59 + )"
60 +
61 +distutils_enable_tests pytest
62 +
63 +python_test() {
64 + pytest -vv -p no:httpbin || die "Tests fail with ${EPYTHON}"
65 +}