dev-python/pycurl: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Tue, 20 Oct 2015 08:35:02 +0000 (10:35 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 21 Oct 2015 13:40:24 +0000 (15:40 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pycurl/metadata.xml
dev-python/pycurl/pycurl-7.19.5.1-r1.ebuild

index 3f682ae45e7da462718db415bea61a7e6e7f3519..ec31c8c83ad95bbffb2ed7b5720653060ddce2eb 100644 (file)
@@ -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>
index a4c4b72d0f1f320eae607b2eebb82e43d66ff5ab..a96f734aa3a8f0ffc82b089b830ccb6e8bcd9804 100644 (file)
@@ -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
 }