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-2.2.0.ebuild
Date: Thu, 23 Jan 2014 02:27:29
Message-Id: 20140123022723.D39252004F@flycatcher.gentoo.org
1 radhermit 14/01/23 02:27:23
2
3 Modified: ChangeLog
4 Added: requests-2.2.0.ebuild
5 Log:
6 Version bump. Drop python3.2 support since it was dropped upstream and tests fail.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.52 dev-python/requests/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 10 Dec 2013 03:38:01 -0000 1.51
24 +++ ChangeLog 23 Jan 2014 02:27:23 -0000 1.52
25 @@ -1,6 +1,13 @@
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.51 2013/12/10 03:38:01 patrick Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.52 2014/01/23 02:27:23 radhermit Exp $
31 +
32 +*requests-2.2.0 (23 Jan 2014)
33 +
34 + 23 Jan 2014; Tim Harder <radhermit@g.o> +requests-2.2.0.ebuild,
35 + +files/requests-2.2.0-system-chardet.patch:
36 + Version bump. Drop python3.2 support since it was dropped upstream and tests
37 + fail.
38
39 *requests-2.1.0 (10 Dec 2013)
40
41
42
43
44 1.1 dev-python/requests/requests-2.2.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.2.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.2.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: requests-2.2.0.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-2.2.0.ebuild,v 1.1 2014/01/23 02:27:23 radhermit Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python{2_6,2_7,3_3} pypy2_0 )
57
58 inherit distutils-r1
59
60 DESCRIPTION="HTTP library for human beings"
61 HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
62 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86"
67 IUSE=""
68
69 # bundles dev-python/urllib3 snapshot
70 RDEPEND="app-misc/ca-certificates
71 >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]"
72 DEPEND="${RDEPEND}
73 dev-python/setuptools[${PYTHON_USEDEP}]"
74
75 # tests connect to various remote sites
76 RESTRICT="test"
77
78 DOCS=( README.rst HISTORY.rst )
79
80 python_prepare_all() {
81 local PATCHES=(
82 "${FILESDIR}"/${PN}-1.2.0-system-cacerts.patch
83 "${FILESDIR}"/${P}-system-chardet.patch
84 )
85
86 # use system chardet
87 rm -r requests/packages/chardet || die
88
89 distutils-r1_python_prepare_all
90 }
91
92 python_test() {
93 "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}"
94 }