mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
30 lines
690 B
Bash
30 lines
690 B
Bash
# Copyright 1999-2020 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"
|
|
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
|
|
}
|