2013-03-27 16:30:55 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-09-06 12:49:54 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/urlgrabber/urlgrabber-3.9.1-r2.ebuild,v 1.4 2013/09/05 18:47:09 mgorny Exp $
|
2013-03-27 16:30:55 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2013-09-06 12:49:54 +04:00
|
|
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
2013-03-27 16:30:55 +04:00
|
|
|
|
|
|
|
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"
|
2013-08-20 06:17:53 +04:00
|
|
|
KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
2013-03-27 16:30:55 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="dev-python/pycurl[${PYTHON_USEDEP}]"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
python_prepare_all() {
|
|
|
|
local PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}.patch
|
|
|
|
)
|
|
|
|
distutils-r1_python_prepare_all
|
|
|
|
}
|