Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/requests: ChangeLog requests-1.2.1.ebuild
Date: Tue, 21 May 2013 08:09:21
Message-Id: 20130521080918.0AAE72171D@flycatcher.gentoo.org
1 radhermit 13/05/21 08:09:17
2
3 Modified: ChangeLog
4 Added: requests-1.2.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.39 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 16 May 2013 17:17:55 -0000 1.38
24 +++ ChangeLog 21 May 2013 08:09:17 -0000 1.39
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/requests
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.38 2013/05/16 17:17:55 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.39 2013/05/21 08:09:17 radhermit Exp $
30 +
31 +*requests-1.2.1 (21 May 2013)
32 +
33 + 21 May 2013; Tim Harder <radhermit@g.o> +requests-1.2.1.ebuild,
34 + +files/requests-1.2.1-urllib3-py3.patch:
35 + Version bump.
36
37 16 May 2013; Markus Meier <maekke@g.o> requests-1.2.0.ebuild:
38 add ~arm, bug #447650
39
40
41
42 1.1 dev-python/requests/requests-1.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-1.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-1.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: requests-1.2.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.2.1.ebuild,v 1.1 2013/05/21 08:09:17 radhermit Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
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="~amd64 ~arm ~x86"
65 IUSE="test"
66
67 # bundles dev-python/urllib3 snapshot
68 RDEPEND="app-misc/ca-certificates
69 dev-python/charade[${PYTHON_USEDEP}]"
70 DEPEND="${RDEPEND}
71 dev-python/setuptools[${PYTHON_USEDEP}]
72 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
73
74 # tests connect to various remote sites
75 RESTRICT="test"
76
77 DOCS=( README.rst HISTORY.rst )
78
79 python_prepare_all() {
80 local PATCHES=(
81 "${FILESDIR}"/${PN}-1.2.0-system-cacerts.patch
82 "${FILESDIR}"/${PN}-1.2.0-system-libs.patch
83 "${FILESDIR}"/${P}-urllib3-py3.patch
84 )
85
86 # use system charade
87 rm -r requests/packages/charade || die
88
89 distutils-r1_python_prepare_all
90 }
91
92 python_test() {
93 nosetests || die "Tests fail with ${EPYTHON}"
94 }