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-0.14.2.ebuild ChangeLog
Date: Tue, 30 Oct 2012 09:37:28
Message-Id: 20121030093714.CDD8621600@flycatcher.gentoo.org
1 patrick 12/10/30 09:37:14
2
3 Modified: ChangeLog
4 Added: requests-0.14.2.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.23 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 6 Oct 2012 02:03:36 -0000 1.22
24 +++ ChangeLog 30 Oct 2012 09:37:14 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/requests
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.22 2012/10/06 02:03:36 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.23 2012/10/30 09:37:14 patrick Exp $
30 +
31 +*requests-0.14.2 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Patrick Lauer <patrick@g.o> +requests-0.14.2.ebuild,
34 + requests-0.14.1.ebuild:
35 + Bump
36
37 06 Oct 2012; Anthony G. Basile <blueness@g.o> requests-0.14.1.ebuild:
38 keyword ~arm, bug #437250
39
40
41
42 1.1 dev-python/requests/requests-0.14.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-0.14.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-0.14.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: requests-0.14.2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.14.2.ebuild,v 1.1 2012/10/30 09:37:14 patrick Exp $
52
53 EAPI="4"
54 PYTHON_DEPEND="*:2.6"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 2.5"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils eutils
60
61 DESCRIPTION="HTTP library for human beings"
62 HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
63 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="ISC"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~x86"
68 IUSE=""
69
70 RDEPEND="app-misc/ca-certificates
71 dev-python/chardet
72 dev-python/oauthlib
73 dev-python/urllib3"
74 DEPEND="${RDEPEND}
75 dev-python/setuptools"
76
77 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
78
79 # tests connect to various remote sites
80 RESTRICT="test"
81
82 src_prepare() {
83 # use system libs for chardet, oauthlib, and urllib3
84 rm -r requests/packages || die
85 epatch "${FILESDIR}"/${PN}-0.14.1-system-libs.patch
86
87 # use system ca-certificates
88 rm requests/cacert.pem || die
89 epatch "${FILESDIR}"/${PN}-0.14.1-system-cacerts.patch
90
91 # Different packages are installed depending on the python version.
92 # Need to remove stale egg-info data and build in separate directories.
93 rm -r requests.egg-info || die
94
95 distutils_src_prepare
96 }
97
98 src_test() {
99 echoit() { echo "$@"; "$@"; }
100 testing() {
101 echoit nosetests --verbosity=1 tests/*.py
102 }
103 python_execute_function testing
104 }