Date: 15 Jul 2005 23:23:04 -0000 From: Mike Meyer <mwm@mired.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83531: New port: for pythons BeautifulSoup HTML/XML parser Message-ID: <20050715232304.77863.qmail@mired.org> Resent-Message-ID: <200507152330.j6FNUGg9003434@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83531 >Category: ports >Synopsis: New port: for pythons BeautifulSoup HTML/XML parser >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 23:30:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 5.4-STABLE i386 >Organization: Meyer Consulting >Environment: System: FreeBSD bhuda.mired.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Wed Jun 29 21:43:33 EDT 2005 mwm@bhuda.mired.org:/usr/obj/usr/src/sys/BHUDA i386 >Description: The premier python web-scraping software isn't in the ports tree! >How-To-Repeat: "locate beautifulsoup" and notice that it doesn't appear in /usr/ports. >Fix: Commit the attached port shar file # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-beautifulsoup # py-beautifulsoup/Makefile # py-beautifulsoup/distinfo # py-beautifulsoup/pkg-plist # py-beautifulsoup/pkg-descr # echo c - py-beautifulsoup mkdir -p py-beautifulsoup > /dev/null 2>&1 echo x - py-beautifulsoup/Makefile sed 's/^X//' >py-beautifulsoup/Makefile << 'END-of-py-beautifulsoup/Makefile' X# New ports collection makefile for: beautifulsoup X# Date created: 15 July 2005 X# Whom: Mike Meyer <mwm@mired.org> X# X# $FreeBSD$ X# X XPORTNAME= beautifulsoup XPORTVERSION= 2.1.0 XCATEGORIES= www python XMASTER_SITES= http://www.crummy.com/software/BeautifulSoup/download/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= BeautifulSoup X XMAINTAINER= mwm@mired.org XCOMMENT= HTML/XML Parser for Python X XWRKSRC= ${WRKDIR}/${DISTNAME}-${PORTVERSION} X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes X X.include <bsd.port.mk> END-of-py-beautifulsoup/Makefile echo x - py-beautifulsoup/distinfo sed 's/^X//' >py-beautifulsoup/distinfo << 'END-of-py-beautifulsoup/distinfo' XMD5 (BeautifulSoup.tar.gz) = 06cca36d76601fa43ecfaf18fcf11985 XSIZE (BeautifulSoup.tar.gz) = 15657 END-of-py-beautifulsoup/distinfo echo x - py-beautifulsoup/pkg-plist sed 's/^X//' >py-beautifulsoup/pkg-plist << 'END-of-py-beautifulsoup/pkg-plist' Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoup.py Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoup.pyc Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoup.pyo Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoupTests.py Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoupTests.pyc Xlib/%%PYTHON_VERSION%%/site-packages/BeautifulSoupTests.pyo END-of-py-beautifulsoup/pkg-plist echo x - py-beautifulsoup/pkg-descr sed 's/^X//' >py-beautifulsoup/pkg-descr << 'END-of-py-beautifulsoup/pkg-descr' XBeautiful Soup parses arbitrarily invalid XML- or HTML-like substance Xinto a tree representation. It provides methods and Pythonic idioms Xthat make it easy to search and modify the tree. X XA well-formed XML/HTML document will yield a well-formed data Xstructure. An ill-formed XML/HTML document will yield a Xcorrespondingly ill-formed data structure. If your document is only Xlocally well-formed, you can use this library to find and process the Xwell-formed part of it. The BeautifulSoup class has heuristics for Xobtaining a sensible parse tree in the face of common HTML errors. X XWWW: http://www.crummy.com/software/BeautifulSoup/ END-of-py-beautifulsoup/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050715232304.77863.qmail>