/[gentoo-x86]/dev-python/urllib3/urllib3-1.5.ebuild
Gentoo

Contents of /dev-python/urllib3/urllib3-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Mar 19 10:25:15 2013 UTC (17 months, 1 week ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Restrict tests for 3.2 too as tornado is missing there

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.5.ebuild,v 1.3 2012/10/06 02:00:49 blueness Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="*:2.6"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.5"
10 DISTUTILS_SRC_TEST="nosetests"
11 PYTHON_TESTS_RESTRICTED_ABIS="2.6 3.1 3.2"
12
13 inherit distutils
14
15 DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
16 HOMEPAGE="https://github.com/shazow/urllib3"
17 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
18
19 LICENSE="MIT"
20 SLOT="0"
21 KEYWORDS="~amd64 ~arm ~x86"
22 IUSE="test"
23
24 RDEPEND="dev-python/six"
25 DEPEND="${RDEPEND}
26 dev-python/setuptools
27 test? ( www-servers/tornado )"
28
29 src_prepare() {
30 # Replace bundled copy of dev-python/six
31 cat > urllib3/packages/six.py <<-EOF
32 from __future__ import absolute_import
33 from six import *
34 EOF
35
36 sed -i -e "s/'dummyserver',//" setup.py || die
37
38 distutils_src_prepare
39 }

  ViewVC Help
Powered by ViewVC 1.1.20