openbsd-ports/www/py-urlgrabber/Makefile
jasper 9df53c69c0 import py-urlgrabber 3.9.1
High-level cross-protocol url-grabber.

Using urlgrabber, data can be fetched in three basic ways:

  urlgrab(url) copy the file to the local filesystem
  urlopen(url) open the remote file and return a file object
     (like urllib2.urlopen)
  urlread(url) return the contents of the file as a string

ok aja@
2012-09-03 15:09:10 +00:00

25 lines
530 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/09/03 15:09:10 jasper Exp $
COMMENT = high-level cross-protocol url-grabber
MODPY_EGG_VERSION = 3.9.1
DISTNAME = urlgrabber-${MODPY_EGG_VERSION}
PKGNAME = py-urlgrabber-${MODPY_EGG_VERSION}
CATEGORIES = www
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=u/urlgrabber/}
MODULES = lang/python
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = net/py-curl
.include <bsd.port.mk>