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.5.1.ebuild |
Date: | Sun, 28 Dec 2014 15:30:24 |
Message-Id: | 20141228153021.68E08E5BA@oystercatcher.gentoo.org |
1 | radhermit 14/12/28 15:30:21 |
2 | |
3 | Modified: ChangeLog |
4 | Added: requests-2.5.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.82 dev-python/requests/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.82&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?rev=1.82&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/ChangeLog?r1=1.81&r2=1.82 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v |
20 | retrieving revision 1.81 |
21 | retrieving revision 1.82 |
22 | diff -u -r1.81 -r1.82 |
23 | --- ChangeLog 4 Dec 2014 03:32:03 -0000 1.81 |
24 | +++ ChangeLog 28 Dec 2014 15:30:21 -0000 1.82 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/requests |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.81 2014/12/04 03:32:03 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.82 2014/12/28 15:30:21 radhermit Exp $ |
30 | + |
31 | +*requests-2.5.1 (28 Dec 2014) |
32 | + |
33 | + 28 Dec 2014; Tim Harder <radhermit@g.o> +requests-2.5.1.ebuild: |
34 | + Version bump. |
35 | |
36 | *requests-2.5.0-r1 (04 Dec 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/requests/requests-2.5.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.5.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests/requests-2.5.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: requests-2.5.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-2.5.1.ebuild,v 1.1 2014/12/28 15:30:21 radhermit Exp $ |
51 | |
52 | EAPI=5 |
53 | PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
64 | IUSE="" |
65 | |
66 | # bundles dev-python/urllib3 snapshot |
67 | RDEPEND="app-misc/ca-certificates |
68 | >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]" |
69 | DEPEND="${RDEPEND} |
70 | dev-python/setuptools[${PYTHON_USEDEP}]" |
71 | |
72 | # tests connect to various remote sites |
73 | RESTRICT="test" |
74 | |
75 | PATCHES=( |
76 | "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch |
77 | "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch |
78 | ) |
79 | |
80 | python_prepare_all() { |
81 | # use system chardet |
82 | rm -r requests/packages/chardet || die |
83 | |
84 | distutils-r1_python_prepare_all |
85 | } |
86 | |
87 | python_test() { |
88 | "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}" |
89 | } |