--- python-toscawidgets-0.9.7.2.orig/setup.py +++ python-toscawidgets-0.9.7.2/setup.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# Multiplexer for invoking multiple setup.py in subdir +# Copyright (C) 2009 Stefano Zacchiroli +# License: GNU GPL version 3 or above + +# Created: Sat, 30 May 2009 14:47:04 +0200 +# Last-Modified: Sat, 30 May 2009 14:47:04 +0200 + +import os, string, sys + +if not os.environ.has_key('SUBDIRS') or not os.environ['SUBDIRS']: + print >> sys.stderr, "Can't find subdirs, please set SUBDIRS envvar" + sys.exit(3) +else: + subdirs = os.environ['SUBDIRS'].split() +setup_cmd = "python setup.py %s" % string.join(sys.argv[1:]) + +topdir = os.getcwd() +for d in subdirs: + if not os.path.isdir(d): + print >> sys.stderr, "WARNING: can't find subdir %s" % d + continue + os.chdir(d) + retcode = os.system(setup_cmd) + if retcode: + print >> sys.stderr, "ERROR: setup.py in subdir %s failed" % d + sys.exit(retcode >> 8) + os.chdir(topdir) --- python-toscawidgets-0.9.7.2.orig/debian/tw.forms.watch +++ python-toscawidgets-0.9.7.2/debian/tw.forms.watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/t/tw.forms/tw.forms-([0-9.a-z]+)\.tar\.gz --- python-toscawidgets-0.9.7.2.orig/debian/changelog +++ python-toscawidgets-0.9.7.2/debian/changelog @@ -0,0 +1,79 @@ +python-toscawidgets (0.9.7.2-2) unstable; urgency=low + + * Orphan package. + + -- Stefano Zacchiroli Wed, 01 Feb 2012 18:22:31 +0100 + +python-toscawidgets (0.9.7.2-1) unstable; urgency=low + + * new upstream releases (of both ToscaWidgets and tw.forms) + + -- Stefano Zacchiroli Sun, 19 Jul 2009 12:42:16 +0200 + +python-toscawidgets (0.9.7.1-3) experimental; urgency=low + + * better work around to avoid pysupport removal of apparently useless + __init__.py: make them non empty via patch + * debian/{control,rules}: add support for dpatch-ing + + -- Stefano Zacchiroli Sat, 04 Jul 2009 10:50:31 +0200 + +python-toscawidgets (0.9.7.1-2) experimental; urgency=low + + * debian/rules: + - remove *.pyc before building + - add ugly hack to avoid pysupport removing __init__.py from the + templates/ dir: even if that dir contains no .py, it is used as a + module at runtime (see #535611) + + -- Stefano Zacchiroli Fri, 03 Jul 2009 13:32:00 +0200 + +python-toscawidgets (0.9.7.1-1) experimental; urgency=low + + * new upstream release + * add support to ship contribs; ship tw.forms as a contrib + * debian/copyright: migrate to machine parseable format, ensure that + also the new contrib is covered + * debian/docs: reference README.txt via its new path + * debian/control: + - bump Standards-Version to 3.8.2 (no changes needed) + - add dependency on python-formencode (induced by tw.forms) + - document the addition of tw.forms in long description + * debian/rules: + - avoid installing *.pth files + - clear spurious +x bits on installed *.css files + + -- Stefano Zacchiroli Thu, 25 Jun 2009 16:12:01 +0200 + +python-toscawidgets (0.9.4-1) experimental; urgency=low + + [ Stefano Zacchiroli ] + * New upstream release + * First upload to the archive (Closes: #531042) + * debian/watch: port to new download location (from pypy) + * debian/{rules,control}: general packaging revamping, switch to + python-support, CDBS, debhelper >= 7 + * debian/docs: remove files mentioned but nowdisappearead + * debian/control: revamp short and long description + * debian/examples: remove file, examples are no longer there + + -- Stefano Zacchiroli Fri, 29 May 2009 18:45:17 +0200 + +python-toscawidgets (0.1a1-2) experimental; urgency=low + + [ Piotr Ożarowski ] + * Homepage field added + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Piotr Ożarowski Sat, 6 Oct 2007 23:47:19 +0200 + +python-toscawidgets (0.1a1-1) experimental; urgency=low + + * Initial release + + -- Debian Python Modules Team Fri, 3 Apr 2007 20:20:15 +0100 + --- python-toscawidgets-0.9.7.2.orig/debian/compat +++ python-toscawidgets-0.9.7.2/debian/compat @@ -0,0 +1 @@ +7 --- python-toscawidgets-0.9.7.2.orig/debian/README.source +++ python-toscawidgets-0.9.7.2/debian/README.source @@ -0,0 +1,50 @@ + +Upgrade to a new upstream +========================= + +This package is a multi-upstream source package, i.e., its +.orig.tar.gz is composed by several upstream tarballs, possibly +released by independent authors. + +To obtain a new orig tarball you can invoke the get-orig-source target +of debian/rules as follows: + + $ debian/rules get-orig-source + +If all goes well, that should leave around a .orig.tar.gz tarball. + +Note that the target does not check whether creating a new upstream +version is needed: invoke it only if you know that some of the +upstream parts of this package need updates. Otherwise, use "apt-get +source PACKAGE" to work on the latest uploaded upstream release. + + +Package version +=============== + +Note that, while the package has multiple upstream tarballs, +ToscaWidgets is considered the "main" tarball. This means, in +particular, that the package version comes from it. + + +Adding a new contrib +==================== + +As this package ships contribs for ToscaWidgets, it is natural to +expect that in the future new contribs will be added. To add one to +the package follow a few simple rules: + +1) add the module name (usually the egg name) to the $(UPSTREAMS) + Makefile variable in debian/rules + +2) add the per-contrib watch file as debian/NAME.watch, where NAME is + the module name + +3) add license and copyright information about the new module to + debian/copyright + +4) run "debian/rules get-orig-source" to recreate the new tarball + + + -- Stefano Zacchiroli , Thu, 25 Jun 2009 15:28:24 +0200 + --- python-toscawidgets-0.9.7.2.orig/debian/rules +++ python-toscawidgets-0.9.7.2/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +DEB_PYTHON_SYSTEM = pysupport +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +PKG = python-toscawidgets +UPSTREAMS = \ + toscawidgets \ + tw.forms \ + $(NULL) +export SUBDIRS = $(UPSTREAMS) + +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed + +makebuilddir/$(PKG):: + find . -name '*.pyc' -exec rm {} \; + +# avoid installing useless *.pth files ; fix spurious +x bits +install/$(PKG):: + rm -f debian/$(PKG)/usr/lib/python*/site-packages/*.pth + -find debian/$(PKG)/usr/lib/ \ + -name \*.css -exec chmod -x {} \; + +-include debian/get-orig-source.mk --- python-toscawidgets-0.9.7.2.orig/debian/copyright +++ python-toscawidgets-0.9.7.2/debian/copyright @@ -0,0 +1,37 @@ +This package was initially debianized by Christoph Haas +. Packaging has been took over by Stefano Zacchiroli + Fri, 29 May 2009 18:45:17 +0200. + +Files: * +Copyright: © 2006-2009 Alberto Valverde González and contributors +License: MIT + MIT license is reported below. + +Files: debian/* +Copyright: © 2009 Stefano Zacchiroli + © 2007 Christoph Haas +License: GPL-3+ + On Debian systems the full text of the GNU General Public License can + be found in the `/usr/share/common-licenses/GPL-3' file. + +License: MIT + 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. + --- python-toscawidgets-0.9.7.2.orig/debian/get-orig-source.mk +++ python-toscawidgets-0.9.7.2/debian/get-orig-source.mk @@ -0,0 +1,40 @@ +# debian/rules snippet for creating multi-upstream tarball relying on +# several debian/*.watch files + +# XXX: adapted to use as version number those returned by the "main" +# debian/watch + +# Copyright © 2009 Stefano Zacchiroli +# License: GNU GPL version 3 or above +# Created: Sat, 30 May 2009 11:58:16 +0200 +# Last-Modified: Sat, 20 Jun 2009 12:59:10 +0200 + +# TODO: does not yet fully implement policy wrt get-orig-source: +# - the target cannot be invoked from any dir (rely on "debian/") +# - tmpdir handling is not fully safe (e.g., no "mktemp -d") + +GOSTMP = get-orig-source.tmp +ORIGVERSION := $(shell uscan --report --dehs | grep '' | sed 's/<[^>]\+>//g') +ORIGNAME = $(PKG)-$(ORIGVERSION) +ORIGTARBALL = $(PKG)_$(ORIGVERSION).orig.tar.gz + +get-orig-source: $(patsubst %,%/get-orig-source,$(UPSTREAMS)) + cd $(GOSTMP) && \ + mkdir $(ORIGNAME) && \ + for p in $(UPSTREAMS) ; do \ + mv `readlink $$p` $(ORIGNAME) ; \ + mv $$p $(ORIGNAME) ; \ + done && \ + tar cvzf $(ORIGTARBALL) $(ORIGNAME) && \ + mv $(ORIGTARBALL) ../ && \ + cd .. && \ + rm -rf $(GOSTMP)/ +$(GOSTMP): + -mkdir $@ +%/get-orig-source: $(GOSTMP) + uscan --watchfile debian/$*.watch \ + --upstream-version 0 --package $* \ + --download --destdir $(GOSTMP)/ + cd $(GOSTMP) && \ + tar xzf $**.orig.tar.gz && \ + ln -s `tar tzf $**.orig.tar.gz | head -n1` $* --- python-toscawidgets-0.9.7.2.orig/debian/watch +++ python-toscawidgets-0.9.7.2/debian/watch @@ -0,0 +1,4 @@ +# this file comes with two copies: debian/watch and debian/toscawidgets.watch +# will go away with symlink support in dpkg-* soon; in the meantime update both +version=3 +http://pypi.python.org/packages/source/T/ToscaWidgets/ToscaWidgets-([0-9.a-z]*)\.tar\.gz --- python-toscawidgets-0.9.7.2.orig/debian/toscawidgets.watch +++ python-toscawidgets-0.9.7.2/debian/toscawidgets.watch @@ -0,0 +1,4 @@ +# this file comes with two copies: debian/watch and debian/toscawidgets.watch +# will go away with symlink support in dpkg-* soon; in the meantime update both +version=3 +http://pypi.python.org/packages/source/T/ToscaWidgets/ToscaWidgets-([0-9.a-z]*)\.tar\.gz --- python-toscawidgets-0.9.7.2.orig/debian/docs +++ python-toscawidgets-0.9.7.2/debian/docs @@ -0,0 +1 @@ +toscawidgets/README.txt --- python-toscawidgets-0.9.7.2.orig/debian/control +++ python-toscawidgets-0.9.7.2/debian/control @@ -0,0 +1,41 @@ +Source: python-toscawidgets +Section: python +Priority: optional +Maintainer: Debian QA Group +Build-Depends: + debhelper (>= 7), + cdbs, + dpatch, + python-dev, + python-support, + python-setuptools +Standards-Version: 3.8.2 +Homepage: http://toscawidgets.org/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-toscawidgets/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-toscawidgets/trunk/ + +Package: python-toscawidgets +Architecture: all +Depends: + ${misc:Depends}, + ${python:Depends}, + python-webob, + python-simplejson (>= 2.0), + python-formencode (>= 1.1) +Suggests: + python-cheetah, + python-genshi, + python-kid +Description: Python framework for building reusable web components + ToscaWidgets is a system for creating re-usable web components, such + as a popup calendar or a rich text editor. + . + In general, components consist of an HTML template, static resources + (JavaScript, CSS, Images, etc.) and server-side code. ToscaWidgets + allow these to be packaged into a "widget", that a web developer can + then easily use in their application. + . + This package also provides some contributions for ToscaWidgets, in + particular: + . + * tw.forms - web widgets for building and validating forms --- python-toscawidgets-0.9.7.2.orig/debian/source/format +++ python-toscawidgets-0.9.7.2/debian/source/format @@ -0,0 +1 @@ +1.0 --- python-toscawidgets-0.9.7.2.orig/debian/patches/00dpatch.conf +++ python-toscawidgets-0.9.7.2/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs --- python-toscawidgets-0.9.7.2.orig/debian/patches/00list +++ python-toscawidgets-0.9.7.2/debian/patches/00list @@ -0,0 +1 @@ +force-init_py --- python-toscawidgets-0.9.7.2.orig/debian/patches/force-init_py.dpatch +++ python-toscawidgets-0.9.7.2/debian/patches/force-init_py.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## force-init_py.dpatch by Stefano Zacchiroli +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: avoid removal of apparently useless __init__.py by pysupport + +@DPATCH@ +diff -urNad trunk~/toscawidgets/tw/paste_templates/__init__.py trunk/toscawidgets/tw/paste_templates/__init__.py +--- trunk~/toscawidgets/tw/paste_templates/__init__.py 2009-06-16 15:14:56.000000000 +0200 ++++ trunk/toscawidgets/tw/paste_templates/__init__.py 2009-07-04 11:17:01.061691224 +0200 +@@ -0,0 +1,2 @@ ++# Non empty __init__.py, just to avoid python-support removing it as ++# apparently useless. +diff -urNad trunk~/tw.forms/tw/forms/templates/__init__.py trunk/tw.forms/tw/forms/templates/__init__.py +--- trunk~/tw.forms/tw/forms/templates/__init__.py 2009-06-16 15:16:29.000000000 +0200 ++++ trunk/tw.forms/tw/forms/templates/__init__.py 2009-07-04 11:16:08.554714940 +0200 +@@ -0,0 +1,2 @@ ++# Non empty __init__.py, just to avoid python-support removing it as ++# apparently useless.