1 |
commit: 51fdd04b555ca7f93959933f7b840c414dac9d61 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 15:06:16 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 15:06:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51fdd04b |
7 |
|
8 |
dev-python/pycurl: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycurl/pycurl-7.43.0.3.ebuild | 76 -------------------------------- |
13 |
1 file changed, 76 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pycurl/pycurl-7.43.0.3.ebuild b/dev-python/pycurl/pycurl-7.43.0.3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 0f21898fca4..00000000000 |
18 |
--- a/dev-python/pycurl/pycurl-7.43.0.3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,76 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-# The selftests fail with pypy, and urlgrabber segfaults for me. |
27 |
-PYTHON_COMPAT=( python3_{6,7} ) |
28 |
- |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-DESCRIPTION="python binding for curl/libcurl" |
32 |
-HOMEPAGE=" |
33 |
- https://github.com/pycurl/pycurl |
34 |
- https://pypi.org/project/pycurl/ |
35 |
- http://pycurl.io/" |
36 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
37 |
- |
38 |
-LICENSE="LGPL-2.1" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
41 |
-IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test" |
42 |
-RESTRICT="!test? ( test )" |
43 |
- |
44 |
-# Depend on a curl with curl_ssl_* USE flags. |
45 |
-# libcurl must not be using an ssl backend we do not support. |
46 |
-# If the libcurl ssl backend changes pycurl should be recompiled. |
47 |
-# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl |
48 |
-# does not need to initialize gcrypt threading and we do not need to |
49 |
-# explicitly link to libgcrypt. |
50 |
-RDEPEND=" |
51 |
- >=net-misc/curl-7.25.0-r1:=[ssl=] |
52 |
- ssl? ( |
53 |
- net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)] |
54 |
- curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0:= ) |
55 |
- curl_ssl_libressl? ( dev-libs/libressl:= ) |
56 |
- curl_ssl_openssl? ( dev-libs/openssl:= ) |
57 |
- )" |
58 |
- |
59 |
-# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180 |
60 |
-# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802 |
61 |
-DEPEND="${RDEPEND} |
62 |
- test? ( |
63 |
- dev-python/bottle[${PYTHON_USEDEP}] |
64 |
- dev-python/flaky[${PYTHON_USEDEP}] |
65 |
- dev-python/nose[${PYTHON_USEDEP}] |
66 |
- net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2] |
67 |
- >=dev-python/bottle-0.12.7[${PYTHON_USEDEP}] |
68 |
- )" |
69 |
-# Needed for individual runs of testsuite by python impls. |
70 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
71 |
- |
72 |
-python_prepare_all() { |
73 |
- sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die |
74 |
- distutils-r1_python_prepare_all |
75 |
-} |
76 |
- |
77 |
-python_configure_all() { |
78 |
- # Override faulty detection in setup.py, bug 510974. |
79 |
- export PYCURL_SSL_LIBRARY=${CURL_SSL/libressl/openssl} |
80 |
-} |
81 |
- |
82 |
-python_compile() { |
83 |
- python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
84 |
- distutils-r1_python_compile |
85 |
-} |
86 |
- |
87 |
-python_test() { |
88 |
- nosetests -a '!standalone,!gssapi' -v --with-flaky || die "Tests fail with ${EPYTHON}" |
89 |
- nosetests -a 'standalone' -v --with-flaky || die "Tests fail with ${EPYTHON}" |
90 |
-} |
91 |
- |
92 |
-python_install_all() { |
93 |
- local HTML_DOCS=( doc/. ) |
94 |
- use examples && dodoc -r examples |
95 |
- distutils-r1_python_install_all |
96 |
-} |