idella4     14/06/28 10:51:59

  Modified:             pycurl-7.19.3.1.ebuild ChangeLog
  Log:
  add test deps, upstream patch, drop amd64-fbsd hppa x86-fbsd keywords to 
include test dep (for re-keywording), unrestrict and update test phase
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.5                  dev-python/pycurl/pycurl-7.19.3.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild?r1=1.4&r2=1.5

Index: pycurl-7.19.3.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pycurl-7.19.3.1.ebuild      15 Jun 2014 15:22:12 -0000      1.4
+++ pycurl-7.19.3.1.ebuild      28 Jun 2014 10:51:59 -0000      1.5
@@ -1,7 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild,v 
1.4 2014/06/15 15:22:12 mgorny Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild,v 
1.5 2014/06/28 10:51:59 idella4 Exp $
 EAPI=5
 
 # The selftests fail with pypy, and urlgrabber segfaults for me.
@@ -15,8 +14,8 @@
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
-IUSE="curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl examples ssl"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~s390 ~sh ~x86 
~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl examples ssl test"
 
 # Depend on a curl with curl_ssl_* USE flags.
 # libcurl must not be using an ssl backend we do not support.
@@ -24,14 +23,17 @@
 # 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.
-DEPEND=">=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_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
-               curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
-       )"
-RDEPEND="${DEPEND}"
-# Tests have new deps that can never be keyworded, for now
-RESTRICT="test"
+               curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 ) )"
+DEPEND="${RDEPEND}
+       test? ( dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/bottle[${PYTHON_USEDEP}] )"
+# Needed for individual runs of testsuite by python impls.
+DISTUTILS_IN_SOURCE_BUILD=1
+
+PATCHES=( "${FILESDIR}"/${P}-ssl-test.patch )
 
 python_prepare_all() {
        sed -e "/data_files=/d" -i setup.py || die
@@ -56,11 +58,7 @@
 
 python_test() {
        # https://github.com/pycurl/pycurl/issues/180
-       if [[ "${EPYTHON}" == python2.7 ]]; then
-               sed -e 's:test_request_with_certinfo:_&:' \
-                       -e 's:test_request_without_certinfo:_&:' \
-                       -i tests/certinfo_test.py || die
-       elif [[ "${EPYTHON}" == python3.4 ]]; then
+       if [[ "${EPYTHON}" == python3.4 ]]; then
                sed -e 's:test_post_buffer:_&:' \
                        -e 's:test_post_file:_&:' \
                        -i tests/post_test.py || die



1.96                 dev-python/pycurl/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/ChangeLog?rev=1.96&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/ChangeLog?rev=1.96&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycurl/ChangeLog?r1=1.95&r2=1.96

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- ChangeLog   15 Jun 2014 15:22:12 -0000      1.95
+++ ChangeLog   28 Jun 2014 10:51:59 -0000      1.96
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pycurl
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.95 
2014/06/15 15:22:12 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.96 
2014/06/28 10:51:59 idella4 Exp $
+
+  28 Jun 2014; Ian Delaney <[email protected]>
+  +files/pycurl-7.19.3.1-ssl-test.patch, pycurl-7.19.3.1.ebuild:
+  add test deps, upstream patch, drop amd64-fbsd hppa x86-fbsd keywords to
+  include test dep (for re-keywording), unrestrict and update test phase
 
   15 Jun 2014; Michał Górny <[email protected]> pycurl-7.19.0-r1.ebuild,
   pycurl-7.19.0-r2.ebuild, pycurl-7.19.0-r3.ebuild, pycurl-7.19.3.1.ebuild:




Reply via email to