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-1.2.2.ebuild ChangeLog
Date: Wed, 22 May 2013 07:14:32
Message-Id: 20130522071425.A54F22171D@flycatcher.gentoo.org
1 patrick 13/05/22 07:14:25
2
3 Modified: ChangeLog
4 Added: requests-1.2.2.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.40 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 21 May 2013 08:09:17 -0000 1.39
24 +++ ChangeLog 22 May 2013 07:14:25 -0000 1.40
25 @@ -1,6 +1,11 @@
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.39 2013/05/21 08:09:17 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.40 2013/05/22 07:14:25 patrick Exp $
30 +
31 +*requests-1.2.2 (22 May 2013)
32 +
33 + 22 May 2013; Patrick Lauer <patrick@g.o> +requests-1.2.2.ebuild:
34 + Bump
35
36 *requests-1.2.1 (21 May 2013)
37
38
39
40
41 1.1 dev-python/requests/requests-1.2.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-1.2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-1.2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: requests-1.2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.2.2.ebuild,v 1.1 2013/05/22 07:14:25 patrick Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
54
55 inherit distutils-r1
56
57 DESCRIPTION="HTTP library for human beings"
58 HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
59 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
60
61 LICENSE="Apache-2.0"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~x86"
64 IUSE="test"
65
66 # bundles dev-python/urllib3 snapshot
67 RDEPEND="app-misc/ca-certificates
68 dev-python/charade[${PYTHON_USEDEP}]"
69 DEPEND="${RDEPEND}
70 dev-python/setuptools[${PYTHON_USEDEP}]
71 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
72
73 # tests connect to various remote sites
74 RESTRICT="test"
75
76 DOCS=( README.rst HISTORY.rst )
77
78 python_prepare_all() {
79 local PATCHES=(
80 "${FILESDIR}"/${PN}-1.2.0-system-cacerts.patch
81 "${FILESDIR}"/${PN}-1.2.0-system-libs.patch
82 "${FILESDIR}"/${PN}-1.2.1-urllib3-py3.patch
83 )
84
85 # use system charade
86 rm -r requests/packages/charade || die
87
88 distutils-r1_python_prepare_all
89 }
90
91 python_test() {
92 nosetests || die "Tests fail with ${EPYTHON}"
93 }