1 |
commit: 3821c1bb96c188e5b30552333cba8244c2691fb4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 09:29:11 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 09:36:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3821c1bb |
7 |
|
8 |
dev-python/httpretty: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/httpretty/Manifest | 1 - |
13 |
dev-python/httpretty/httpretty-0.9.7.ebuild | 43 ----------------------------- |
14 |
2 files changed, 44 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest |
17 |
index 54077ea86c6..942fa7ec9ec 100644 |
18 |
--- a/dev-python/httpretty/Manifest |
19 |
+++ b/dev-python/httpretty/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST httpretty-0.9.6.tar.gz 7147633 BLAKE2B e1d02ddfce5ca987c6ef1a17723544f86a8573c2a6a26ec197072021e52015efce5064af21bfbe1ec03f3ac11c21717a80f114b5be2526b113e3bc0a608702f4 SHA512 bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92 |
22 |
-DIST httpretty-0.9.7.tar.gz 6967749 BLAKE2B e2192871ca4f0f0c0bc7c39570251d26a6d78b6e5aabb1857df2b5c3533ae066400fca323d53e1790bfa2a1509e8ebb87d20d49659620087ca3c3765648662ec SHA512 4a1cdfc09af14ab2bc6eec84ad0905103ffb48c3154b127f646b39ff131584a52b1fd56bfe7a41959fc68d64eff94a221f9bf5a159a3dbfb3535fe4ac76c6170 |
23 |
DIST httpretty-1.0.2.tar.gz 399185 BLAKE2B 033e954fccf6a351c09dac3c1585ddc65f064eca109dfd8f499fd510ea09ba3ce5198d3f4b54fb832b47425ab721ddc1b2da596b6066028bda1f0a1303cdc0ed SHA512 f9ef1c82f4fe3a31696e06228cea512664c5118b3c32910d7810d1fcf16b05d31b9b55db7bb6bd64967aadb162a2952757627439769db9117164b8248de9049c |
24 |
|
25 |
diff --git a/dev-python/httpretty/httpretty-0.9.7.ebuild b/dev-python/httpretty/httpretty-0.9.7.ebuild |
26 |
deleted file mode 100644 |
27 |
index 54886415f6c..00000000000 |
28 |
--- a/dev-python/httpretty/httpretty-0.9.7.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,43 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="HTTP client mock for Python" |
41 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-SLOT="0" |
45 |
-LICENSE="MIT" |
46 |
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
47 |
-IUSE="test" |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- dev-python/six[${PYTHON_USEDEP}] |
52 |
- dev-python/urllib3[${PYTHON_USEDEP}]" |
53 |
-DEPEND=" |
54 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
- test? ( |
56 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
57 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
58 |
- dev-python/sure[${PYTHON_USEDEP}] |
59 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
60 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
61 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
62 |
-)" |
63 |
- |
64 |
-python_prepare_all() { |
65 |
- # remove useless deps |
66 |
- sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die |
67 |
- |
68 |
- distutils-r1_python_prepare_all |
69 |
-} |
70 |
- |
71 |
-python_test() { |
72 |
- nosetests -v tests || die "Tests fail with ${EPYTHON}" |
73 |
-} |