From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 3 03:30:03 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2C4216A402 for ; Sat, 3 Mar 2007 03:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C288213C46B for ; Sat, 3 Mar 2007 03:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l233U3wW086397 for ; Sat, 3 Mar 2007 03:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l233U3HX086396; Sat, 3 Mar 2007 03:30:03 GMT (envelope-from gnats) Resent-Date: Sat, 3 Mar 2007 03:30:03 GMT Resent-Message-Id: <200703030330.l233U3HX086396@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, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FB3016A404 for ; Sat, 3 Mar 2007 03:27:47 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48]) by mx1.freebsd.org (Postfix) with ESMTP id ACBDC13C48D for ; Sat, 3 Mar 2007 03:27:41 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id A160A1142A; Sat, 3 Mar 2007 11:27:40 +0800 (CST) Received: (from lwhsu@localhost) by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id l233Rc70077904; Sat, 3 Mar 2007 11:27:38 +0800 (CST) (envelope-from lwhsu) Message-Id: <200703030327.l233Rc70077904@jail0.lwhsu.csie.net> Date: Sat, 3 Mar 2007 11:27:38 +0800 (CST) From: Li-Wen Hsu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: lwhsu@lwhsu.org Subject: ports/109777: [NEW PORT] www/py-webunit: Unit test your websites with code that acts like a web browser X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 03:30:04 -0000 >Number: 109777 >Category: ports >Synopsis: [NEW PORT] www/py-webunit: Unit test your websites with code that acts like a web browser >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 03 03:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007 >Description: Webunit is a framework for unit testing websites: Features in a nutshell: 1. Browser-like page fetching including fetching the images and stylesheets needed for a page and following redirects 2. Cookies stored and trackable (all automatically handled) 3. HTTP, HTTPS, GET, POST, basic auth all handled, control over expected status codes, ... 4. DOM parsing of pages to retrieve and analyse structure, including simple form re-posting 5. Two-line page-fetch followed by form-submit possible, with error checking 6. Ability to register error page content across multiple tests 7. Uses python's standard unittest module as the underlying framework WWW: http://www.python.org/pypi/webunit Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py-webunit-1.3.8.shar begins here --- # 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-webunit # py-webunit/pkg-descr # py-webunit/Makefile # py-webunit/pkg-plist # py-webunit/distinfo # py-webunit/files # py-webunit/files/patch-setup.py # echo c - py-webunit mkdir -p py-webunit > /dev/null 2>&1 echo x - py-webunit/pkg-descr sed 's/^X//' >py-webunit/pkg-descr << 'END-of-py-webunit/pkg-descr' XWebunit is a framework for unit testing websites: X XFeatures in a nutshell: X X1. Browser-like page fetching including fetching the images and stylesheets X needed for a page and following redirects X2. Cookies stored and trackable (all automatically handled) X3. HTTP, HTTPS, GET, POST, basic auth all handled, control over expected status X codes, ... X4. DOM parsing of pages to retrieve and analyse structure, including simple X form re-posting X5. Two-line page-fetch followed by form-submit possible, with error checking X6. Ability to register error page content across multiple tests X7. Uses python's standard unittest module as the underlying framework X XWWW: http://www.python.org/pypi/webunit END-of-py-webunit/pkg-descr echo x - py-webunit/Makefile sed 's/^X//' >py-webunit/Makefile << 'END-of-py-webunit/Makefile' X# New ports collection makefile for: py-webunit X# Date created: Mar. 03, 2007 X# Whom: Li-Wen Hsu X# X# $FreeBSD$ X# X XPORTNAME= webunit XPORTVERSION= 1.3.8 XCATEGORIES= www python XMASTER_SITES= http://mechanicalcat.net/tech/webunit/ \ X http://funkload.nuxeo.org/3dparty/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= lwhsu@lwhsu.org XCOMMENT= Unit test your websites with code that acts like a web browser X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes X XEXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME} X Xpost-install: X ${MKDIR} ${EXAMPLESDIR} X ${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR} X ${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR} X X.include END-of-py-webunit/Makefile echo x - py-webunit/pkg-plist sed 's/^X//' >py-webunit/pkg-plist << 'END-of-py-webunit/pkg-plist' X%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.py X%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyc X%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyo X%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.py X%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyc X%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyo X%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.py X%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyc X%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyo X%%PYTHON_SITELIBDIR%%/webunit/__init__.py X%%PYTHON_SITELIBDIR%%/webunit/__init__.pyc X%%PYTHON_SITELIBDIR%%/webunit/__init__.pyo X%%PYTHON_SITELIBDIR%%/webunit/config.py X%%PYTHON_SITELIBDIR%%/webunit/config.pyc X%%PYTHON_SITELIBDIR%%/webunit/config.pyo X%%PYTHON_SITELIBDIR%%/webunit/cookie.py X%%PYTHON_SITELIBDIR%%/webunit/cookie.pyc X%%PYTHON_SITELIBDIR%%/webunit/cookie.pyo X%%PYTHON_SITELIBDIR%%/webunit/utility.py X%%PYTHON_SITELIBDIR%%/webunit/utility.pyc X%%PYTHON_SITELIBDIR%%/webunit/utility.pyo X%%PYTHON_SITELIBDIR%%/webunit/webunittest.py X%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyc X%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyo X@dirrm %%PYTHON_SITELIBDIR%%/webunit X%%EXAMPLESDIR%%/run_tests X%%EXAMPLESDIR%%/demo/__init__.py X%%EXAMPLESDIR%%/demo/google.py X%%EXAMPLESDIR%%/demo/python_org.py X@dirrm %%EXAMPLESDIR%%/demo X@dirrm %%EXAMPLESDIR%% END-of-py-webunit/pkg-plist echo x - py-webunit/distinfo sed 's/^X//' >py-webunit/distinfo << 'END-of-py-webunit/distinfo' XMD5 (webunit-1.3.8.tar.gz) = 97b9e6b5149dadce48b86adbf2db3b0a XSHA256 (webunit-1.3.8.tar.gz) = 8f927380a507d9ccbbe0b05136e47eba62b875107bb2d829a9f90e0bd11531e8 XSIZE (webunit-1.3.8.tar.gz) = 22950 END-of-py-webunit/distinfo echo c - py-webunit/files mkdir -p py-webunit/files > /dev/null 2>&1 echo x - py-webunit/files/patch-setup.py sed 's/^X//' >py-webunit/files/patch-setup.py << 'END-of-py-webunit/files/patch-setup.py' X--- setup.py.orig Sat Mar 3 03:16:17 2007 X+++ setup.py Sat Mar 3 03:16:26 2007 X@@ -34,7 +34,7 @@ X author_email = "richard@mechanicalcat.net", X url = 'http://mechanicalcat.net/tech/webunit/', X download_url = 'http://mechanicalcat.net/tech/webunit/webunit-%s.tar.gz'%__version__, X- packages = ['webunit', 'demo'], X+ packages = ['webunit'], X classifiers = [ X 'Development Status :: 5 - Production/Stable', X 'Environment :: Console', END-of-py-webunit/files/patch-setup.py exit --- py-webunit-1.3.8.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: