1 |
commit: ab3f7a6826c9163829367015573938e8eb78be66 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 10 08:26:59 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 10 08:26:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3f7a68 |
7 |
|
8 |
dev-python/httplib2: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/httplib2/Manifest | 1 - |
13 |
dev-python/httplib2/httplib2-0.18.1-r1.ebuild | 49 --------------------------- |
14 |
2 files changed, 50 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest |
17 |
index 64c843876d8..aadcd1f8b58 100644 |
18 |
--- a/dev-python/httplib2/Manifest |
19 |
+++ b/dev-python/httplib2/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST httplib2-0.18.1.tar.gz 262930 BLAKE2B d8130dfbbee71dae1319a8a65fb2ae96d667bba08cfc586c0a9239d6bf6cb475fbd4548d6b5276b8001a02417eebff4a7565024d43c630b8ed51e467cdd3de71 SHA512 a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a |
22 |
DIST httplib2-0.19.0.tar.gz 263522 BLAKE2B b35c8dcf86de17a5d8eac86a9a6b4110fb247925662e24a7645a67dfd0b2e640dc29875b41673c5a91a083f17e9619fd40dd08cf2c9ee7f48c8069bc14a50966 SHA512 9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f |
23 |
|
24 |
diff --git a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 9a1167aa81e..00000000000 |
27 |
--- a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,49 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="A comprehensive HTTP client library" |
40 |
-HOMEPAGE="https://pypi.org/project/httplib2/" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="MIT" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
46 |
- |
47 |
-RDEPEND="app-misc/ca-certificates" |
48 |
-BDEPEND=" |
49 |
- test? ( |
50 |
- dev-python/mock[${PYTHON_USEDEP}] |
51 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
52 |
- )" |
53 |
- |
54 |
-distutils_enable_tests pytest |
55 |
- |
56 |
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch ) |
57 |
- |
58 |
-src_prepare() { |
59 |
- sed -i -e '/--cov/d' setup.cfg || die |
60 |
- |
61 |
- # broken by using system certificates |
62 |
- sed -e 's:test_certs_file_from_builtin:_&:' \ |
63 |
- -e 's:test_certs_file_from_environment:_&:' \ |
64 |
- -e 's:test_with_certifi_removed_from_modules:_&:' \ |
65 |
- -i tests/test_cacerts_from_env.py || die |
66 |
- # broken by new PySocks, probably |
67 |
- sed -e 's:test_server_not_found_error_is_raised_for_invalid_hostname:_&:' \ |
68 |
- -e 's:test_socks5_auth:_&:' \ |
69 |
- -i tests/test_proxy.py || die |
70 |
- |
71 |
- distutils-r1_src_prepare |
72 |
-} |
73 |
- |
74 |
-python_test() { |
75 |
- # tests in python* are replaced by tests/ |
76 |
- # upstream fails at cleaning up stuff |
77 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
78 |
-} |