summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2018-10-31 20:15:50 +0100
committerSebastian Pipping <sping@gentoo.org>2018-10-31 20:17:19 +0100
commit6e7ef7c530b1455bd8f26829d6e5caaeab19ece7 (patch)
treefa950187974f5ef318914c4e13979fe56ab07b05 /dev-python/urlgrabber
parentprofiles: Remove reference to eselect-mesa (diff)
downloadgentoo-6e7ef7c530b1455bd8f26829d6e5caaeab19ece7.tar.gz
gentoo-6e7ef7c530b1455bd8f26829d6e5caaeab19ece7.tar.bz2
gentoo-6e7ef7c530b1455bd8f26829d6e5caaeab19ece7.zip
dev-python/urlgrabber: Shebang fix + EAPI 7
Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-python/urlgrabber')
-rw-r--r--dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild b/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild
new file mode 100644
index 000000000000..c1aa204677ae
--- /dev/null
+++ b/dev-python/urlgrabber/urlgrabber-3.10.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for downloading files"
+HOMEPAGE="http://urlgrabber.baseurl.org"
+SRC_URI="http://urlgrabber.baseurl.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-python/pycurl[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+# Entire testsuite relies on connecting to the i'net
+
+src_install() {
+ distutils-r1_src_install
+
+ # Fix "#! /usr/bin/python" to not end up with Python 3
+ python_setup
+ python_fix_shebang "${ED}"/usr/libexec/urlgrabber-ext-down
+}