From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 15 23:30:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3A2816A41C for ; Fri, 15 Jul 2005 23:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52ED743D48 for ; Fri, 15 Jul 2005 23:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6FNUHu3003441 for ; Fri, 15 Jul 2005 23:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6FNUGg9003434; Fri, 15 Jul 2005 23:30:17 GMT (envelope-from gnats) Resent-Date: Fri, 15 Jul 2005 23:30:17 GMT Resent-Message-Id: <200507152330.j6FNUGg9003434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Meyer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2813216A41C for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83531: New port: for pythons BeautifulSoup HTML/XML parser X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Meyer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 23:30:19 -0000 >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 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 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: