1 |
commit: 6acf697948a485d25ae1a404dd1775f9728ec4e5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 17 09:38:16 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 17 09:38:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6acf6979 |
7 |
|
8 |
dev-python/treq: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/treq/Manifest | 2 -- |
13 |
dev-python/treq/treq-20.9.0.ebuild | 63 -------------------------------------- |
14 |
dev-python/treq/treq-21.1.0.ebuild | 63 -------------------------------------- |
15 |
3 files changed, 128 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest |
18 |
index 9e2ad2337ff..1a6ba24b421 100644 |
19 |
--- a/dev-python/treq/Manifest |
20 |
+++ b/dev-python/treq/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST treq-20.9.0.tar.gz 60142 BLAKE2B a495b73221ee86163a5fefd03c8019f4b671a1f32d2ab304b89566339a36aaec7245d33b738b646fa48c42f4db9744938637ece058e067ee3f747e53ce442ab8 SHA512 c595ad69d5a9c688ca966cc897db669a57d14027e0bdc345d550f791390099743749be4a41294e61428cdc7bc0fa197474be780323b00f17a712505e081e7073 |
23 |
-DIST treq-21.1.0.tar.gz 71018 BLAKE2B 44223c0ad618f4a57283db60063ee2fd263f958ff18d90b055733fc3bb24c87483a7b833e2210197a4edd003cb3f86647bbb636a9692e5535908b19e0186dba8 SHA512 b68ded90021cb801b276d6310e729a985205bb0701b1d0576b00c6c4efd97400625efffa35763ceef8f0f8d94172cae6fc1abdd3de1c0a4871223d4f06758d89 |
24 |
DIST treq-21.5.0.tar.gz 71323 BLAKE2B 1e1f0f4c885c1d197fdf9c1a88c9ee486c3fcc4d126498f4ce10e59d62e2445e4935e3f4cabed5de2f2663c3049ab6b49e47a0bad29380a4bb901e30d6723f49 SHA512 81ccfaa90513f0ef53c60f69ff7c60e066c6f0669ab82cf361e0720e5fd3098eb88e9b205f5bb590f1e0cde6083e5e2dfbacb6086986f0dd91fc2b3038da3093 |
25 |
|
26 |
diff --git a/dev-python/treq/treq-20.9.0.ebuild b/dev-python/treq/treq-20.9.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 7b1c8241280..00000000000 |
29 |
--- a/dev-python/treq/treq-20.9.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,63 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-PYTHON_COMPAT=( python3_{7,8} ) |
37 |
-DISTUTILS_USE_SETUPTOOLS="bdepend" |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="A requests-like API built on top of twisted.web's Agent" |
42 |
-HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
48 |
-IUSE="doc test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-COMMON_DEPEND=" |
52 |
- dev-python/incremental[${PYTHON_USEDEP}] |
53 |
- dev-python/hyperlink[${PYTHON_USEDEP}] |
54 |
-" |
55 |
- |
56 |
-RDEPEND="${COMMON_DEPEND} |
57 |
- dev-python/six[${PYTHON_USEDEP}] |
58 |
- >=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}] |
59 |
- >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] |
60 |
- dev-python/attrs[${PYTHON_USEDEP}] |
61 |
-" |
62 |
- |
63 |
-DEPEND="${COMMON_DEPEND} |
64 |
- doc? ( dev-python/sphinx |
65 |
- ${RDEPEND} ) |
66 |
- test? ( |
67 |
- dev-python/mock[${PYTHON_USEDEP}] |
68 |
- dev-python/httpbin[${PYTHON_USEDEP}] |
69 |
- )" |
70 |
- |
71 |
-python_compile_all() { |
72 |
- use doc && emake -C "${S}/docs" html |
73 |
-} |
74 |
- |
75 |
-python_install_all() { |
76 |
- use doc && HTML_DOCS=( docs/_build/html/ ) |
77 |
- |
78 |
- distutils-r1_python_install_all |
79 |
-} |
80 |
- |
81 |
-test_instructions() { |
82 |
- ewarn "The 'test' USE flag and FEATURE only ensures that the correct" |
83 |
- ewarn "dependenciess are installed for this package." |
84 |
- ewarn "Please run eg:" |
85 |
- ewarn "$ python3.7 /usr/bin/trial treq" |
86 |
- ewarn "as a user for each of the python versions it is installed to" |
87 |
- ewarn "to correctly test this package." |
88 |
-} |
89 |
- |
90 |
-python_test() { |
91 |
- # Tests fail when run via emerge |
92 |
- # they need proper network access |
93 |
- test_instructions |
94 |
-} |
95 |
|
96 |
diff --git a/dev-python/treq/treq-21.1.0.ebuild b/dev-python/treq/treq-21.1.0.ebuild |
97 |
deleted file mode 100644 |
98 |
index b5f62bffd38..00000000000 |
99 |
--- a/dev-python/treq/treq-21.1.0.ebuild |
100 |
+++ /dev/null |
101 |
@@ -1,63 +0,0 @@ |
102 |
-# Copyright 1999-2021 Gentoo Authors |
103 |
-# Distributed under the terms of the GNU General Public License v2 |
104 |
- |
105 |
-EAPI=7 |
106 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
107 |
-DISTUTILS_USE_SETUPTOOLS="bdepend" |
108 |
- |
109 |
-inherit distutils-r1 |
110 |
- |
111 |
-DESCRIPTION="A requests-like API built on top of twisted.web's Agent" |
112 |
-HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" |
113 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
114 |
- |
115 |
-LICENSE="MIT" |
116 |
-SLOT="0" |
117 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
118 |
-IUSE="doc test" |
119 |
-RESTRICT="!test? ( test )" |
120 |
- |
121 |
-COMMON_DEPEND=" |
122 |
- dev-python/incremental[${PYTHON_USEDEP}] |
123 |
- >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] |
124 |
-" |
125 |
- |
126 |
-RDEPEND="${COMMON_DEPEND} |
127 |
- dev-python/six[${PYTHON_USEDEP}] |
128 |
- >=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}] |
129 |
- >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] |
130 |
- dev-python/attrs[${PYTHON_USEDEP}] |
131 |
-" |
132 |
- |
133 |
-DEPEND="${COMMON_DEPEND} |
134 |
- doc? ( dev-python/sphinx |
135 |
- ${RDEPEND} ) |
136 |
- test? ( |
137 |
- dev-python/mock[${PYTHON_USEDEP}] |
138 |
- dev-python/httpbin[${PYTHON_USEDEP}] |
139 |
- )" |
140 |
- |
141 |
-python_compile_all() { |
142 |
- use doc && emake -C "${S}/docs" html |
143 |
-} |
144 |
- |
145 |
-python_install_all() { |
146 |
- use doc && HTML_DOCS=( docs/_build/html/ ) |
147 |
- |
148 |
- distutils-r1_python_install_all |
149 |
-} |
150 |
- |
151 |
-test_instructions() { |
152 |
- ewarn "The 'test' USE flag and FEATURE only ensures that the correct" |
153 |
- ewarn "dependenciess are installed for this package." |
154 |
- ewarn "Please run eg:" |
155 |
- ewarn "$ python3.7 /usr/bin/trial treq" |
156 |
- ewarn "as a user for each of the python versions it is installed to" |
157 |
- ewarn "to correctly test this package." |
158 |
-} |
159 |
- |
160 |
-python_test() { |
161 |
- # Tests fail when run via emerge |
162 |
- # they need proper network access |
163 |
- test_instructions |
164 |
-} |