summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-05 22:37:51 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-05 22:37:51 +0000
commit061a420376ce0011a1abdac9172aad6baa16a11f (patch)
tree3775befff1b12f5f01474add777092c29c6dfea4
parentMask dev-python/docutils-0.10. (diff)
downloadhistorical-061a420376ce0011a1abdac9172aad6baa16a11f.tar.gz
historical-061a420376ce0011a1abdac9172aad6baa16a11f.tar.bz2
historical-061a420376ce0011a1abdac9172aad6baa16a11f.zip
Migrate to distutils-r1.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D
-rw-r--r--dev-python/pycurl/ChangeLog9
-rw-r--r--dev-python/pycurl/Manifest11
-rw-r--r--dev-python/pycurl/pycurl-7.19.0-r2.ebuild57
3 files changed, 71 insertions, 6 deletions
diff --git a/dev-python/pycurl/ChangeLog b/dev-python/pycurl/ChangeLog
index e28f030bdb59..38602f55bce9 100644
--- a/dev-python/pycurl/ChangeLog
+++ b/dev-python/pycurl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycurl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.78 2012/09/29 18:44:44 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.79 2013/02/05 22:37:49 mgorny Exp $
+
+*pycurl-7.19.0-r2 (05 Feb 2013)
+
+ 05 Feb 2013; Michał Górny <mgorny@gentoo.org> +pycurl-7.19.0-r2.ebuild:
+ Migrate to distutils-r1.
29 Sep 2012; Raúl Porcel <armin76@gentoo.org> pycurl-7.19.0-r1.ebuild:
alpha/ia64/sparc stable wrt #434126
diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest
index fab62b702185..dec711ad0200 100644
--- a/dev-python/pycurl/Manifest
+++ b/dev-python/pycurl/Manifest
@@ -5,13 +5,16 @@ AUX pycurl-7.19.0-linking-v2.patch 2009 SHA256 bd4b98144b9bc6ef8a5b8a328ef71b2aa
AUX pycurl-7.19.0-linking.patch 871 SHA256 7f6dfe49f7147d85e3ac53b3192b7514197fa0ac8e1c763c803ff94d5fc921be SHA512 fca6d6e6cbcb91e68aae93830cebe86a0f43c0c5127fd0c651a1474c1883c6b120d04825ded8b50e6b6b7af968e2aadece7fe1beba4341400b27b2ed97638d0b WHIRLPOOL e688de48a48f7f402e3612e9836d8d3838563524a67686765b412bc4588c69536d0c0d0982651f643b0b182929375b9c92a322e695a6b689cfa940938ec79029
DIST pycurl-7.19.0.tar.gz 71346 SHA256 eb782dfcc5a7c023539a077462b83c167e178128ee9f7201665b9fbb1a8b0642 SHA512 18db8d923d1193f72b964817ceef5acaf3b1acab36a7d14aed9301dcace301d72e19cda5c79c8cb7335f1327f5900d1c03b34311ba086dd2bf2fd3d5710336e0 WHIRLPOOL f21d502a4244ee0022cc2ab1ddf48647c2e0dee042b5075e37a5b30e746ca450202e4305a9d7007b75e3fa85cde6e547896b17774fe4d2f2b807980a9a5d0d3c
EBUILD pycurl-7.19.0-r1.ebuild 1921 SHA256 4f2c354d7c8239438b14695744f4d9757232aefc07ad69c9ab94848527d2fbb6 SHA512 f83d41674b60c720be6283568c7dc83c5e87aaf018bead5dfcfe4ece4ac5bc2529acf6e88e8d0ef8d91adf2f34770ab6b2ea05b817f6446d3cf363f2f19575ad WHIRLPOOL 0f0fa88c99616239141e70f8c28a2b168affc41dece3c394fb51fd075da1c64c7d0fd58c842a554c96e2870479cb80a58c997ee352c219ea8dfe58c09cde5eec
+EBUILD pycurl-7.19.0-r2.ebuild 1836 SHA256 5d44fe353ed1c9c1c5065fdc7c67c1f1639eb3c38353d056e354020b76bc9d6d SHA512 7aae2f8f428416ccba08f6703b3f096a5d1a226755a1e158bd07a6f2ba67012e8596b40f6ac259378650faf358bbb751a4fba2d28bbffd069068b667f1c1a71d WHIRLPOOL c67333f44b81c14c556ed429a90779d930082542ea0960ffdf34ff6ff55ae1d4d55dab6e5ea6b1e3a800dabf329f36396b5f536237025980eadb17802549fa87
EBUILD pycurl-7.19.0.ebuild 1294 SHA256 56309f8ad5c8bcfda86ff052970247c3140cffff6a906c59b7d9bcccc0e3c67f SHA512 a8e491accef2beb38faf8a8a16cb6f3a9be235b1d4e151e2ef51c38916e46018275752ce412ad269721f46c3bb629e19faf1a954dcbc79b8590587ca72d9a429 WHIRLPOOL 14337dd68f25be650bd77a8828af747268ab0e5b08719607b26692afc7ea866333b52a2a88804d438310f06a9025b43e51da8b87aa5642fa307c562ab7260288
-MISC ChangeLog 10717 SHA256 cb9cb72816fcad4283f86c40583937a76196de64ca8800d8375d00de7b6f6429 SHA512 3fa10ce81e55e9d341b25aa5bdc3487d51a397177d9c92c0e14e177cfdb3ad3a1f02ad69d0e1a340b6b64c5b7ca2581e2daf44fd5b5fdbed5d62958f77f3017a WHIRLPOOL 05912fd9b6aecafd6c8b485e5d162bb3bdab2fd392a605f005bdafb0bda0b2cf17ed63734edf42ebc07832a7299845102d528dec3ff8831cbccdb3c407b6ddb6
+MISC ChangeLog 10853 SHA256 4ee38692dcff956ebb67f2f21a271089bea73fc6084f2c019653be89e71f131a SHA512 926bce133a00da0e50d9e78e8a9f71800804ce62c32d1101e82616473142105aa47fcdcd4cd4692c66d9e059138c4ac636d1a0198c6e6490d955070b0f9fe847 WHIRLPOOL 21a88388816954985e898446da5705e7c9cb2b60ec462d99ebf3d7de71a58af70e126119eedb01b1ccfccdf7ee97dbe93d7bb3a793af7413c5895ab3f5e9af5d
MISC metadata.xml 826 SHA256 fdc8c57902acabf11f4b07cd9ac36960db5c41d8f9e94e238cf9e40903a51dad SHA512 cd860d6a4151ac15bb7d9c355d0222f91b429993d56083670f3325ecde4f4fda8f4bf374aba3b1c65270a786e12c30c0344917fd04b608ebdc0c94b392279e61 WHIRLPOOL 397cf201be522437cc691b94d0aee887c8678b73e4533938edbbd1774c0a26907585b18584b39ce83e2868c6d896445c3dc940c2a2abf061ecb703ddbd35ca72
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlBnQaIACgkQuQc30/atMkAN3QCfRDnn8cM0i6A8v2StH0fOnp+O
-I+IAoJqu9WWIBOIREwQmSt4iavPxPQQZ
-=zvEB
+iJwEAQEIAAYFAlERicIACgkQfXuS5UK5QB1IPwQAmhgiHBAsAdKxzYT3b5V3ITK7
+XrgwoDGVaoW1YwaDJoLIlNiBoZPRTx2+UcZ/xhTU/sbPgHZfHewkDRyKW2zGHTqN
+y2Of1IDy9xbZijWRGLtvU+hPnfea6Lec21EIcjUZB6uiUtseDmPZs18Zvh1MM8ka
+tn8d8PNe/XxHaG2AKbA=
+=xiLV
-----END PGP SIGNATURE-----
diff --git a/dev-python/pycurl/pycurl-7.19.0-r2.ebuild b/dev-python/pycurl/pycurl-7.19.0-r2.ebuild
new file mode 100644
index 000000000000..668857445626
--- /dev/null
+++ b/dev-python/pycurl/pycurl-7.19.0-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.0-r2.ebuild,v 1.1 2013/02/05 22:37:49 mgorny Exp $
+
+EAPI=5
+
+# The selftests fail with pypy, and urlgrabber segfaults for me.
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="python binding for curl/libcurl"
+HOMEPAGE="http://pycurl.sourceforge.net/ http://pypi.python.org/pypi/pycurl"
+SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
+
+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"
+
+# Depend on a curl with curl_ssl_* USE flags.
+# libcurl must not be using an ssl backend we do not support.
+# If the libcurl ssl backend changes pycurl should be recompiled.
+# 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=]
+ 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}"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${P}-linking-v2.patch"
+ )
+
+ sed -e "/data_files=/d" -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" tests/test_internals.py -q || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ local HTML_DOCS=( doc/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}