1 |
commit: 35718bb2da369c7044e4a40115016d138f28f348 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 29 08:52:53 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 29 08:52:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35718bb2 |
7 |
|
8 |
dev-python/treq: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.83, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-python/treq/Manifest | 3 -- |
14 |
dev-python/treq/treq-0.2.1.ebuild | 42 -------------------------- |
15 |
dev-python/treq/treq-16.12.0.ebuild | 48 ----------------------------- |
16 |
dev-python/treq/treq-17.3.1.ebuild | 60 ------------------------------------- |
17 |
4 files changed, 153 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest |
20 |
index 8bfede1339b..b1a246e44b5 100644 |
21 |
--- a/dev-python/treq/Manifest |
22 |
+++ b/dev-python/treq/Manifest |
23 |
@@ -1,4 +1 @@ |
24 |
-DIST treq-0.2.1.tar.gz 30954 BLAKE2B e7f97fea21c18821db2eba6c26f717cbd83297822e3e607c0a451bd5fc9be1d96200c9780857ac2aa2ce297a5bec681c54c4d3dc18ae3d8f391454e19e744e7e SHA512 d9236c395dca66d358fc9bb1b752e02a7d6335195235808452542de33145057c1c2e959658015b3c89c9a20c35b1a8edb752e151230e72edd313dde6cd6a4cac |
25 |
-DIST treq-16.12.0.tar.gz 43685 BLAKE2B 3d05c41eb0a471e912959546f7e7abf0d8986dcb28b0c36cf1cccfeefd600c3a7141f93650a1b6947665c2ee24cda02ecc8e4ed927b1fb3c36309e23edaea33a SHA512 9385ada8cdf88e608937c118c29506372d8d3a8e7dcdc54998461652f106e4ccca4d6fa0a3f14ff5d9312da7ea1e531a9e4b0772b694b8dbe03f456101d63cca |
26 |
-DIST treq-17.3.1.tar.gz 47380 BLAKE2B 61b51c46252629358c0ffaef7f4e7e2010e2d58c307461caf42982f8b6ad2714af57c37065bdd87a94d2b9e2fde150473b45116f2d8d270f783f20e1a8291020 SHA512 e52cccbfa663314e968b33c58a5be5782063b2d6313a4ee5a03df912146c6ca25abca82915f30791f865afd2c08bb04c9993d9204d876c7ec2b308c6e51cb821 |
27 |
DIST treq-17.8.0.tar.gz 56439 BLAKE2B 3e39c84453793baf3107c38b656c8968e593845fc0d41035b558326ff947a9e17903ce33dee3157d2cb2f79ab3aa884ddebcd52e743cd6e1ad08a0de324cd6bc SHA512 62933a512fcc8b0e77333eb9268846ad17f4b44cf6ea317ada2565054100be3caf03bda0a1becd775ec85528fc2f5ddec33d23d3579cf484a3c6ba7c71c50a7f |
28 |
|
29 |
diff --git a/dev-python/treq/treq-0.2.1.ebuild b/dev-python/treq/treq-0.2.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 3ca277aaa03..00000000000 |
32 |
--- a/dev-python/treq/treq-0.2.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,42 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=5 |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Python requests like API built on top of Twisted's HTTP client." |
43 |
-HOMEPAGE="https://github.com/dreid/${PN}" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64" |
49 |
-IUSE="doc test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
53 |
- |
54 |
-RDEPEND="${COMMON_DEPEND} |
55 |
- >=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}] |
56 |
- >=dev-python/twisted-core-12.1.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/twisted-web-12.1.0[${PYTHON_USEDEP}] |
58 |
- dev-python/requests[${PYTHON_USEDEP}] |
59 |
- dev-python/service_identity[${PYTHON_USEDEP}]" |
60 |
- |
61 |
-DEPEND="${COMMON_DEPEND} |
62 |
- doc? ( dev-python/sphinx |
63 |
- ${RDEPEND} ) |
64 |
- test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
65 |
- |
66 |
-python_compile_all() { |
67 |
- use doc && emake -C "${S}/docs" html |
68 |
-} |
69 |
- |
70 |
-python_install_all() { |
71 |
- use doc && dohtml -r "${S}/docs/_build/html/"* |
72 |
-} |
73 |
- |
74 |
-python_test() { |
75 |
- trial treq || die "Tests fail with ${EPYTHON}" |
76 |
-} |
77 |
|
78 |
diff --git a/dev-python/treq/treq-16.12.0.ebuild b/dev-python/treq/treq-16.12.0.ebuild |
79 |
deleted file mode 100644 |
80 |
index ee407be1865..00000000000 |
81 |
--- a/dev-python/treq/treq-16.12.0.ebuild |
82 |
+++ /dev/null |
83 |
@@ -1,48 +0,0 @@ |
84 |
-# Copyright 1999-2019 Gentoo Authors |
85 |
-# Distributed under the terms of the GNU General Public License v2 |
86 |
- |
87 |
-EAPI=6 |
88 |
-PYTHON_COMPAT=( python2_7 python3_5 ) |
89 |
-inherit distutils-r1 |
90 |
- |
91 |
-DESCRIPTION="A requests-like API built on top of twisted.web's Agent" |
92 |
-HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" |
93 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
94 |
- |
95 |
-LICENSE="MIT" |
96 |
-SLOT="0" |
97 |
-KEYWORDS="~amd64 ~x86" |
98 |
-IUSE="doc test" |
99 |
-RESTRICT="!test? ( test )" |
100 |
- |
101 |
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
102 |
- |
103 |
-RDEPEND="${COMMON_DEPEND} |
104 |
- dev-python/six[${PYTHON_USEDEP}] |
105 |
- >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] |
106 |
- >=dev-python/twisted-16.0.0[crypt,${PYTHON_USEDEP}] |
107 |
- >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] |
108 |
- >=dev-python/service_identity-14.0.0[${PYTHON_USEDEP}] |
109 |
- dev-python/incremental[${PYTHON_USEDEP}]" |
110 |
- |
111 |
-DEPEND="${COMMON_DEPEND} |
112 |
- doc? ( dev-python/sphinx |
113 |
- ${RDEPEND} ) |
114 |
- test? ( |
115 |
- dev-python/mock[${PYTHON_USEDEP}] |
116 |
- dev-python/pyflakes[${PYTHON_USEDEP}] |
117 |
- dev-python/pep8[${PYTHON_USEDEP}] |
118 |
- )" |
119 |
- |
120 |
-python_compile_all() { |
121 |
- use doc && emake -C "${S}/docs" html |
122 |
-} |
123 |
- |
124 |
-python_install_all() { |
125 |
- use doc && dohtml -r "${S}/docs/_build/html/"* |
126 |
- distutils-r1_python_install_all |
127 |
-} |
128 |
- |
129 |
-python_test() { |
130 |
- trial treq || die "Tests fail with ${EPYTHON}" |
131 |
-} |
132 |
|
133 |
diff --git a/dev-python/treq/treq-17.3.1.ebuild b/dev-python/treq/treq-17.3.1.ebuild |
134 |
deleted file mode 100644 |
135 |
index 42cf044eb01..00000000000 |
136 |
--- a/dev-python/treq/treq-17.3.1.ebuild |
137 |
+++ /dev/null |
138 |
@@ -1,60 +0,0 @@ |
139 |
-# Copyright 1999-2019 Gentoo Authors |
140 |
-# Distributed under the terms of the GNU General Public License v2 |
141 |
- |
142 |
-EAPI=6 |
143 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
144 |
-inherit distutils-r1 |
145 |
- |
146 |
-DESCRIPTION="A requests-like API built on top of twisted.web's Agent" |
147 |
-HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" |
148 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
149 |
- |
150 |
-LICENSE="MIT" |
151 |
-SLOT="0" |
152 |
-KEYWORDS="~amd64 ~x86" |
153 |
-IUSE="doc test" |
154 |
-RESTRICT="!test? ( test )" |
155 |
- |
156 |
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
157 |
- dev-python/incremental[${PYTHON_USEDEP}] |
158 |
-" |
159 |
- |
160 |
-RDEPEND="${COMMON_DEPEND} |
161 |
- dev-python/six[${PYTHON_USEDEP}] |
162 |
- >=dev-python/twisted-16.4.0[crypt,${PYTHON_USEDEP}] |
163 |
- >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] |
164 |
- dev-python/attrs[${PYTHON_USEDEP}] |
165 |
-" |
166 |
- |
167 |
-DEPEND="${COMMON_DEPEND} |
168 |
- doc? ( dev-python/sphinx |
169 |
- ${RDEPEND} ) |
170 |
- test? ( |
171 |
- dev-python/mock[${PYTHON_USEDEP}] |
172 |
- dev-python/pyflakes[${PYTHON_USEDEP}] |
173 |
- dev-python/pep8[${PYTHON_USEDEP}] |
174 |
- )" |
175 |
- |
176 |
-python_compile_all() { |
177 |
- use doc && emake -C "${S}/docs" html |
178 |
-} |
179 |
- |
180 |
-python_install_all() { |
181 |
- use doc && dohtml -r "${S}/docs/_build/html/"* |
182 |
- distutils-r1_python_install_all |
183 |
-} |
184 |
- |
185 |
-test_instructions(){ |
186 |
- ewarn "The 'test' USE flag and FEATURE only ensures that the correct" |
187 |
- ewarn "dependenciess are installed for this package." |
188 |
- ewarn "Please run eg:" |
189 |
- ewarn "$ python3.4 /usr/bin/trial treq" |
190 |
- ewarn "as a user for each of the python versions it is installed to" |
191 |
- ewarn "to correctly test this package." |
192 |
-} |
193 |
- |
194 |
-python_test() { |
195 |
- # Tests fail when run via emerge |
196 |
- # they need proper network access |
197 |
- test_instructions |
198 |
-} |