1 |
commit: 31e8023721cd02277d16a08cf397da2aa170f660 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 20:13:07 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 20:13:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e80237 |
7 |
|
8 |
dev-python/werkzeug: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/werkzeug/Manifest | 2 -- |
13 |
dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild | 50 -------------------------- |
14 |
dev-python/werkzeug/werkzeug-2.0.3.ebuild | 54 ---------------------------- |
15 |
3 files changed, 106 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest |
18 |
index 55f6e0480152..fbe4563e9de3 100644 |
19 |
--- a/dev-python/werkzeug/Manifest |
20 |
+++ b/dev-python/werkzeug/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST werkzeug-1.0.1.gh.tar.gz 907482 BLAKE2B d2dcdce8b1bcbb177b52b0915f2c0ac17d235dee3c77b23e81e4b35412d1f53a194d3c7c7f2a5c065ade99797effe72cc464cf6980b12c761a8a919338021660 SHA512 ba82120fb3e96e3a1334c6452d5ba1950fc016d2d147d643bbc2168ccec496f1dea799982ae8c578167155082c0bdbda5d56a23f64b4b6865f97e90e22df022e |
23 |
-DIST werkzeug-2.0.3.gh.tar.gz 897523 BLAKE2B 1f97a2f7184e8e11bb85722becae7cc032ada38a642a2f925f7b81e89c881011889189999d50dab4591fc2e874aac4ab92b0f1531c211468cf352e31b0b8c8d0 SHA512 a205cd981b3e1b481436e483190427ff3808a5ea80abc616ca08d899d0e6a39893a5cb60adc65c99dcab3af47c24b321c71996d719cb7f224de7942b44b1fd69 |
24 |
DIST werkzeug-2.1.1.gh.tar.gz 833268 BLAKE2B 28d922f99259b606c431b224222fe6474c68f8a11f9910fe9e4eedbdf30d18a101c25490dee205035ea7b3675e644f619a81cbf493c7d5540c6141ff3840d84a SHA512 992b5b0a95db5266d025e06683b04f932def72c3967b2c9903f718c5f2672cf0abadb247cf77029d99b567c9588f5ae03b6b07d566bfd764c738ede53501ba1b |
25 |
DIST werkzeug-2.1.2.gh.tar.gz 833667 BLAKE2B e045f566862bfe0f86185cd10aa26bf94a4fc2f7b23173c6a28c9b55d0f239fbba5c66071fab5df6102717b51a1c1fada872e9d9383b9d3b34ab92ffcfd96e59 SHA512 28c4a794a3dbc8423e59244fbcf192b60b53f378444aaaf60330bdd62cec38a4625033b5d72b55613c8b26053a60153ddcb816331ff28ad3ee03bede74d8b1b3 |
26 |
|
27 |
diff --git a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index a22e39af6191..000000000000 |
30 |
--- a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,50 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-MY_PN="Werkzeug" |
43 |
-MY_P="${MY_PN}-${PV}" |
44 |
- |
45 |
-DESCRIPTION="Collection of various utilities for WSGI applications" |
46 |
-HOMEPAGE=" |
47 |
- https://werkzeug.palletsprojects.com/ |
48 |
- https://pypi.org/project/Werkzeug/ |
49 |
- https://github.com/pallets/werkzeug" |
50 |
-#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
51 |
-SRC_URI="https://github.com/pallets/werkzeug/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" |
52 |
- |
53 |
-LICENSE="BSD" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
56 |
- |
57 |
-RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" |
58 |
-DEPEND=" |
59 |
- test? ( |
60 |
- dev-python/click[${PYTHON_USEDEP}] |
61 |
- dev-python/requests[${PYTHON_USEDEP}] |
62 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
63 |
- dev-python/pytest-xprocess[${PYTHON_USEDEP}] |
64 |
- !alpha? ( !hppa? ( !ia64? ( |
65 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
66 |
- ) ) ) |
67 |
- )" |
68 |
- |
69 |
-distutils_enable_tests pytest |
70 |
- |
71 |
-src_prepare() { |
72 |
- # this test is very unreliable; it may fail randomly depending |
73 |
- # on installed packages |
74 |
- sed -i -e 's:test_no_memory_leak_from_Rule_builder:_&:' \ |
75 |
- tests/test_routing.py || die |
76 |
- |
77 |
- distutils-r1_src_prepare |
78 |
-} |
79 |
- |
80 |
-python_test() { |
81 |
- pytest -vv -x -p no:httpbin tests/test_routing.py || die "Tests fail with ${EPYTHON}" |
82 |
-} |
83 |
|
84 |
diff --git a/dev-python/werkzeug/werkzeug-2.0.3.ebuild b/dev-python/werkzeug/werkzeug-2.0.3.ebuild |
85 |
deleted file mode 100644 |
86 |
index 2ac5622c4f00..000000000000 |
87 |
--- a/dev-python/werkzeug/werkzeug-2.0.3.ebuild |
88 |
+++ /dev/null |
89 |
@@ -1,54 +0,0 @@ |
90 |
-# Copyright 1999-2022 Gentoo Authors |
91 |
-# Distributed under the terms of the GNU General Public License v2 |
92 |
- |
93 |
-EAPI=8 |
94 |
- |
95 |
-DISTUTILS_USE_PEP517=setuptools |
96 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
97 |
- |
98 |
-inherit distutils-r1 |
99 |
- |
100 |
-DESCRIPTION="Collection of various utilities for WSGI applications" |
101 |
-HOMEPAGE=" |
102 |
- https://werkzeug.palletsprojects.com/ |
103 |
- https://pypi.org/project/Werkzeug/ |
104 |
- https://github.com/pallets/werkzeug/" |
105 |
-SRC_URI=" |
106 |
- https://github.com/pallets/werkzeug/archive/${PV}.tar.gz |
107 |
- -> ${P}.gh.tar.gz" |
108 |
- |
109 |
-LICENSE="BSD" |
110 |
-SLOT="0" |
111 |
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
112 |
- |
113 |
-BDEPEND=" |
114 |
- test? ( |
115 |
- !hppa? ( !ia64? ( |
116 |
- $(python_gen_cond_dep ' |
117 |
- dev-python/greenlet[${PYTHON_USEDEP}] |
118 |
- ' 'python*') |
119 |
- ) ) |
120 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
121 |
- dev-python/pytest-xprocess[${PYTHON_USEDEP}] |
122 |
- dev-python/watchdog[${PYTHON_USEDEP}] |
123 |
- !alpha? ( !hppa? ( !ia64? ( |
124 |
- dev-python/cryptography[${PYTHON_USEDEP}] |
125 |
- ) ) ) |
126 |
- )" |
127 |
- |
128 |
-distutils_enable_tests pytest |
129 |
- |
130 |
-python_test() { |
131 |
- local EPYTEST_DESELECT=() |
132 |
- if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then |
133 |
- EPYTEST_DESELECT+=( |
134 |
- "tests/test_serving.py::test_server[https]" |
135 |
- tests/test_serving.py::test_ssl_dev_cert |
136 |
- tests/test_serving.py::test_ssl_object |
137 |
- ) |
138 |
- fi |
139 |
- |
140 |
- # the default portage tempdir is too long for AF_UNIX sockets |
141 |
- local -x TMPDIR=/tmp |
142 |
- epytest -p no:django -p no:httpbin tests |
143 |
-} |