diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-01-20 18:15:49 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-01-20 18:15:49 +0000 |
commit | 46322ed5a1043c672037ebf4a7037403458b124e (patch) | |
tree | 237fe46d03192cafc0897286daa9a46b5c6fab87 /dev-python/http-parser | |
parent | stable for amd64/x86, wrt to bug #445602 (diff) | |
download | historical-46322ed5a1043c672037ebf4a7037403458b124e.tar.gz historical-46322ed5a1043c672037ebf4a7037403458b124e.tar.bz2 historical-46322ed5a1043c672037ebf4a7037403458b124e.zip |
Added http-parser-0.7.8-setup.patch, fixes locale issue wrt Bug #451826 by Ago
Package-Manager: portage-2.1.11.40/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/http-parser')
-rw-r--r-- | dev-python/http-parser/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/http-parser/Manifest | 11 | ||||
-rw-r--r-- | dev-python/http-parser/files/http-parser-0.7.8-setup.patch | 22 | ||||
-rw-r--r-- | dev-python/http-parser/http-parser-0.7.8.ebuild | 10 |
4 files changed, 40 insertions, 9 deletions
diff --git a/dev-python/http-parser/ChangeLog b/dev-python/http-parser/ChangeLog index 184064ab4dec..08eb92dd1aa0 100644 --- a/dev-python/http-parser/ChangeLog +++ b/dev-python/http-parser/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/http-parser # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/ChangeLog,v 1.5 2013/01/12 15:53:33 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/ChangeLog,v 1.6 2013/01/20 18:15:20 idella4 Exp $ + + 20 Jan 2013; Ian Delaney <idella4@gentoo.org> + +files/http-parser-0.7.8-setup.patch, http-parser-0.7.8.ebuild: + Added http-parser-0.7.8-setup.patch, fixes locale issue wrt Bug #451826 by Ago 12 Jan 2013; Ian Delaney <idella4@gentoo.org> http-parser-0.7.12.ebuild: migrated 0.7.12 to distutils-r1 diff --git a/dev-python/http-parser/Manifest b/dev-python/http-parser/Manifest index 7a827b58f4c3..b1d87a339c65 100644 --- a/dev-python/http-parser/Manifest +++ b/dev-python/http-parser/Manifest @@ -1,18 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX http-parser-0.7.8-setup.patch 648 SHA256 c2f05f473a2b3a1ca38824f1a90b5931c16bcf2f62978c252ab7b6a78b5dcbde SHA512 ca7762c0be199854b01f71bf1208031d9837230dd718afff5afc6e7fd1602bf8602e146584f46bbcac6114af4bd37e03b98362ec1c9b62d0a972a4ecf773d19c WHIRLPOOL bc16115a9695b3d9c46dd22260a00652b4ea458fc4d03e64043b93a9f1314a5c1708c3a25adef1b0765070e62b125e5a940615bfa6d4e8b224952feeac81ac21 DIST http-parser-0.7.12.tar.gz 139542 SHA256 fc590df48e5a11dda20b9dd682ce3f4cbd7ae7a6f2eada0564fc0562e3f83b53 SHA512 883cc3201dcda0e516855ba7a1d1c8c27c4404fa1d6c62318c065fb6034d301db140df9131936ca512386e24c9519133077571a6033e905638dcd4c5774e4d10 WHIRLPOOL 7187ef0abfd38438d2c6724a37879e4cc907ed61d71e6ad29853b6e29a38898b0f3ca44585919149e1e257e4f6fdcee66ae8d3cca9f1240e4ae7259a8d7385af DIST http-parser-0.7.5.tar.gz 131576 SHA256 282b5e4d61bb3b97416afb5f92328a51da7c39a9ff35e3757f287c66ec0a95da SHA512 5f7c6997296353fed65063ec7d99ae0163cd948f66e9b1dc1aa6416a5f11f9f69b5a9a7c70ba6569d535a1fcb7dde8ea88f51a6fe8e11d7270519fabc352f8d4 WHIRLPOOL 613d64b0bd9a9452e0aacc1e10493c59d53b97ae1be6de6471941fba02a335a93132b9897d4f82f775ec1582668d30d9abbab38ecfa42652299acf20f1af4ea3 DIST http-parser-0.7.8.tar.gz 70007 SHA256 18e19052fcdbf243cc7258f9cfa77cc7f69b4950ccbcc2579bcd195c15e61502 SHA512 40b6f12cceca27494688365dd606d2c668b23876644bbe7f30a69e7a1d3b6d19003ac3eb80e403649ffcdd8f2023fb058b278b5a37cc2a3be4daab4649e91a4c WHIRLPOOL 875f36edc6d520d2d579890a87981905b405b996f256487fe56ad6ee863440d362be21f319dea8e9e9a8f378842c220ca7cdb56dc0e06b62619afe6872a4e1a8 EBUILD http-parser-0.7.12.ebuild 800 SHA256 4d481bd5fd4157cba2aa740d4c050e9219730d3fbb0b78169481efe28dbb6b5a SHA512 1053e3cbe6d51ca9e3e76a7fb7eac727eae4ed0be058ccdeca3586ee9086399a403456e8cf473aaaf51ae1cb13e183ab73704635d10cf84a7f9edd57771235a0 WHIRLPOOL 57ef8422e683264fc692a21b49adf805a116dccb35a83099e3fae6bfaef3eea18914679d87c92d97909824359827fd5d3295308a3a0aa9fcc0fed45420b6f42e EBUILD http-parser-0.7.5.ebuild 822 SHA256 2a3403b6a7a68f8bf3d5c988dc8b5778e3e5bccdc622e2cb982d65cc5c7c6375 SHA512 85771fa1d6a9f1d4823d935c7e49eba1078cfed806cafeb7b2290ae81b8a3e720b43765c386f1403c4c92a2d6ef5b5e13db8ab85f7f03caaa8dfa02207f09faf WHIRLPOOL 9d49d96794af56cc593bfd2dda4f989338bddf4fa62dc8e533973585a3c0a7cfc4ffc71e794ae1f99b7aa943185f323ba3a797cdc2fb866e8c9753bd11a69e5d -EBUILD http-parser-0.7.8.ebuild 823 SHA256 c4a0ca80214af8ef84e4b8df6463771d11f4ae2df4c095c3cb56577f2a181d5f SHA512 f43895abf4ceba392dc91c6145ec3143e5d02ee86029ebd7b882640fbdb9b6f947ce29c82e08e352543dfa69f8ffebc6c81d2bb7a1576ddcbbcff6c2882e1320 WHIRLPOOL 42f6838c70bb96ae770ed143f10ea9def7bf92227ff7b7542101a24e6662e0ec136766238b0d173a8c7733b637f3ee2a19dfe562e82ff83c551e8c55c1194530 -MISC ChangeLog 892 SHA256 b798c3eb52a59f24b238ef9f8f0a1168561a4e96ba07ac5b8598b3a3a9c8f021 SHA512 4b9612116be8571f563b93a6f65eb1cc15c38d610243e33937e950b53011232897dca93d990bae978cc160eb0ed2bf17b05125c398d12745f0100ebd9b094074 WHIRLPOOL 1fba9007729528b70f4fbb8359e069296242198c15709d6f3137c3a2f48d11c1a66d924567c18f9fb301dd5aa543c24293d7b1b9ecfd07349297bd7a072b5353 +EBUILD http-parser-0.7.8.ebuild 888 SHA256 6e6e5d95bc7ed7cf024161fb05dfa9bc49abf8fc5e19b1f150c0f5b8ebc97a00 SHA512 c5c33531c40d5d4e7728eefcae4087cfae692d860eaf3dee56404ec27823455cf16b4af9891c5abbbbd6957a2fa32e2edb81b45b582c08d765e5e3846505188e WHIRLPOOL 6fa5ba5ddc0ac4b1c3bc5021934e789db96c017baf90ecf83ed3be88ea77e8b12d611432a076f18f366ceaba2f8e8a2232b1331121f90ce5d5470ca8febecede +MISC ChangeLog 1088 SHA256 7fff9428721cad398e5c016f5134b199d148fd9aebd8df995338684e2987131e SHA512 445ba2ec2dbdd0a844f8b6856471a9f33e191a55f1f8b94b5eaeffe424c79b825a8f5bbeaaf1364a3db3f648d5fea55e360ad199f2921b884be25ce0333f5abb WHIRLPOOL 14c6e5734bc495318def4f73c1ef338dc233f5d191ae8f09e2e6ec9f10bd6302e58e20e0f951f1c7048e0b05e6a1a3b7c671ee28c8b05465f5c961add3ea0db4 MISC metadata.xml 234 SHA256 2a741f5c0b407e5c067ed5f89cc94f550a282d89e956bfe82cfb5438d1870097 SHA512 5e389a02aa749f5737a9248300efa835609a33a6be0b6fe61f9d5d2982eaa40ab82c1d1f22d23c3859a91e699582361b802cae2d6c16fd91083f7e8e50b94e0d WHIRLPOOL 3b8b14c9ff6ea865f1f4c51f7020943f0627840a068eea917e28ca1f00261627c679206e7a7e82c835bb284f17f97ef96ec324f85bdf6fa5c8744690754c2d91 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDxhwwACgkQso7CE7gHKw22PACfdgtxvM5KFYbpJZqP96o+LBXn -s/sAnA5EgTSfpLr2Y4Kju3Fdrdp/nWQX -=rGHQ +iEYEAREIAAYFAlD8NEkACgkQso7CE7gHKw21HgCgqT2L4HxyS/t1oE8AOdApy0t9 +GdoAoIxFHLr/AyhVZLxaIvss9ekycPmW +=70ju -----END PGP SIGNATURE----- diff --git a/dev-python/http-parser/files/http-parser-0.7.8-setup.patch b/dev-python/http-parser/files/http-parser-0.7.8-setup.patch new file mode 100644 index 000000000000..9bd43e6a1534 --- /dev/null +++ b/dev-python/http-parser/files/http-parser-0.7.8-setup.patch @@ -0,0 +1,22 @@ +diff -ur http-parser-0.7.8.orig/setup.py http-parser-0.7.8/setup.py +--- setup.py 2012-08-05 11:14:22.000000000 +0800 ++++ setup.py 2013-01-21 01:54:23.748530621 +0800 +@@ -10,7 +10,7 @@ + from distutils.command.sdist import sdist as _sdist + import glob + from imp import load_source +-import os ++import os, io + import shutil + import sys + import traceback +@@ -49,7 +49,7 @@ + VERSION = http_parser.__version__ + + # get long description +-with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: ++with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f: + LONG_DESCRIPTION = f.read() + + def _system(cmd): + diff --git a/dev-python/http-parser/http-parser-0.7.8.ebuild b/dev-python/http-parser/http-parser-0.7.8.ebuild index d20954ebfa61..f40811935cbc 100644 --- a/dev-python/http-parser/http-parser-0.7.8.ebuild +++ b/dev-python/http-parser/http-parser-0.7.8.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.8.ebuild,v 1.2 2012/10/17 05:48:15 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.8.ebuild,v 1.3 2013/01/20 18:15:20 idella4 Exp $ EAPI=4 SUPPORT_PYTHON_ABIS=1 RESTRICT_PYTHON_ABIS="2.5 *-jython" -inherit distutils +inherit distutils eutils DESCRIPTION="HTTP request/response parser for python in C" HOMEPAGE="http://github.com/benoitc/http-parser" @@ -25,6 +25,10 @@ DEPEND="${RDEPEND} PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") +src_prepare() { + epatch "${FILESDIR}"/${P}-setup.patch +} + src_install() { distutils_src_install if use examples; then |