1 |
commit: c89173f4bd228379ca31b2d821e7cc88957881b7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 26 16:35:39 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 26 16:55:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89173f4 |
7 |
|
8 |
dev-python/bottle: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/bottle/Manifest | 2 -- |
13 |
dev-python/bottle/bottle-0.12.12.ebuild | 49 --------------------------------- |
14 |
dev-python/bottle/bottle-0.12.13.ebuild | 49 --------------------------------- |
15 |
3 files changed, 100 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/bottle/Manifest b/dev-python/bottle/Manifest |
18 |
index 56153c75cb9..b045cc6bb2e 100644 |
19 |
--- a/dev-python/bottle/Manifest |
20 |
+++ b/dev-python/bottle/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST bottle-0.12.12.tar.gz 71554 BLAKE2B 4b0d0d77c5ebaddcafd44e16a052535ded566245324d39e97a39dd20a193360487f9489e8e89471dd92ca35d6c5b2e8cbe1572a958db31b69d32d3e32f1b6403 SHA512 cdba3859129680f08b8c641708fd884ccf46d404786cbf48435d752fece998a446f49799e4e05e979b967843866f3e966a35a6cac7aed3270df55fae508bae31 |
23 |
-DIST bottle-0.12.13.tar.gz 70870 BLAKE2B d8bdef473181ce1cf6c0d1ea3537c407e68d23c1c44ca33e26c647d3b3783040d466b594c56c10cdd007d23bdf1708412d3e3ff108effa9e8a92e1b22f7a6c69 SHA512 86d106eb08e0b736a85aa69871f2d1e23c1d6f71948b85718daf131002c53c000e092ffdfe5b36c60460473467a2ca2b5af19767344689ffe638245e6859a80b |
24 |
DIST bottle-0.12.16.tar.gz 72248 BLAKE2B 21b5bc376648baec74577ac5b57fcacc58899babe07a034a436d5e2bde75a9e2e48b2569c5caf1478e77790c5fa327114ab9b084f014cc1ba97637d9ddfec659 SHA512 3c167f95902522c8f264e8478403da8e9b8cd84594318c4a773d38b7548b5ba95c99ef922033f6885cdc044b31f9c2e2f7ed263886637ce2a048e99c0c6e1403 |
25 |
DIST bottle-0.12.18.tar.gz 71557 BLAKE2B a34cc1ab9a2a8505b7fda8bbddbae30b4e6c4829cae53f0f886237a21fdfa7f2b2463b216d7a16464539f41bdce4c1dabb5cc66027b8fdd19b10e9a78a3cdbb5 SHA512 db8a341cd80d755205518bb9eac5b79dca9e541ab3ad9d9d57f891d895f7df75a8facd16b068cbdf7c4f884f35e384449f4cbd565a43e9c5d000d3a9f5b7dcb0 |
26 |
|
27 |
diff --git a/dev-python/bottle/bottle-0.12.12.ebuild b/dev-python/bottle/bottle-0.12.12.ebuild |
28 |
deleted file mode 100644 |
29 |
index 410b02f20b9..00000000000 |
30 |
--- a/dev-python/bottle/bottle-0.12.12.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,49 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 eutils |
41 |
- |
42 |
-DESCRIPTION="A fast and simple micro-framework for small web-applications" |
43 |
-HOMEPAGE="https://pypi.org/project/bottle/ http://bottlepy.org/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
- test? ( dev-python/mako[$(python_gen_usedep 'python*')] )" |
54 |
-RDEPEND="" |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch |
58 |
-) |
59 |
- |
60 |
-python_prepare_all() { |
61 |
- sed -i -e '/scripts/d' setup.py || die |
62 |
- |
63 |
- # Remove test file requring connection to network |
64 |
- rm test/test_server.py || die |
65 |
- distutils-r1_python_prepare_all |
66 |
-} |
67 |
- |
68 |
-python_test() { |
69 |
- # A few odd fails in the suite under pypy |
70 |
- # https://github.com/bottlepy/bottle/issues/714 |
71 |
- "${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" |
72 |
-} |
73 |
- |
74 |
-pkg_postinst() { |
75 |
- optfeature "Templating support" dev-python/mako |
76 |
- elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" |
77 |
- elog "we do as most other distros and do not install the script anymore." |
78 |
- elog "If you do want/have to call it directly rather than through your app," |
79 |
- elog "please use the following instead:" |
80 |
- elog ' `python -m bottle`' |
81 |
-} |
82 |
|
83 |
diff --git a/dev-python/bottle/bottle-0.12.13.ebuild b/dev-python/bottle/bottle-0.12.13.ebuild |
84 |
deleted file mode 100644 |
85 |
index 6b4830583b0..00000000000 |
86 |
--- a/dev-python/bottle/bottle-0.12.13.ebuild |
87 |
+++ /dev/null |
88 |
@@ -1,49 +0,0 @@ |
89 |
-# Copyright 1999-2020 Gentoo Authors |
90 |
-# Distributed under the terms of the GNU General Public License v2 |
91 |
- |
92 |
-EAPI=5 |
93 |
- |
94 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 ) |
95 |
- |
96 |
-inherit distutils-r1 eutils |
97 |
- |
98 |
-DESCRIPTION="A fast and simple micro-framework for small web-applications" |
99 |
-HOMEPAGE="https://pypi.org/project/bottle/ http://bottlepy.org/" |
100 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
101 |
- |
102 |
-LICENSE="MIT" |
103 |
-SLOT="0" |
104 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
105 |
-IUSE="test" |
106 |
-RESTRICT="!test? ( test )" |
107 |
- |
108 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
109 |
- test? ( dev-python/mako[$(python_gen_usedep 'python*')] )" |
110 |
-RDEPEND="" |
111 |
- |
112 |
-PATCHES=( |
113 |
- "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch |
114 |
-) |
115 |
- |
116 |
-python_prepare_all() { |
117 |
- sed -i -e '/scripts/d' setup.py || die |
118 |
- |
119 |
- # Remove test file requring connection to network |
120 |
- rm test/test_server.py || die |
121 |
- distutils-r1_python_prepare_all |
122 |
-} |
123 |
- |
124 |
-python_test() { |
125 |
- # A few odd fails in the suite under pypy |
126 |
- # https://github.com/bottlepy/bottle/issues/714 |
127 |
- "${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- optfeature "Templating support" dev-python/mako |
132 |
- elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" |
133 |
- elog "we do as most other distros and do not install the script anymore." |
134 |
- elog "If you do want/have to call it directly rather than through your app," |
135 |
- elog "please use the following instead:" |
136 |
- elog ' `python -m bottle`' |
137 |
-} |