summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3f682ae45e7d..ec31c8c83ad9 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 a4c4b72d0f1f..a96f734aa3a8 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
}