summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-12-20 07:11:29 +0000
committerTim Harder <radhermit@gentoo.org>2012-12-20 07:11:29 +0000
commit4e760a195d15ad98df79d6a23d8f55b651c33de4 (patch)
treec624b8e3604e309619b36d719b9a2f3ee256b5de /dev-python
parentAdd missing patch - bug #447886 (diff)
downloadhistorical-4e760a195d15ad98df79d6a23d8f55b651c33de4.tar.gz
historical-4e760a195d15ad98df79d6a23d8f55b651c33de4.tar.bz2
historical-4e760a195d15ad98df79d6a23d8f55b651c33de4.zip
Version bump.
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/requests/ChangeLog8
-rw-r--r--dev-python/requests/Manifest19
-rw-r--r--dev-python/requests/files/requests-1.0.3-system-libs.patch68
-rw-r--r--dev-python/requests/requests-1.0.3.ebuild44
4 files changed, 130 insertions, 9 deletions
diff --git a/dev-python/requests/ChangeLog b/dev-python/requests/ChangeLog
index c6f94ef7ea4e..7320906f743c 100644
--- a/dev-python/requests/ChangeLog
+++ b/dev-python/requests/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/requests
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.24 2012/12/17 22:33:55 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.25 2012/12/20 07:11:23 radhermit Exp $
+
+*requests-1.0.3 (20 Dec 2012)
+
+ 20 Dec 2012; Tim Harder <radhermit@gentoo.org> +requests-1.0.3.ebuild,
+ +files/requests-1.0.3-system-libs.patch:
+ Version bump.
*requests-1.0.0 (17 Dec 2012)
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 63855a18d58e..3982f31e80ea 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -6,6 +6,7 @@ AUX requests-0.13-python2.6.patch 1765 SHA256 eef2282997f16309d8be932e2a5c6c65c5
AUX requests-0.14.1-system-cacerts.patch 292 SHA256 b9b20d281b64bb3d70e1d1054c851bc5701fe220ca8cf6b896b709b1f229b68d SHA512 af4ba044bdb7d453eae395b045a9e154d6022dcce92ec7381d2873c343aa90494be115b18e0e5bb4d4cbf5338c60d68cfc739fdce759cf9661a9585be410243d WHIRLPOOL 0144d697d4baace9e38668a416f21fc003b96d939affc6100013f2fd12c37dda316d7b7e7ad676b5ae054787ea9d1c48af175e4015ee3113be3f405739fc0db5
AUX requests-0.14.1-system-libs.patch 3118 SHA256 4627bf7611e7758397308e1a89e3db0527c28a410b4969040bdb362bec6dbd58 SHA512 db5b80a642667dee048a8fea3d660700b07c1e904370e14893401258ec236d743ff35d7521e77c1c9f704d2a58d8210900a6db9af1f47be03d4db50e89895249 WHIRLPOOL 784d1b7928ba3fe0e5301131624e3bff2d99ad1042b0cfe12d5073895c47feb93e66f5d5dd11dacf863604e2ff90c7047bd25fc867b686244fcd733c3596d6db
AUX requests-1.0.0-system-libs.patch 2316 SHA256 1eee53932d2546973ff1750d286acfeef9ece2bce983b33b3a283be2f75f9b01 SHA512 8655abaaa4f629f8f56f0cbb64abd0a333d795f2c83d0c7881cb52b53f46a1199515b20c24dbc16bf9d2595c34829c12d00ddd728d61d796fe7777cf982c7e08 WHIRLPOOL 61551154b7fc86c5cc7c0a7b28ea234967a344c1130f7fcb9622fdf9394b17ecd7d65f5f2da8d76a37c4275e8fe8bd33968469007ab1b0f89d7497404b5fa56a
+AUX requests-1.0.3-system-libs.patch 2271 SHA256 9e9fc181005d8eb1a8797b50a69e4355ed9cf6bae9e6f725ac04f406fd0d99b3 SHA512 26430f4733c0fbc48622cc0628d0ba1ed4048a5bd84a55b570fba8548afd2e0e6882beab72bc1565ac2e4d46204bc3f593493752100b6ce52e3cc57eaddf8045 WHIRLPOOL 8f7acf4c66cdd27437409e7892ca718029bdb3e77a901d43b26cd8c1afc48493a4258c895b1aef81dd57a5e8ed66f18314eaf27b469619089f366d0bf4bb908f
DIST requests-0.13.1.tar.gz 68474 SHA256 31f3ae96787fe74a78c7dd9626bf997fd4eabacc040b7b33fbd8632d2c2a97f6 SHA512 97472d56a2da10216e735b575610d9aa7f97f1d4705fb20e72a79f520090dec59b91d5b5059e9966bc2fd05982b6b8f3e2a1c794e9cf9042713ae8d481162df8 WHIRLPOOL f50251d2d71262118f208da14c4f3067ff904893416e22a8b3cbc1817d53709efef79e23a6c05b63b497f0cd105f1e106fa8eb751a4cd78d4733be027a663966
DIST requests-0.13.6.tar.gz 520031 SHA256 3cca63908f1b941d2da61ef0e8baf7bf014cc0df6512e172b8d2ac87be82b916 SHA512 26eac9522220002f45e97b3ee3fbbc072e6e58402bab723c7e3b2f70e9ec7e80b0fd4f12a05cde50745f574836a62ef2b7bad0dd1d92944f4d6da47425d08938 WHIRLPOOL 2041f5d32b705d5ca4eda8d312d226fa1ff553563b68f500099fa037f1b35cb2d566a4d2e9665704ee6c21415a00101291d70edf8559597404163740311a7940
DIST requests-0.13.9.tar.gz 522477 SHA256 d887bb1c06948a8930d6e73a1f942f9febe9157a299a984994c20c84b2c21e20 SHA512 6c83e5c82b4b737db1fee63dbb5997a2cf28d79445b2c5d3ca11a43221a3e79f20731c120960a90d144cfd138c110cab024aacd76c7d6ba9299b5da99a2c95d1 WHIRLPOOL fdcf06724b753d4537778aab811421c60fc8d6279e730ead1b4b3f75fa16c33426e0629cbbcad413d8585b078ed069b3c5b7fe89482ead8eeaf167c53c812707
@@ -13,6 +14,7 @@ DIST requests-0.14.0.tar.gz 523133 SHA256 4e690ba0275ab4a8c9a5c7a6eb14e79e1adad0
DIST requests-0.14.1.tar.gz 523254 SHA256 4f563b907782b2c95dd2cbaf882a96133e567d46290a0e7aafa0c6f3efad19ba SHA512 84b1828e5e7d597cb308a53fb6df6e133e80aeecae53224ed578f01fbfc2f06d0e015d3bd0e2fe9efb443222bd1bfc07c147dfbce2250d69e49e34ed02738714 WHIRLPOOL 5194f63da07c69c04e819e7d5a8d6a3a1b9828b057967af35aed7df3d0ba7a2b7184d13a798a880db7c4aac3221416d2ae1cdfa38b2fa885e1615d21170a531a
DIST requests-0.14.2.tar.gz 361488 SHA256 0e3345a8ac0d712bf17bd9d3276415050c5f972265ab62993cd4540a3a1aaaef SHA512 d791f68b2fdc46ad6abaf2bcd49a038a335fddb476f89c6b7023370c716f0165a8ad09e8d0d1f3d145255d604c2d10f810e4090facd2381515b43f2306ca0365 WHIRLPOOL ed71a4a4db8279e1587d32dfb3dc2c219a87267e484bf23915db158c8843eea4d396d439e12919c29cb37677bb0b2615c87cabbd602a7de25a0273aca302c6ba
DIST requests-1.0.0.tar.gz 335548 SHA256 f10d8fbcc02a58056ab44f79ff9b3f9fe78e410296527885250bbb36d15be8c6 SHA512 282e692f2687d621dd386ef362152bb41b546e2234c1560d33f3dddd04314ce7ea198580e6bb34009e52dec2ed61804eb4809e400a879bd97c6e54913ebf1daf WHIRLPOOL 647af622b755d90199c36709f9b0c214235dd61491ee188067236ca2071a63b51dec3334e361b2dbd4d32d0e855d0a4801440ac5aa01b652ecf1130eb47c407c
+DIST requests-1.0.3.tar.gz 335757 SHA256 c7b50dc01b751e5ef8785951a74d0c2373bb0f87b45dca75dc2c5477b7e30f44 SHA512 9570e3fda1a1a9cf05af75f352fffc323974b19e4c12af0197dca6e13b77fd692752cc6c79c0b8965ec9013a27caa890ca7df2ac89006b3ecf2ed8bdf8186b6a WHIRLPOOL 26d3be62cef5888d394970a08521318ad9eca6907324430478f121746ff1dba84fda43446a3f417c9ae616f11d26e48e89ec6479756643c43e0d32181fe28fd2
EBUILD requests-0.13.1.ebuild 929 SHA256 2142584f7fa5de965950846c32a8e233935af2bf3ef15cd9ddaf3536f027925b SHA512 e05e8a54c0e4bed7e6c40d0b6fb3738e5b01cdebedba3260cb4bf4b91e467f860ce2c2a77f0fd888d4cfffa46fb7f901c01e55fb53e4bd7470bf7ce1820fbf4a WHIRLPOOL c5fe749d6c1f97ab40e5b918d35143abb97d78b2892d92f06b792cf2ed0f2e379965d3fe4ac0e9c36b5f59bdbee7cf41b64f6072fc95e8c95d63958fd180bc24
EBUILD requests-0.13.6.ebuild 1085 SHA256 da574a2b5751ddc647f711e0314dec50179cbe4e3d72454a93ce776fecff8c34 SHA512 768a5d693e862d420fce7ddcc0c8692f10c5dfd956934d89006e571906f7dcc2bf649ac27df87a8384ce542a39b9234d8ab51ecf6677c2cfe5f400bff9b19f05 WHIRLPOOL 6ceaa3707c34189399be328230ebe818fcfe459625b0e09143221c6162fcd0d0401265a696af64e2af45ed673e4f43b93ae9c543c0f60cc36ed732d34c14685a
EBUILD requests-0.13.9.ebuild 1030 SHA256 0495f3fdc758cbf7a09eb708a18450284c2580d6927f9951e662f6d556bfde11 SHA512 e4b197697081be207b5e896db0ce48d040f7b4c2c4c617421f45fd56e66e633afb8e7f836b6c2277a94eff208a85105479f7bfeb7938002e4e6ff9cda38a3a49 WHIRLPOOL 25d73f2aa348df3bf6d7b345741571b871f37c08baf99acd84ddcf66bc9c88f91944c69f8aba6b396871417f6679eaca583b2d777b47f73ac9895a716df98102
@@ -20,16 +22,17 @@ EBUILD requests-0.14.0.ebuild 1028 SHA256 14ff465eddcc44b9cef6d59ef5af4ff8ca995e
EBUILD requests-0.14.1.ebuild 1443 SHA256 2ed4c9203b084d6ae8c5171c6bea2754142757ebba7690d7769e486c1b5fd5f0 SHA512 3292b20aa762b0f41f504dd57000b20f27effba147da0d9d19e6913ccd94a898dbc1007a3c1ea508eb4e7dcac7e3b2d70fd2769c195b5ec10375d916615a3526 WHIRLPOOL ebc81b7ee09ce885ebc057ec3e2c96fda79a87ce0f950c47e531bf5984184011a46398f1a12ed520e0977b54b616971e925f092611945125a83defe408d069e2
EBUILD requests-0.14.2.ebuild 1458 SHA256 ea85de3f5ce68574ba9db938951956c7d6d4b880234020eec80a68a386e76d7a SHA512 248f9be799422649b0ce06c3ea3414ceef73722d095e118672d24f9a6090c5b2ddab4be10db1fb71f417a8b2f2096458f8fbefbdd2249df9c67f8f70512c62ec WHIRLPOOL 7aa3b26ff4fdbacf141e28c4e9394a3dadba13deb1dca49d1f1b49090c4d64cbf59aa165aa88d92729eebfa87fd7752071f11715a2939a457c00bffcc72943ae
EBUILD requests-1.0.0.ebuild 1030 SHA256 1dc634a817f902ec73fe51212e034c77682c49f0f6fb91341d7aed6b036bf898 SHA512 e19fda7859fb6990bfa69c9b47ced69194e127fc9a5263f5e1907f1b2ffa38642521cde07dfc317311637a421d4a1aff922bb6bdad557be49ce64115df702aed WHIRLPOOL e714ed1dbb7ae9b0f9b6b588d2c2f38ada0a369da994385734248333fffafa9137ecaca2532657a2dfd6c106ea01728d86c43f3e8ff3afba558287d831b8da41
-MISC ChangeLog 4180 SHA256 9939fc57babf4e01cc2416f25e20531afe3b13a252c98754877125a04ad8297e SHA512 12c4a950b07e40a96d599014f06907fde51b7bcfeb649a667c7accb12c70427bd8b3b962ce1f163e99449abed6abe34e4f73027b02c7b388c03a3db45940ce4a WHIRLPOOL f02c81d65a327d4afb30c3fcafa87ae0c8478de8edc99dbf32a2213fdbedd797403ffc99dee69a87bc7210f96acbb29fe413e1c10bf6dd9211f39c6baecfdd36
+EBUILD requests-1.0.3.ebuild 1085 SHA256 6b97936deeaadd57ba578302f4507eaa9a9313c277751b7a011a794a979e2a00 SHA512 1fbe4b416d30b82d80bcaa5956ab9896b9201cb219790a45ac0f9de05d00d2eb2d2637fa84c2a772df90a6410c14307ef9591278867d6c747c3ea6c4ef10bbfb WHIRLPOOL 4167af1a0ea3ef8d4522e3e8d6d94c59c2fed9116ff9eb807813af4d49144de5e31106839c00bed53238ad2acc63a3480986d9d6e22350e84bc38e4bf832eb6d
+MISC ChangeLog 4344 SHA256 f20b3cff38899ca761d1968cd6881d142f928dd9ccd086743e95c8301dc43d81 SHA512 9d207ac8eee6e4d71f2b0a25b61ee258df0c86872cb795209ef7d681aaddce37e361e4ebc0bde453ede2007a53dd1c6f9773079cde476c1efc884aa9e5d4d9c1 WHIRLPOOL 6c912ba93604b34e0bbb74cb100ba01faa24a270796ebaf6b365c037f4f1f27f13f3cf14a34387839c153400b66de3d7667011ef7bd5176e03059a1549e82c6a
MISC metadata.xml 231 SHA256 7bbca8901dd0afb4da18f659567071156f1efea52100213d20d43e53721a0ff9 SHA512 dce3df6bc1c4fc9517e39c41e0c904f39fd092cd63024f03ee5c15aef5b4840dfb265ebe565a5e5a8da9a8805d58b3ec3f772429bf00b125c3172f2f79e089bb WHIRLPOOL 2f6573a3f74f88a549a3344deeea5cdd4f27a310b59d466684902f009c7b404c0557f26f416b450f1f7bdce133c3d52897c5169fce01707233630ddfa783d9c6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQz53YAAoJEEqz6FtPBkyjubQH/iHLLIaIvov2f4NZZHb6qM/p
-Mz4c5I2bYOXtg6Yi0OT+QDm58lLNV4e8+6KnEulPNSErTONY6Ogbxhqxeww2nIMj
-qduJ7OurTXzCYhpAokkiL6J5Vd+ZILTL+Y8/YCQtRvQF8zTkDg5pNLReYjwDTKo9
-BnTFJn+8eTvjpxCFtSYhrDCI+aDz4Jg3N1WMDsG4mwHZHyjBWsWde4Ssg0vQ12n6
-+v9Fpvrn1LPZ1pHU25o5WALEn2e17OBv71m1NMoRCuCdUUjkIW2wYQ+mjJw6LLE1
-QxGBgfEJP5X5t7c0PO7LCGlGMBsKcsJqsutyUmxS+zyRfuZ7GBZvkHHCEQ74Y38=
-=J2+X
+iQEcBAEBCAAGBQJQ0rogAAoJEEqz6FtPBkyjLqUIAIW29+Vi/HbQgvGfpbUN8u/k
+bM9V9FrOPKyx0HolOpYlSnIDB7eSkNEx+pmx6e1HYW9ZuJEGSwdqCjC26OqjxCEJ
+6WQP8t2RDUlj/N3TVaCXdqZabjnxnxmq4C49w2pyw+4u7u3HeCdMdEyhm76C6yM/
+9wBOxwCNB2W2lmxfmcuLumW5l+dUd2p1n7FGZx9XOPdDMbILPCzi/yI3SMVhFVw+
+6DFhuM7hvjYNSsoTFJ108C3WiEqnCKmEXQcuewUd7ResYxRYt0uGtKTMGIIKX7rv
+eSiOlJiT8qKI4ycNew0ap2ZckdLt7cos6hZ000tRsw0JXBmvj/80hKilbJFcsco=
+=WhYF
-----END PGP SIGNATURE-----
diff --git a/dev-python/requests/files/requests-1.0.3-system-libs.patch b/dev-python/requests/files/requests-1.0.3-system-libs.patch
new file mode 100644
index 000000000000..28eefde2576c
--- /dev/null
+++ b/dev-python/requests/files/requests-1.0.3-system-libs.patch
@@ -0,0 +1,68 @@
+--- requests-1.0.3/requests/adapters.py
++++ requests-1.0.3/requests/adapters.py
+@@ -11,15 +11,15 @@
+ import socket
+
+ from .models import Response
+-from .packages.urllib3.poolmanager import PoolManager, proxy_from_url
++from urllib3.poolmanager import PoolManager, proxy_from_url
+ from .hooks import dispatch_hook
+ from .compat import urlparse
+ from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers
+ from .structures import CaseInsensitiveDict
+-from .packages.urllib3.exceptions import MaxRetryError
+-from .packages.urllib3.exceptions import TimeoutError
+-from .packages.urllib3.exceptions import SSLError as _SSLError
+-from .packages.urllib3.exceptions import HTTPError as _HTTPError
++from urllib3.exceptions import MaxRetryError
++from urllib3.exceptions import TimeoutError
++from urllib3.exceptions import SSLError as _SSLError
++from urllib3.exceptions import HTTPError as _HTTPError
+ from .cookies import extract_cookies_to_jar
+ from .exceptions import ConnectionError, Timeout, SSLError
+
+--- requests-1.0.3/requests/compat.py
++++ requests-1.0.3/requests/compat.py
+@@ -4,7 +4,7 @@
+ pythoncompat
+ """
+
+-from .packages import charade as chardet
++import charade as chardet
+
+ import sys
+
+@@ -89,7 +89,7 @@
+ import cookielib
+ from Cookie import Morsel
+ from StringIO import StringIO
+- from .packages.urllib3.packages.ordered_dict import OrderedDict
++ from urllib3.packages.ordered_dict import OrderedDict
+
+ builtin_str = str
+ bytes = str
+--- requests-1.0.3/requests/models.py
++++ requests-1.0.3/requests/models.py
+@@ -17,7 +17,7 @@
+
+ from .auth import HTTPBasicAuth
+ from .cookies import cookiejar_from_dict, get_cookie_header
+-from .packages.urllib3.filepost import encode_multipart_formdata
++from urllib3.filepost import encode_multipart_formdata
+ from .exceptions import HTTPError, RequestException, MissingSchema, InvalidURL
+ from .utils import (
+ stream_untransfer, guess_filename, requote_uri,
+--- requests-1.0.3/setup.py
++++ requests-1.0.3/setup.py
+@@ -16,11 +16,6 @@
+
+ packages = [
+ 'requests',
+- 'requests.packages',
+- 'requests.packages.charade',
+- 'requests.packages.urllib3',
+- 'requests.packages.urllib3.packages',
+- 'requests.packages.urllib3.packages.ssl_match_hostname'
+ ]
+
+ requires = []
diff --git a/dev-python/requests/requests-1.0.3.ebuild b/dev-python/requests/requests-1.0.3.ebuild
new file mode 100644
index 000000000000..868b9b323320
--- /dev/null
+++ b/dev-python/requests/requests-1.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.0.3.ebuild,v 1.1 2012/12/20 07:11:23 radhermit Exp $
+
+EAPI=5
+# 3.3 dropped due to bugs 438090 and 447084
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="app-misc/ca-certificates
+ dev-python/charade
+ dev-python/urllib3"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+# tests connect to various remote sites
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${P}-system-libs.patch )
+
+python_prepare_all() {
+ # use system libs for charade and urllib3
+ rm -r requests/packages || die
+
+ # use system ca-certificates
+ rm requests/cacert.pem || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests || die
+}