--- twill-0.9~b1.orig/debian/dirs +++ twill-0.9~b1/debian/dirs @@ -0,0 +1 @@ +usr/share/doc/python-twill/html --- twill-0.9~b1.orig/debian/control +++ twill-0.9~b1/debian/control @@ -0,0 +1,21 @@ +Source: twill +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Arnaud Fontaine +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-dev (>= 2.3.5-11), python-support (>= 0.3.2), patchutils (>= 0.2.25) +Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml, python-setuptools (>= 0.6b3-1) +Standards-Version: 3.7.2 + +Package: python-twill +Architecture: all +Depends: ${python:Depends}, python-mechanize (>= 0.1.6b), python-clientform (>= 0.2.6), python-pyparsing (>= 1.4.1), python-setuptools (>= 0.6b3-1) +Recommends: doc-base +Description: A simple scripting language for Web browsing + Twill is a simple scripting language intended for programmatic or + automated browsing of Web sites. It allows allows users to browse the + Web from a command-line interface. So, you can navigate through Web + sites that use forms, cookies, and most standard Web features. + . + Homepage: http://twill.idyll.org/ --- twill-0.9~b1.orig/debian/rules +++ twill-0.9~b1/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# Don't compress .py files +DEB_COMPRESS_EXCLUDE := .py + +# Manpages stuff +MANPAGES = debian/twill-sh.1 debian/twill-fork.1 +XSLT_CMD = xsltproc -nonet +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl + +# Install egg-info directories +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed +DEB_PYTHON_DEFAULT_VERSION = $$(pyversions -vd) +DEB_UPSTREAM_VERSION := $(subst ~,,$(DEB_UPSTREAM_VERSION)) + +%.1: %.dbk + cd $( Sat, 15 Dec 2007 18:09:02 +0100 + +twill (0.9~b1-1) unstable; urgency=low + + * Initial release. Closes: #387152. + + -- Arnaud Fontaine Sun, 08 Apr 2007 10:37:43 +0200 --- twill-0.9~b1.orig/debian/twill-fork.dbk +++ twill-0.9~b1/debian/twill-fork.dbk @@ -0,0 +1,165 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Arnaud"> + Fontaine"> + + + april 10, 2007"> + + + 1"> + arnaud@andesi.org"> + + TWILL"> + + + + GNU"> + GPL"> +]> + + + + +
+ &dhemail; +
+ + + 2007 + &dhusername; + + &dhdate; +
+ + + + &dhucpackage; + + &dhsection; + + + + + &dhpackage; + + a simple scripting language for Web browsing + + + + + + &dhpackage; + + + + + + + DESCRIPTION + + + Twill is a simple language that allows users to browse the Web + from a command-line interface. With twill, you can navigate + through Web sites that use forms, cookies, and most standard Web + features. You can use the &dhpackage; script + to do some stress testing. + + + + + + OPTIONS + + + + + print usage information + + + + + + Start at the given URL before each script + + + + + + Number of times to run the given + script(s) + + + + + + Number of processes to execute in + parallel + + + + + + + + + SEE ALSO + twill-sh (1). + + + + AUTHORS + + Twill was written by + + C. Titus + Brown + + titus@idyll.org + and + + + + This manual page was written by &dhusername; &dhemail; for the + &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + + On Debian systems, the complete text of the &gnu; + General Public License can be found in + /usr/share/common-licenses/GPL. + + + +
--- twill-0.9~b1.orig/debian/pyversions +++ twill-0.9~b1/debian/pyversions @@ -0,0 +1 @@ +2.3- --- twill-0.9~b1.orig/debian/manpages +++ twill-0.9~b1/debian/manpages @@ -0,0 +1,2 @@ +debian/twill-fork.1 +debian/twill-sh.1 --- twill-0.9~b1.orig/debian/compat +++ twill-0.9~b1/debian/compat @@ -0,0 +1 @@ +5 --- twill-0.9~b1.orig/debian/control.in +++ twill-0.9~b1/debian/control.in @@ -0,0 +1,21 @@ +Source: twill +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Arnaud Fontaine +Uploaders: Debian Python Modules Team +Build-Depends: @cdbs@ +Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml, python-setuptools (>= 0.6b3-1) +Standards-Version: 3.7.2 + +Package: python-twill +Architecture: all +Depends: ${python:Depends}, python-mechanize (>= 0.1.6b), python-clientform (>= 0.2.6), python-pyparsing (>= 1.4.1), python-setuptools (>= 0.6b3-1) +Recommends: doc-base +Description: A simple scripting language for Web browsing + Twill is a simple scripting language intended for programmatic or + automated browsing of Web sites. It allows allows users to browse the + Web from a command-line interface. So, you can navigate through Web + sites that use forms, cookies, and most standard Web features. + . + Homepage: http://twill.idyll.org/ --- twill-0.9~b1.orig/debian/pycompat +++ twill-0.9~b1/debian/pycompat @@ -0,0 +1 @@ +2 --- twill-0.9~b1.orig/debian/patches/01_fix_history_path.patch +++ twill-0.9~b1/debian/patches/01_fix_history_path.patch @@ -0,0 +1,29 @@ +--- twill-0.9~b1.orig/twill/shell.py ++++ twill-0.9~b1/twill/shell.py +@@ -102,10 +102,16 @@ + # initialize a new local namespace. + namespaces.new_local_dict() + ++ # The history file name is located in the home directory of ++ # the user ++ import os ++ self._history_file = os.path.join(os.environ["HOME"], ++ ".twill_history") ++ + # import readline history, if available. + if readline: + try: +- readline.read_history_file('.twill-history') ++ readline.read_history_file(self._history_file) + except IOError: + pass + +@@ -237,6 +243,6 @@ + def do_EOF(self, *args): + "Exit on CTRL-D" + if readline: +- readline.write_history_file('.twill-history') ++ readline.write_history_file(self._history_file) + + raise SystemExit() + \ No newline at end of file --- twill-0.9~b1.orig/debian/patches/01_remove_ext.patch +++ twill-0.9~b1/debian/patches/01_remove_ext.patch @@ -0,0 +1,12 @@ +--- twill-0.9~b1.orig/setup.py ++++ twill-0.9~b1/setup.py +@@ -18,8 +18,7 @@ + author_email = 'titus@idyll.org', + license='MIT', + +- packages = ['twill', 'twill.other_packages', +- 'twill.other_packages.mechanize', ++ packages = ['twill', + 'twill.extensions', + 'twill.extensions.match_parse'], + --- twill-0.9~b1.orig/debian/copyright +++ twill-0.9~b1/debian/copyright @@ -0,0 +1,219 @@ +This package was debianized by Arnaud Fontaine on +Sun, 08 Apr 2007 10:37:43 +0200. + +It was downloaded from http://twill.idyll.org/ + +Author: C. Titus Brown + +Copyright (c) 2005-2007 C. Titus Brown + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +In addition of twill main code, the following module are distributed +along with twill under the following licenses: + +* twill/other_packages/mechanize/_beautifulsoup.py: + + Copyright: Copyright (c) 2004 Leonard Richardson + + License: Available under the same terms as Python. The Python + license is reproduced below. + + PSF LICENSE AGREEMENT FOR PYTHON 2.3 + ------------------------------------ + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") + accessing and otherwise using Python 2.3 software in source or + binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + PSF hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or + display publicly, prepare derivative works, distribute, and + otherwise use Python 2.3 alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice + of copyright, i.e., "Copyright (c) 2001, 2002 Python Software + Foundation; All Rights Reserved" are retained in Python 2.3 alone + or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 2.3 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief + summary of the changes made to Python 2.3. + + 4. PSF is making Python 2.3 available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR + FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.3 + WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 2.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS + AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON + 2.3, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a + material breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF + and Licensee. This License Agreement does not grant permission + to use PSF trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third + party. + + 8. By copying, installing or otherwise using Python 2.3, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +twill/other_packages/pyparsing.py: + + Copyright (c) 2003-2006 Paul T. McGuire + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +twill/other_packages/mechanize: + + Copyright (c) 2002-2004 John J. Lee + Copyright (c) 2003 Andy Lester + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + Neither the name of the contributors nor the names of their + employers may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +twill/other_packages/ClientForm.py: + + Copyright 2002-2006 John J. Lee + Copyright 2005 Gary Poster + Copyright 2005 Zope Corporation + Copyright 1998-2000 Gisle Aas. + + This code is free software; you can redistribute it and/or modify it + under the terms of the BSD or ZPL 2.1 licenses. + +twill/other_packages/subprocess.py: + + Copyright (c) 2003-2005 by Peter Astrand + + PSF LICENSE AGREEMENT FOR PYTHON 2.4 + ------------------------------------ + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") + accessing and otherwise using Python 2.4 software in source or + binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + PSF hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or + display publicly, prepare derivative works, distribute, and + otherwise use Python 2.4 alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice + of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004 Python + Software Foundation; All Rights Reserved" are retained in Python + 2.4 alone or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 2.4 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief + summary of the changes made to Python 2.4. + + 4. PSF is making Python 2.4 available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR + FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 + WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS + AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON + 2.4, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a + material breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF + and Licensee. This License Agreement does not grant permission + to use PSF trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third + party. + + 8. By copying, installing or otherwise using Python 2.4, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +The Debian packaging is (C) 2007, Arnaud Fontaine +and is licensed under the GPL. On Debian systems, the complete text of +the GNU General Public License can be found in +`/usr/share/common-licenses/GPL'. --- twill-0.9~b1.orig/debian/examples +++ twill-0.9~b1/debian/examples @@ -0,0 +1 @@ +examples/* --- twill-0.9~b1.orig/debian/doc-base +++ twill-0.9~b1/debian/doc-base @@ -0,0 +1,11 @@ +Document: twill +Title: twill: a simple scripting language for Web browsing +Author: C. Titus Brown +Abstract: This documentation describes what is twill and how to use it + for programming purpose. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/python-twill/html/index.html +Files: /usr/share/doc/python-twill/html/*.html + --- twill-0.9~b1.orig/debian/twill-sh.dbk +++ twill-0.9~b1/debian/twill-sh.dbk @@ -0,0 +1,184 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Arnaud"> + Fontaine"> + + + april 10, 2007"> + + + 1"> + arnaud@andesi.org"> + + TWILL"> + + + + GNU"> + GPL"> +]> + + + + +
+ &dhemail; +
+ + + 2007 + &dhusername; + + &dhdate; +
+ + + + &dhucpackage; + + &dhsection; + + + + + &dhpackage; + + a simple scripting language for Web browsing + + + + + + &dhpackage; + + + + + + + DESCRIPTION + + + Twill is a simple language that allows users to browse the Web + from a command-line interface. With twill, you can navigate + through Web sites that use forms, cookies, and most standard Web + features. &dhpackage; lets you interactively + browse the Web. + + + + + + OPTIONS + + + + + + print usage information + + + + + + Show version information and exit + + + + + + Do not show normal output + + + + + + Drop into an interactive shell after + running files if any + + + + + + Exit on first file which fails + + + + + + Continue executing scripts even if errors + occur + + + + + + Start at the given URL before each script + + + + + + + + + SEE ALSO + twill-fork (1). + + + + AUTHORS + + Twill was written by + + C. Titus + Brown + + titus@idyll.org + and + + + + This manual page was written by &dhusername; &dhemail; for the + &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + + On Debian systems, the complete text of the &gnu; + General Public License can be found in + /usr/share/common-licenses/GPL. + + + +
--- twill-0.9~b1.orig/debian/install +++ twill-0.9~b1/debian/install @@ -0,0 +1 @@ +doc/*.html usr/share/doc/python-twill/html/