Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urlgrabber/
Date: Wed, 31 Oct 2018 19:17:45
Message-Id: 1541013439.6e7ef7c530b1455bd8f26829d6e5caaeab19ece7.sping@gentoo
1 commit: 6e7ef7c530b1455bd8f26829d6e5caaeab19ece7
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 31 19:15:50 2018 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 31 19:17:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7ef7c5
7
8 dev-python/urlgrabber: Shebang fix + EAPI 7
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild | 29 +++++++++++++++++++++++
14 1 file changed, 29 insertions(+)
15
16 diff --git a/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild b/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..c1aa204677a
19 --- /dev/null
20 +++ b/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild
21 @@ -0,0 +1,29 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python2_7 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python module for downloading files"
32 +HOMEPAGE="http://urlgrabber.baseurl.org"
33 +SRC_URI="http://urlgrabber.baseurl.org/download/${P}.tar.gz"
34 +
35 +LICENSE="LGPL-2.1"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
38 +IUSE=""
39 +
40 +DEPEND="dev-python/pycurl[${PYTHON_USEDEP}]"
41 +RDEPEND="${DEPEND}"
42 +# Entire testsuite relies on connecting to the i'net
43 +
44 +src_install() {
45 + distutils-r1_src_install
46 +
47 + # Fix "#! /usr/bin/python" to not end up with Python 3
48 + python_setup
49 + python_fix_shebang "${ED}"/usr/libexec/urlgrabber-ext-down
50 +}