1 |
commit: bda3b167fab6a990490d3f6617c6eca28ea0be6b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 20:58:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 21:04:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda3b167 |
7 |
|
8 |
dev-python/flask: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flask/Manifest | 1 - |
13 |
dev-python/flask/flask-1.1.4.ebuild | 50 ------------------------------------- |
14 |
2 files changed, 51 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest |
17 |
index ec2de2cc1313..350e9d56bfea 100644 |
18 |
--- a/dev-python/flask/Manifest |
19 |
+++ b/dev-python/flask/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST Flask-1.1.4.tar.gz 635920 BLAKE2B c1f19e7449177ecf6e901d5932ad25cbe866ff53b9323f717541922b1ea5b10203ff07630fcf3eabaedd9b6a24ef031ad2aaa2e2f759925363bebfa7e5d967da SHA512 6f427a1264921b8560446afacee2757d16de0dc22d6ed249b7bc5d6f50f3af50c89b79ce900d75b41af4befc53910f2b532c2e280de42837e2133acb6b1bd80d |
22 |
DIST Flask-2.1.1.tar.gz 630996 BLAKE2B 39b34a3f68111e4b58f4e1e63fc55077b839d42b9ab4f87bf96f22d1dbcf05c1a520e84d35af81d4ebad2535e4f22af2070c8354b3f7d885b4db304d374243a7 SHA512 492bd72e80b6ad8a5d91191b996252c05fee8d8b2f703855fe635755976e75ee7a93a30ebe4889c80cc959034c3fb8caca0dec8436657ad8096860b1b11dcb2e |
23 |
DIST Flask-2.1.2.tar.gz 631846 BLAKE2B 9024a12dd6fabeffcf5939e2852734b278f25fb99830bb165cf46a09e3fd67d0997558d1b06a0dec3425d9b750be25bde147341c937e874811fe2496224a1f3e SHA512 65ca756d63da05e74863fbfd2ae574d6e75d6fab683dd08ea97b22a9b27be4f9a03ce7be44312a1f2c6a802bdf77ede3899734f3f1546000dd8b9c592571deec |
24 |
|
25 |
diff --git a/dev-python/flask/flask-1.1.4.ebuild b/dev-python/flask/flask-1.1.4.ebuild |
26 |
deleted file mode 100644 |
27 |
index d98420e5f599..000000000000 |
28 |
--- a/dev-python/flask/flask-1.1.4.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,50 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" |
40 |
-HOMEPAGE="https://github.com/pallets/flask/" |
41 |
-MY_PN="Flask" |
42 |
-MY_P="${MY_PN}-${PV}" |
43 |
-if [[ ${PV} == *9999* ]]; then |
44 |
- EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" |
45 |
- inherit git-r3 |
46 |
-else |
47 |
- SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
48 |
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
49 |
- S="${WORKDIR}/${MY_P}" |
50 |
-fi |
51 |
- |
52 |
-LICENSE="BSD" |
53 |
-SLOT="0" |
54 |
-IUSE="examples test" |
55 |
-RESTRICT="!test? ( test )" |
56 |
- |
57 |
-RDEPEND="<dev-python/click-8[${PYTHON_USEDEP}] |
58 |
- dev-python/blinker[${PYTHON_USEDEP}] |
59 |
- <dev-python/itsdangerous-2[${PYTHON_USEDEP}] |
60 |
- <dev-python/jinja-3[${PYTHON_USEDEP}] |
61 |
- <dev-python/werkzeug-2[${PYTHON_USEDEP}]" |
62 |
-DEPEND=" |
63 |
- test? ( |
64 |
- ${RDEPEND} |
65 |
- dev-python/pytest[${PYTHON_USEDEP}] |
66 |
- )" |
67 |
- |
68 |
-distutils_enable_sphinx docs |
69 |
- |
70 |
-python_test() { |
71 |
- distutils_install_for_testing |
72 |
- PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \ |
73 |
- pytest -vv -p no:httpbin || die "Testing failed with ${EPYTHON}" |
74 |
-} |
75 |
- |
76 |
-python_install_all() { |
77 |
- use examples && dodoc -r examples |
78 |
- |
79 |
- distutils-r1_python_install_all |
80 |
-} |