summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-12-22 23:44:00 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-12-22 23:46:08 +0100
commite548b3a4b4993a9baf0c410600c4726f1ad8d8ee (patch)
treede1dce086c056715bfb6ec465327c37338383b02 /dev-python/requests
parentdev-python/pytz: Removed old. (diff)
downloadgentoo-e548b3a4b4993a9baf0c410600c4726f1ad8d8ee.tar.gz
gentoo-e548b3a4b4993a9baf0c410600c4726f1ad8d8ee.tar.bz2
gentoo-e548b3a4b4993a9baf0c410600c4726f1ad8d8ee.zip
dev-python/requests: Bump to version 2.12.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/requests')
-rw-r--r--dev-python/requests/Manifest1
-rw-r--r--dev-python/requests/requests-2.12.4.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index d1f362c40865..790541e706ad 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,6 +1,7 @@
DIST requests-2.11.1.tar.gz 485936 SHA256 5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133 SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5 WHIRLPOOL 838e3074f56a87766ebeb04eb75fdd6f5c83da7448b5e9297be8143330acaeae540d10939b7118cbd9e86c1749c8db5c6c22d50064e704b9c1d7278a37a48af4
DIST requests-2.12.1.tar.gz 545246 SHA256 2109ecea94df90980be040490ff1d879971b024861539abb00054062388b612e SHA512 e4da2ef674bcddd96bad91b0b06d4736270a348b740e7006537bc1c27704e1fe2592e1c8b0440c8e1c9a765eefcaf254952bfe5f2871c4ae4bd17962b33fcb00 WHIRLPOOL 6ab1c7e94069ba0ed9509d5706a5498a393e0fcdb5baca9dc1c05a40623c044afc927339ea407b067e563e99556402aae4938a6e382a55e639fa4ca77e1498e4
DIST requests-2.12.3.tar.gz 546994 SHA256 de5d266953875e9647e37ef7bfe6ef1a46ff8ddfe61b5b3652edf7ea717ee2b2 SHA512 24a918f102784681ae395394c53cfddc6423e83613b955071e546343063107b8ec282441810c9efd5d591b7199b7a3e4c6a3608d42a4e1ca25502704e34d7347 WHIRLPOOL c9ae9f0d9e7d19014c4ef6df261b5254be6d3c315a12850a86aae06ee4dd33bd2e890ba9554d4ecb0668b93fe5ab67298254882a54d72be8ac6f50d98c42e5e8
+DIST requests-2.12.4.tar.gz 547650 SHA256 ed98431a0631e309bb4b63c81d561c1654822cb103de1ac7b47e45c26be7ae34 SHA512 100a38ad4bfe5c02c44ccfa75473da4b58416690985117750a0c2e1851e98267df740f578f6a5ad27d0a5b9de2954988f832ea1a169fffc82e8e2da15742f855 WHIRLPOOL b7e1ef3357edb36e7f9c1baee342706f8ed85b2a24d15bba9b48caf023ef10a43f43102be17e5e29cb6bfe3754d9f5f9ddb6d9fd3ad6bae11e249cd066759bb8
DIST requests-2.7.0.tar.gz 451723 SHA256 398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d SHA512 a93223c3fd21c58f7c0c901b17be17c23dba4efeed8c4347da9d4e04d96a6698e08e01482205661cb7757cc7560d9ae2e62b18f2b422af0cb90fd998fe963ff2 WHIRLPOOL b805d76ad747fc8a754fb0ca0439e8f303df057c2b256ed7f57533b311322e4e28b0d8f22111a3c5ad283823c1256cd24c93fec2aeabc6946013c17ab3540dd9
DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b
DIST requests-2.9.1.tar.gz 484252 SHA256 c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f SHA512 0b2b64b2ebb68703f2a222a3e5d0227cf15250319195a13497e38959c64b82359b70221157eab2ab828dfc79bcfec13ede4d6272f0202ae1b22ae79d5810adb9 WHIRLPOOL 9d942b97168c8a869b703db324a263ed3f5279a17e18444f7311e3d3a06aac99ef939c1d3f966025d6ac9e2967415880669b3bac6766c2d39c2faee43cb146c3
diff --git a/dev-python/requests/requests-2.12.4.ebuild b/dev-python/requests/requests-2.12.4.ebuild
new file mode 100644
index 000000000000..a4d5ada73f52
--- /dev/null
+++ b/dev-python/requests/requests-2.12.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="
+ app-misc/ca-certificates
+ >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
+ dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
+ >=dev-python/py-1.4.30[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
+ >=dev-python/urllib3-1.13.1-r1[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
+ )
+ "
+# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
+
+# tests connect to various remote sites
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.12.1-system-packages.patch
+ "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
+)
+
+python_prepare_all() {
+ # use system chardet & urllib3
+ rm -r requests/packages/{chardet,urllib3} || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v || die
+}