summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-05-17 03:32:40 +0000
committerIan Delaney <idella4@gentoo.org>2014-05-17 03:32:40 +0000
commit81d96f271f0615c89a442d0cf59882d788c34041 (patch)
tree67e143f21348d9b6f9f901312c4e0115335d145d /dev-python/pycurl
parentUnbreak xmllint for docbook documents (bug #510508, thanks to Markos Chandras). (diff)
downloadhistorical-81d96f271f0615c89a442d0cf59882d788c34041.tar.gz
historical-81d96f271f0615c89a442d0cf59882d788c34041.tar.bz2
historical-81d96f271f0615c89a442d0cf59882d788c34041.zip
bump; drop py2.6 add py3.4 support, drop (use of) redundant patches, update test phase according to new set of test failures, minor tidy
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/ChangeLog10
-rw-r--r--dev-python/pycurl/Manifest12
-rw-r--r--dev-python/pycurl/pycurl-7.19.3.1.ebuild70
3 files changed, 85 insertions, 7 deletions
diff --git a/dev-python/pycurl/ChangeLog b/dev-python/pycurl/ChangeLog
index 12adc2e76d0a..fee9ef146ea5 100644
--- a/dev-python/pycurl/ChangeLog
+++ b/dev-python/pycurl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pycurl
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.91 2013/09/14 22:50:10 floppym Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.92 2014/05/17 03:32:15 idella4 Exp $
+
+*pycurl-7.19.3.1 (17 May 2014)
+
+ 17 May 2014; Ian Delaney <idella4@gentoo.org> +pycurl-7.19.3.1.ebuild:
+ bump; drop py2.6 add py3.4 support, drop (use of) redundant patches, update
+ test phase according to new set of test failures, minor tidy
14 Sep 2013; Mike Gilbert <floppym@gentoo.org> pycurl-7.19.0-r3.ebuild:
Add -fno-strict-aliasing for python2.
diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest
index fbada09bb036..703d120415e6 100644
--- a/dev-python/pycurl/Manifest
+++ b/dev-python/pycurl/Manifest
@@ -5,16 +5,18 @@ 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
AUX pycurl-7.19.0-python3.patch 40859 SHA256 9050a00ea37846f803c7e6420670c54056b375fe9a14c2f0f345e5c23b8a2655 SHA512 4b9c348891a9aff4e96a66411d8433b1eeee847ba851ef78647f1365cacf1b356ea107ee5807fb39bcba3f5c14a274fd1d8814d18553fd01bc45147ba7c45d86 WHIRLPOOL fc10dd401f26bfcb61f83382e94fb59ba269e05a9ca081a89008f09b90ccbd521fad1a95d659e455058aea0c2f5eac639edd494b61935880d1111dfe1c538943
DIST pycurl-7.19.0.tar.gz 71346 SHA256 eb782dfcc5a7c023539a077462b83c167e178128ee9f7201665b9fbb1a8b0642 SHA512 18db8d923d1193f72b964817ceef5acaf3b1acab36a7d14aed9301dcace301d72e19cda5c79c8cb7335f1327f5900d1c03b34311ba086dd2bf2fd3d5710336e0 WHIRLPOOL f21d502a4244ee0022cc2ab1ddf48647c2e0dee042b5075e37a5b30e746ca450202e4305a9d7007b75e3fa85cde6e547896b17774fe4d2f2b807980a9a5d0d3c
+DIST pycurl-7.19.3.1.tar.gz 116687 SHA256 c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f SHA512 65ccb07638c663bc2a723664f1ade50f08eafa70bbcdc492cc99362a91873f453b63336a6b393d9f6591308f1450dadc64ce729b29990f37b170dda0eae0b23f WHIRLPOOL bf25bbb959e30140a261b9bede2e1a3675ec99c8f6c36f8afc8ca73288aa7f7cea6fa1d28385ca808872b251a676aebf8d77d203aed60619dab8852cac17b296
EBUILD pycurl-7.19.0-r1.ebuild 1921 SHA256 4f2c354d7c8239438b14695744f4d9757232aefc07ad69c9ab94848527d2fbb6 SHA512 f83d41674b60c720be6283568c7dc83c5e87aaf018bead5dfcfe4ece4ac5bc2529acf6e88e8d0ef8d91adf2f34770ab6b2ea05b817f6446d3cf363f2f19575ad WHIRLPOOL 0f0fa88c99616239141e70f8c28a2b168affc41dece3c394fb51fd075da1c64c7d0fd58c842a554c96e2870479cb80a58c997ee352c219ea8dfe58c09cde5eec
EBUILD pycurl-7.19.0-r2.ebuild 1832 SHA256 0da115f7447c70bbe846152cfc8f986c5569e62684b993aa0fcecde37f941fbb SHA512 75fa9a99963193ff177afe7e25cde89f9bd67b81b3bb2ee01ee8b8675d2936f42008082fc886528a675d7fbe5932f8e8b7dfd169515296d45b2d6fc6a09807b2 WHIRLPOOL f22d14602451c27a0b9c53898b372e1456b93e098f2d27d3cd8615f11fef21507777bc7d850b8c55a682982e45628859d46059c44850800ce768adce40a9a77c
EBUILD pycurl-7.19.0-r3.ebuild 1990 SHA256 6746883c50f70c239727a65dce5780c4f195e081ea492cf353ec5ddcac627976 SHA512 dec4638d3ded6423d0763f9746e939af1e6942125d591c08b1e300961233da0d2d17b40fe0be2894dfa025f0e2a762f152b58326f960f7103f8154b5e30199b4 WHIRLPOOL 840514f12cade3e6efafc1e129ddb99421985609293276f019242cbd7150534d38c90fadf67d7ba70a8d8b0285f0636f21aaf9496d6b4e172866fe6bf5f87d8a
EBUILD pycurl-7.19.0.ebuild 1294 SHA256 56309f8ad5c8bcfda86ff052970247c3140cffff6a906c59b7d9bcccc0e3c67f SHA512 a8e491accef2beb38faf8a8a16cb6f3a9be235b1d4e151e2ef51c38916e46018275752ce412ad269721f46c3bb629e19faf1a954dcbc79b8590587ca72d9a429 WHIRLPOOL 14337dd68f25be650bd77a8828af747268ab0e5b08719607b26692afc7ea866333b52a2a88804d438310f06a9025b43e51da8b87aa5642fa307c562ab7260288
-MISC ChangeLog 12285 SHA256 9e60723ac836677e62fbab2f0c9ca75a9dbe24c38d767a01b9ae0bbf706264ab SHA512 01a1c10aa45dc20c60c94b9afc8fa59be2eec78c3dab80801e07c96a19ccd1b2fa720a40d7e9e95b3a611e57105d13d1261a88ae72a5e23897a5738350b3701e WHIRLPOOL 6d10d9af811a7e4d26af4d5fcc73a1e62c85c720105d192d0797957ec5e00e4069a11ce499b16020f8003a5e1b7d16a08dc971093e8747d093114f4224f710da
+EBUILD pycurl-7.19.3.1.ebuild 2323 SHA256 aaad1625dd8f3c809e6921f9c6ca36a57e194d637e12a7d74e1ff02c069fd062 SHA512 ee64f1ea32619f8d250063e77fe2d31cc08b2614c243471ee5c0c9491a5223f197a36273a43fe0977b5cd4be1863b594a1c0e35991621ab29babfe3a8231de9b WHIRLPOOL 7b08d8ab12d1828267722cafd42f3764c7076328d4b391c2fb3c6ca05ff63572fcb984bd883949fb0dc717dc62ea4fc13ee9518e98393c90b8cf780f97429adc
+MISC ChangeLog 12532 SHA256 e4321373b7531f7ab47db9b4c8c8c25a9f20305209788446d20ca281c91d78d7 SHA512 3a7dca60447029b4e4347d4046f8804374ea3042efda8b397b84f4dc9baa8d7110647555fe8eb789027692aaf92aca30d57d372f69ccc972a94c3e544d0a398a WHIRLPOOL 3e0044a0158eb16dd8e3430aca6831cc5a12e3470356ff8d67c8eb626c1cc96f70e8b4d792c2f80725c1ebea05a1340cc02e4185125f8131280748e94615cffd
MISC metadata.xml 826 SHA256 fdc8c57902acabf11f4b07cd9ac36960db5c41d8f9e94e238cf9e40903a51dad SHA512 cd860d6a4151ac15bb7d9c355d0222f91b429993d56083670f3325ecde4f4fda8f4bf374aba3b1c65270a786e12c30c0344917fd04b608ebdc0c94b392279e61 WHIRLPOOL 397cf201be522437cc691b94d0aee887c8678b73e4533938edbbd1774c0a26907585b18584b39ce83e2868c6d896445c3dc940c2a2abf061ecb703ddbd35ca72
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.21 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iF4EAREIAAYFAlI06CQACgkQC77qH+pIQ6S6wgEAxbgIcIzh3BWRfr1/7JBcMEHV
-ejYc0R4n56uSXZ8O7RcBAMJAxAvKZhP2qMLFWNHSpIWsdfnJ91zoSPB5SP8gdBvC
-=8tQE
+iEYEAREIAAYFAlN21ncACgkQso7CE7gHKw1swACg4dJk8UtmG2e7x9etg0WBkz4B
+/AQAni9ee8+o1iEHpO+Uq3oYxVjzNUeD
+=hU3u
-----END PGP SIGNATURE-----
diff --git a/dev-python/pycurl/pycurl-7.19.3.1.ebuild b/dev-python/pycurl/pycurl-7.19.3.1.ebuild
new file mode 100644
index 000000000000..7605a64f1ef4
--- /dev/null
+++ b/dev-python/pycurl/pycurl-7.19.3.1.ebuild
@@ -0,0 +1,70 @@
+# 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.1 2014/05/17 03:32:15 idella4 Exp $
+
+EAPI=5
+
+# The selftests fail with pypy, and urlgrabber segfaults for me.
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="python binding for curl/libcurl"
+HOMEPAGE="https://github.com/pycurl/pycurl 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}"
+# Usual; requ'd fore test phase
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ sed -e "/data_files=/d" -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+src_test() {
+ # suite shatters without this
+ local DISTUTILS_NO_PARALLEL_BUILD=1
+ distutils-r1_src_test
+}
+
+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
+ sed -e 's:test_post_buffer:_&:' \
+ -e 's:test_post_file:_&:' \
+ -i tests/post_test.py || die
+ fi
+ emake test
+}
+
+python_install_all() {
+ local HTML_DOCS=( doc/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}