summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-20 10:35:02 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-21 15:40:24 +0200
commit39bd470e23157d7c241c2609ca43269065504d36 (patch)
tree054a4e5494637fc1d22e92896ebaf39ea9f17513 /dev-python/pycurl
parentdev-python/bottle: Add python3.5 support (diff)
downloadgentoo-39bd470e23157d7c241c2609ca43269065504d36.tar.gz
gentoo-39bd470e23157d7c241c2609ca43269065504d36.tar.bz2
gentoo-39bd470e23157d7c241c2609ca43269065504d36.zip
dev-python/pycurl: Add python3.5 support
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/metadata.xml2
-rw-r--r--dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild11
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-python/pycurl/metadata.xml b/dev-python/pycurl/metadata.xml
index 3f682ae45e7..ec31c8c83ad 100644
--- a/dev-python/pycurl/metadata.xml
+++ b/dev-python/pycurl/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
diff --git a/dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild b/dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild
index a4c4b72d0f1..a96f734aa3a 100644
--- a/dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild
+++ b/dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
# The selftests fail with pypy, and urlgrabber segfaults for me.
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit distutils-r1
@@ -23,10 +23,12 @@ IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
# does not need to initialize gcrypt threading and we do not need to
# explicitly link to libgcrypt.
-RDEPEND=">=net-misc/curl-7.25.0-r1[ssl=]
+RDEPEND="
+ >=net-misc/curl-7.25.0-r1[ssl=]
ssl? (
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
- curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 ) )"
+ curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
+ )"
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
@@ -54,6 +56,9 @@ python_compile() {
}
python_test() {
+ # Python3.5 test problems
+ # https://github.com/pycurl/pycurl/issues/273
+ # https://github.com/pycurl/pycurl/issues/274
emake -j1 do-test
}