import BeautifulSoup 3.0.4, a HTML/XML parser that supports invalid markup.

requested and tested by Sam Smith <s at msmith dot net>
This commit is contained in:
fgsch 2007-12-02 21:45:08 +00:00
parent 727b02b65a
commit ac1a3d0df2
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/12/02 21:45:08 fgsch Exp $
COMMENT= HTML/XML parser that supports invalid markup
DISTNAME= BeautifulSoup
PKGNAME= py-beautifulsoup-3.0.4
CATEGORIES= www
HOMEPAGE= http://www.crummy.com/software/BeautifulSoup/
# Python License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/
MODULES= lang/python
WRKSRC= ${WRKDIR}/${DISTNAME}-3.0.4
do-regress:
@cd ${WRKSRC} && ${MODPY_BIN} BeautifulSoupTests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (BeautifulSoup.tar.gz) = E6ehbn87j+uqzhOxsnkFUA==
RMD160 (BeautifulSoup.tar.gz) = /KZUrNt6HaDS/DYdR88M6yGF5Zg=
SHA1 (BeautifulSoup.tar.gz) = QxEhg5qDOTqj8WG9dWxPoqzwY+8=
SHA256 (BeautifulSoup.tar.gz) = y6OCpfPOLYCF/X7tRLDxzJ3l+4aOFbEfW3XyBHpT5Z4=
SIZE (BeautifulSoup.tar.gz) = 26109

View File

@ -0,0 +1,3 @@
Beautiful Soup parses arbitrarily invalid SGML and provides a variety
of methods and Pythonic idioms for iterating and searching the parse
tree.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/02 21:45:08 fgsch Exp $
lib/python${MODPY_VERSION}/site-packages/BeautifulSoup-3.0.4-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/BeautifulSoup.py
lib/python${MODPY_VERSION}/site-packages/BeautifulSoup.pyc
lib/python${MODPY_VERSION}/site-packages/BeautifulSoupTests.py
lib/python${MODPY_VERSION}/site-packages/BeautifulSoupTests.pyc