# Template file for 'urlgrabber'
pkgname=urlgrabber
version=3.9.1
revision=2
build_style=python-module
makedepends="python pycurl"
short_desc="A high-level cross-protocol url-grabber and Python library"
homepage="http://urlgrabber.baseurl.org/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://urlgrabber.baseurl.org/download/$pkgname-$version.tar.gz"
checksum=4437076c8708e5754ea04540e46c7f4f233734ee3590bb8a96389264fb0650d0
long_desc="
 urlgrabber is a pure python package that drastically simplifies the fetching
 of files. It is designed to be used in programs that need common (but not
 necessarily simple) url-fetching features. It is extremely simple to drop
 into an existing program and provides a clean interface to
 protocol-independant file-access. Best of all, urlgrabber takes care of all
 those pesky file-fetching details, and lets you focus on whatever it is that
 your program is written to do!"

urlgrabber_package() {
	depends="${makedepends}"
	noarch="yes"
	pycompile_module="urlgrabber"
	pkg_install() {
		vmove usr
	}
}
