Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/
Date: Fri, 25 Dec 2020 23:35:30
Message-Id: 1608939288.23fa08ef47134c15140230edd7aaa534cc973fca.mgorny@gentoo
1 commit: 23fa08ef47134c15140230edd7aaa534cc973fca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 23:34:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 23:34:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23fa08ef
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 | 2 --
13 dev-python/httpretty/httpretty-0.9.6.ebuild | 43 ----------------------
14 dev-python/httpretty/httpretty-1.0.2-r1.ebuild | 49 --------------------------
15 3 files changed, 94 deletions(-)
16
17 diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest
18 index bad5cea5721..09b1d35e84c 100644
19 --- a/dev-python/httpretty/Manifest
20 +++ b/dev-python/httpretty/Manifest
21 @@ -1,3 +1 @@
22 -DIST httpretty-0.9.6.tar.gz 7147633 BLAKE2B e1d02ddfce5ca987c6ef1a17723544f86a8573c2a6a26ec197072021e52015efce5064af21bfbe1ec03f3ac11c21717a80f114b5be2526b113e3bc0a608702f4 SHA512 bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92
23 -DIST httpretty-1.0.2.tar.gz 399185 BLAKE2B 033e954fccf6a351c09dac3c1585ddc65f064eca109dfd8f499fd510ea09ba3ce5198d3f4b54fb832b47425ab721ddc1b2da596b6066028bda1f0a1303cdc0ed SHA512 f9ef1c82f4fe3a31696e06228cea512664c5118b3c32910d7810d1fcf16b05d31b9b55db7bb6bd64967aadb162a2952757627439769db9117164b8248de9049c
24 DIST httpretty-1.0.3.tar.gz 411707 BLAKE2B b2211457c937e19f8110bc28446a2b78a8042a742341c0492589def7447e819f051d301e9d254260778f349302ccf6fc163a9f2280a55af925ae353752450320 SHA512 a6349257376c12198d0bf7923245c34f6b8a0889946ba0c2551fd3379a8d9a8e4610de81c66f945656c1879ad3fb1485f2f4148634fcc4e156b9f0a59f7dd758
25
26 diff --git a/dev-python/httpretty/httpretty-0.9.6.ebuild b/dev-python/httpretty/httpretty-0.9.6.ebuild
27 deleted file mode 100644
28 index 512384afe0f..00000000000
29 --- a/dev-python/httpretty/httpretty-0.9.6.ebuild
30 +++ /dev/null
31 @@ -1,43 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7} )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="HTTP client mock for Python"
42 -HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -SLOT="0"
46 -LICENSE="MIT"
47 -KEYWORDS="amd64 ~arm64 ppc64 x86"
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -RDEPEND="
52 - dev-python/six[${PYTHON_USEDEP}]
53 - dev-python/urllib3[${PYTHON_USEDEP}]"
54 -DEPEND="
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 - test? (
57 - >=dev-python/nose-1.2[${PYTHON_USEDEP}]
58 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
59 - dev-python/sure[${PYTHON_USEDEP}]
60 - dev-python/httplib2[${PYTHON_USEDEP}]
61 - >=dev-python/requests-1.1[${PYTHON_USEDEP}]
62 - >=www-servers/tornado-2.2[${PYTHON_USEDEP}]
63 -)"
64 -
65 -python_prepare_all() {
66 - # remove useless deps
67 - sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
68 -
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_test() {
73 - nosetests -v tests || die "Tests fail with ${EPYTHON}"
74 -}
75
76 diff --git a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild b/dev-python/httpretty/httpretty-1.0.2-r1.ebuild
77 deleted file mode 100644
78 index 12c6a2505f0..00000000000
79 --- a/dev-python/httpretty/httpretty-1.0.2-r1.ebuild
80 +++ /dev/null
81 @@ -1,49 +0,0 @@
82 -# Copyright 1999-2020 Gentoo Authors
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=7
86 -
87 -PYTHON_COMPAT=( python3_{6..9} )
88 -
89 -inherit distutils-r1
90 -
91 -DESCRIPTION="HTTP client mock for Python"
92 -HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
93 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
94 -
95 -SLOT="0"
96 -LICENSE="MIT"
97 -KEYWORDS="amd64 arm arm64 ppc ~ppc64 sparc x86"
98 -IUSE="test"
99 -RESTRICT="!test? ( test )"
100 -
101 -RDEPEND="
102 - dev-python/urllib3[${PYTHON_USEDEP}]"
103 -# redis skipped as it requires a redis server running
104 -DEPEND="
105 - test? (
106 - dev-python/eventlet[${PYTHON_USEDEP}]
107 - dev-python/freezegun[${PYTHON_USEDEP}]
108 - dev-python/httplib2[${PYTHON_USEDEP}]
109 - >=dev-python/nose-1.2[${PYTHON_USEDEP}]
110 - dev-python/pyopenssl[${PYTHON_USEDEP}]
111 - >=dev-python/requests-1.1[${PYTHON_USEDEP}]
112 - dev-python/sure[${PYTHON_USEDEP}]
113 - >=www-servers/tornado-2.2[${PYTHON_USEDEP}]
114 -)"
115 -
116 -python_prepare_all() {
117 - # remove useless deps
118 - sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
119 - # tests requiring network access
120 - rm tests/functional/test_passthrough.py || die
121 - # requires running redis server
122 - # it is skipped correctly but it causes unnecessary dep on redis-py
123 - rm tests/functional/bugfixes/test_redis.py || die
124 -
125 - distutils-r1_python_prepare_all
126 -}
127 -
128 -python_test() {
129 - nosetests -v tests || die "Tests fail with ${EPYTHON}"
130 -}