From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DBBDC1384B4 for ; Thu, 17 Dec 2015 14:49:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDFF421C02B; Thu, 17 Dec 2015 14:49:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92D6D21C025 for ; Thu, 17 Dec 2015 14:48:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1058A340686 for ; Thu, 17 Dec 2015 14:48:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DC88CEE for ; Thu, 17 Dec 2015 14:48:54 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1450363726.040c0df931782e953926cf98d9bef163fbbd88b8.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/requests/Manifest dev-python/requests/requests-2.9.0.ebuild X-VCS-Directories: dev-python/requests/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 040c0df931782e953926cf98d9bef163fbbd88b8 X-VCS-Branch: master Date: Thu, 17 Dec 2015 14:48:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1907aaca-b707-4ea5-bcd8-d7c30c3c4df6 X-Archives-Hash: b2a5bb123ab2e03c10ee12c31591d0be commit: 040c0df931782e953926cf98d9bef163fbbd88b8 Author: Justin Lecher gentoo org> AuthorDate: Thu Dec 17 14:47:29 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Dec 17 14:48:46 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=040c0df9 dev-python/requests: Version Bump Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/requests/Manifest | 1 + dev-python/requests/requests-2.9.0.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 3db0e74..d36010c 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,3 +1,4 @@ DIST requests-2.7.0.tar.gz 451723 SHA256 398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d SHA512 a93223c3fd21c58f7c0c901b17be17c23dba4efeed8c4347da9d4e04d96a6698e08e01482205661cb7757cc7560d9ae2e62b18f2b422af0cb90fd998fe963ff2 WHIRLPOOL b805d76ad747fc8a754fb0ca0439e8f303df057c2b256ed7f57533b311322e4e28b0d8f22111a3c5ad283823c1256cd24c93fec2aeabc6946013c17ab3540dd9 DIST requests-2.8.0.tar.gz 457879 SHA256 b2f003589b60924909c0acde472590c5ea83906986a7a25b6f7929eb20923b7b SHA512 cf41db4b1a4639e940c2b5c1e0edaf2c4dedf0a8ead8381e211fd9e350f491e252f10cfba09bb64b4a062be98ee43e133957f489649db15116a1811e06958bb3 WHIRLPOOL 5e7e889bc016f403e221af05d01aebbec4c96175c983e240128d288884768dc0c119d76c022fd3ae5d2222cfda5415c866052fa5c5f325ee22cebb33c780df16 DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b +DIST requests-2.9.0.tar.gz 483589 SHA256 4881966532b5a36c552244fd909de66d1b8c4a26086f56fd5837cfcde63f8eb8 SHA512 8df3dd0a803f44eea269275e247f823c0d676b04ee44c719135e3661c6d951a0d94fac305766b99e10ba09f5f602e3f57883b0ae764aa7fce8bd1d92e86be85e WHIRLPOOL 1fc936a628fa32b4eb7c2ebfe3b049ddc3d5412f1dac686a1eadc9834e8f9738443c0e96f351b51fba6e2ef2730a6da93489d4193f525149fc523cafb9d7053d diff --git a/dev-python/requests/requests-2.9.0.ebuild b/dev-python/requests/requests-2.9.0.ebuild new file mode 100644 index 0000000..4d4a608 --- /dev/null +++ b/dev-python/requests/requests-2.9.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) +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" + +# bundles dev-python/urllib3 snapshot +RDEPEND=" + app-misc/ca-certificates + >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}] + dev-python/ndg-httpsclient[${PYTHON_USEDEP}] + >=dev-python/py-1.4.30[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[$(python_gen_usedep 'python*' pypy)] + " +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.2.0-system-chardet.patch + "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch +) + +python_prepare_all() { + # use system chardet + rm -r requests/packages/chardet || die + + distutils-r1_python_prepare_all +} + +python_test() { + py.test -v || die +}