From mwm@mired.org  Fri Jul 15 23:22:25 2005
Return-Path: <mwm@mired.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2813216A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 23:22:25 +0000 (GMT)
	(envelope-from mwm@mired.org)
Received: from delight.idiom.com (delight.idiom.com [216.240.32.16])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E3A0D43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 23:22:24 +0000 (GMT)
	(envelope-from mwm@mired.org)
Received: from idiom.com (idiom.com [216.240.32.1])
	by delight.idiom.com (Postfix) with ESMTP id 3A13F191C35
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 16:22:24 -0700 (PDT)
Received: from mired.org (mwm@idiom [216.240.32.1])
	by idiom.com (8.12.11/8.12.11) with SMTP id j6FNMLeW001834
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 16:22:23 -0700 (PDT)
	(envelope-from mwm@mired.org)
Received: (qmail 77864 invoked by uid 1001); 15 Jul 2005 23:23:04 -0000
Message-Id: <20050715232304.77863.qmail@mired.org>
Date: 15 Jul 2005 23:23:04 -0000
From: Mike Meyer <mwm@mired.org>
Reply-To: Mike Meyer <mwm@mired.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: for pythons BeautifulSoup HTML/XML parser
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 15 23:30:16 GMT 2005
>Closed-Date:    Sat Jul 16 21:52:11 GMT 2005
>Last-Modified:  Sat Jul 16 21:52:11 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Jul 16 21:52:03 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83531 
>Unformatted:
