openbsd-ports/www/py-beautifulsoup4/Makefile
fgsch d16ce68119 Import beautifulsoup 4.1.0, a Python library designed for quick
turnaround projects like screen-scraping.

Original diff against py-beutifoulsup from wen heping, converted to
a stand alone port after some discussion in ports@.
2012-06-02 21:15:12 +00:00

31 lines
622 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/06/02 21:15:12 fgsch Exp $
COMMENT = HTML/XML parser that supports invalid markup
MODPY_EGG_VERSION = 4.1.0
DISTNAME = beautifulsoup4-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = www
HOMEPAGE = http://www.crummy.com/software/BeautifulSoup/
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}bs4/download/4.0/
MODULES = lang/python
PKG_ARCH = *
WRKSRC = ${WRKDIR}/${DISTNAME}
do-regress:
@cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover -s bs4
.include <bsd.port.mk>