From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C28C139694 for ; Mon, 15 May 2017 15:48:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38559E0C56; Mon, 15 May 2017 15:48:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03A1BE0C56 for ; Mon, 15 May 2017 15:48:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB5FD33FE74 for ; Mon, 15 May 2017 15:48:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57FAE7447 for ; Mon, 15 May 2017 15:48:15 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1494863280.e5b379c157be46fe33849e56f66ebc09dc463916.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/requests/Manifest dev-python/requests/files/requests-2.14.2-system-packages.patch dev-python/requests/requests-2.14.2.ebuild X-VCS-Directories: dev-python/requests/files/ dev-python/requests/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: e5b379c157be46fe33849e56f66ebc09dc463916 X-VCS-Branch: master Date: Mon, 15 May 2017 15:48:15 +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: 202461b2-798d-4f8d-932e-4fab97b3fd79 X-Archives-Hash: 487e901abc036ea747ae7948d28a779c commit: e5b379c157be46fe33849e56f66ebc09dc463916 Author: Manuel Rüger gentoo org> AuthorDate: Mon May 15 15:48:00 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon May 15 15:48:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b379c1 dev-python/requests: Version bump to 2.14.2 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/requests/Manifest | 1 + .../files/requests-2.14.2-system-packages.patch | 19 ++++++++ dev-python/requests/requests-2.14.2.ebuild | 54 ++++++++++++++++++++++ 3 files changed, 74 insertions(+) diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 9b88031d028..507ef33c624 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,4 +1,5 @@ DIST requests-2.11.1.tar.gz 485936 SHA256 5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133 SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5 WHIRLPOOL 838e3074f56a87766ebeb04eb75fdd6f5c83da7448b5e9297be8143330acaeae540d10939b7118cbd9e86c1749c8db5c6c22d50064e704b9c1d7278a37a48af4 DIST requests-2.12.5.tar.gz 548336 SHA256 d902a54f08d086a7cc6e58c20e2bb225b1ae82c19c35e5925269ee94fb9fce00 SHA512 3ad60b953c6db98d26c043c7e77c3be8b28389ee1dbf32e75663cf48a8ddc2e487df27c54c64736ff42b79e35a6dbd2788065469a61a520a9818183970274cd9 WHIRLPOOL bc347e966743a940c09ed9bc98fed7422648a9b0354d36aaf94820fb306169842fafe5d34a48effb46547bb44fb46b2499cb1ba7dfd3ec029426cf97418d9c68 DIST requests-2.13.0.tar.gz 557508 SHA256 5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8 SHA512 d3e9c25d1ce7ecf51bd4b137645d06c07170542a78fc847b1c30cad6efa9bcbf36d4b0c809389cbf260dc7d73128ab6bbed1e197cba9497b6ad791b48014ae14 WHIRLPOOL febfabea45aa45093eb04758f40a35b6479e16f833fd83abc798d2b5786bed025bb00c45e8dea9161aff735bde693573e6f5db7e5ee09ad3d2b140673e2cbcf8 +DIST requests-2.14.2.tar.gz 521027 SHA256 a274abba399a23e8713ffd2b5706535ae280ebe2b8069ee6a941cb089440d153 SHA512 f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4 WHIRLPOOL e242d8182312b437a27bdc1d4a099d7db0c6135b3de29c0285ba60f6a72e1102941603cc551d8f3a4597f479c7d9409eef073c25b2411df93d0903d9f87b316f DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b diff --git a/dev-python/requests/files/requests-2.14.2-system-packages.patch b/dev-python/requests/files/requests-2.14.2-system-packages.patch new file mode 100644 index 00000000000..67627d150fe --- /dev/null +++ b/dev-python/requests/files/requests-2.14.2-system-packages.patch @@ -0,0 +1,19 @@ +--- requests-2.14.2/setup.py.old 2017-05-15 17:38:45.942532911 +0200 ++++ requests-2.14.2/setup.py 2017-05-15 17:39:03.629533611 +0200 +@@ -36,16 +36,6 @@ + packages = [ + 'requests', + 'requests.packages', +- 'requests.packages.chardet', +- 'requests.packages.chardet.cli', +- 'requests.packages.idna', +- 'requests.packages.urllib3', +- 'requests.packages.urllib3.packages', +- 'requests.packages.urllib3.contrib', +- 'requests.packages.urllib3.util', +- 'requests.packages.urllib3.packages.ssl_match_hostname', +- 'requests.packages.urllib3.packages.backports', +- 'requests.packages.urllib3.contrib._securetransport', + ] + + requires = [] diff --git a/dev-python/requests/requests-2.14.2.ebuild b/dev-python/requests/requests-2.14.2.ebuild new file mode 100644 index 00000000000..d96c3241576 --- /dev/null +++ b/dev-python/requests/requests-2.14.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +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 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="test" + +RDEPEND=" + app-misc/ca-certificates + >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}] + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + dev-python/ndg-httpsclient[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)] + >=dev-python/urllib3-1.21.1[${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}"/${P}-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 +}