diff options
author | 2014-01-23 21:22:43 +0000 | |
---|---|---|
committer | 2014-01-23 21:22:43 +0000 | |
commit | eacf328a6f251f078c86db01684f5a066ef52870 (patch) | |
tree | b82fe7697ca7da228181ac033ad5a5ca796b616c /dev-python | |
parent | Depend on gtk-mac-integration for USE=aqua, bug #494864, force for ebuild pro... (diff) | |
download | gentoo-2-eacf328a6f251f078c86db01684f5a066ef52870.tar.gz gentoo-2-eacf328a6f251f078c86db01684f5a066ef52870.tar.bz2 gentoo-2-eacf328a6f251f078c86db01684f5a066ef52870.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/requests/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/requests/requests-2.2.1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/requests/ChangeLog b/dev-python/requests/ChangeLog index cb2f3b6981ce..9b2b2da66f2a 100644 --- a/dev-python/requests/ChangeLog +++ b/dev-python/requests/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/requests # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.52 2014/01/23 02:27:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/ChangeLog,v 1.53 2014/01/23 21:22:43 radhermit Exp $ + +*requests-2.2.1 (23 Jan 2014) + + 23 Jan 2014; Tim Harder <radhermit@gentoo.org> +requests-2.2.1.ebuild: + Version bump. *requests-2.2.0 (23 Jan 2014) diff --git a/dev-python/requests/requests-2.2.1.ebuild b/dev-python/requests/requests-2.2.1.ebuild new file mode 100644 index 000000000000..9b82deb9caa1 --- /dev/null +++ b/dev-python/requests/requests-2.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-2.2.1.ebuild,v 1.1 2014/01/23 21:22:43 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_3} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86" +IUSE="" + +# bundles dev-python/urllib3 snapshot +RDEPEND="app-misc/ca-certificates + >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +# tests connect to various remote sites +RESTRICT="test" + +DOCS=( README.rst HISTORY.rst ) + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/${PN}-1.2.0-system-cacerts.patch + "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch + ) + + # use system chardet + rm -r requests/packages/chardet || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}" +} |