Gentoo Archives: gentoo-commits

From: "Marien Zwart (marienz)" <marienz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/requests: requests-0.12.1-r1.ebuild ChangeLog
Date: Mon, 04 Jun 2012 11:49:15
Message-Id: 20120604114846.743BA2004E@flycatcher.gentoo.org
1 marienz 12/06/04 11:48:46
2
3 Modified: ChangeLog
4 Added: requests-0.12.1-r1.ebuild
5 Log:
6 Remove dead code that breaks FEATURES=test, remove unnecessary certifi dep, tweak python 3 chardet dep to match what gentoo installs.
7
8 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 28 May 2012 17:58:22 -0000 1.11
24 +++ ChangeLog 4 Jun 2012 11:48:46 -0000 1.12
25 @@ -1,6 +1,13 @@
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.11 2012/05/28 17:58:22 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.12 2012/06/04 11:48:46 marienz Exp $
30 +
31 +*requests-0.12.1-r1 (04 Jun 2012)
32 +
33 + 04 Jun 2012; Marien Zwart <marienz@g.o>
34 + +files/requests-0.12.1-setup.py.patch, +requests-0.12.1-r1.ebuild:
35 + Remove dead code that breaks FEATURES=test, remove unnecessary certifi dep,
36 + tweak python 3 chardet dep to match what gentoo installs.
37
38 28 May 2012; Markus Meier <maekke@g.o> requests-0.12.1.ebuild:
39 add ~arm, bug #415187
40
41
42
43 1.1 dev-python/requests/requests-0.12.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-0.12.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-0.12.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: requests-0.12.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.12.1-r1.ebuild,v 1.1 2012/06/04 11:48:46 marienz Exp $
53
54 EAPI="4"
55 PYTHON_DEPEND="*:2.6"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="2.4 2.5"
58 DISTUTILS_SRC_TEST="nosetests"
59
60 inherit distutils eutils
61
62 DESCRIPTION="HTTP library for human beings"
63 HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
64 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
65
66 LICENSE="ISC"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~x86"
69 IUSE=""
70
71 DEPEND="dev-python/setuptools"
72 RDEPEND="app-misc/ca-certificates
73 >=dev-python/chardet-1.0.0
74 >=dev-python/oauthlib-0.1.0 <dev-python/oauthlib-0.2.0"
75
76 src_prepare() {
77 # This is dead code that does not work with python 3, see
78 # https://github.com/kennethreitz/requests/issues/596
79 rm -rf requests/packages/oreos || die
80
81 # Fix up dependencies (gentoo-specific), see patch for details
82 epatch "${FILESDIR}/${P}-setup.py.patch"
83 }