Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/requests: requests-2.5.3.ebuild ChangeLog
Date: Sat, 28 Feb 2015 07:52:24
Message-Id: 20150228075217.A3EE912B87@oystercatcher.gentoo.org
1 patrick 15/02/28 07:52:17
2
3 Modified: ChangeLog
4 Added: requests-2.5.3.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.83 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.83&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.83&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.82&r2=1.83
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.82
21 retrieving revision 1.83
22 diff -u -r1.82 -r1.83
23 --- ChangeLog 28 Dec 2014 15:30:21 -0000 1.82
24 +++ ChangeLog 28 Feb 2015 07:52:17 -0000 1.83
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/requests
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.82 2014/12/28 15:30:21 radhermit Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.83 2015/02/28 07:52:17 patrick Exp $
31 +
32 +*requests-2.5.3 (28 Feb 2015)
33 +
34 + 28 Feb 2015; Patrick Lauer <patrick@g.o> +requests-2.5.3.ebuild:
35 + Bump
36
37 *requests-2.5.1 (28 Dec 2014)
38
39
40
41
42 1.1 dev-python/requests/requests-2.5.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.5.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.5.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: requests-2.5.3.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-2.5.3.ebuild,v 1.1 2015/02/28 07:52:17 patrick Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
55
56 inherit distutils-r1
57
58 DESCRIPTION="HTTP library for human beings"
59 HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
60 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="Apache-2.0"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
65 IUSE=""
66
67 # bundles dev-python/urllib3 snapshot
68 RDEPEND="app-misc/ca-certificates
69 >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]"
70 DEPEND="${RDEPEND}
71 dev-python/setuptools[${PYTHON_USEDEP}]"
72
73 # tests connect to various remote sites
74 RESTRICT="test"
75
76 PATCHES=(
77 "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch
78 "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
79 )
80
81 python_prepare_all() {
82 # use system chardet
83 rm -r requests/packages/chardet || die
84
85 distutils-r1_python_prepare_all
86 }
87
88 python_test() {
89 "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}"
90 }