--- python-tgext.admin-0.2.6.orig/debian/README.source +++ python-tgext.admin-0.2.6/debian/README.source @@ -0,0 +1,31 @@ + +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 + +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, +tgext.admin is considered the "main" tarball. This means, in +particular, that the package version comes from it. + + + -- Stefano Zacchiroli , Fri, 26 Jun 2009 13:14:02 +0200 + --- python-tgext.admin-0.2.6.orig/debian/changelog +++ python-tgext.admin-0.2.6/debian/changelog @@ -0,0 +1,34 @@ +python-tgext.admin (0.2.6-3) unstable; urgency=medium + + * QA upload. + * Build using dh_python2 + + -- Matthias Klose Sun, 13 Jul 2014 16:06:52 +0000 + +python-tgext.admin (0.2.6-2) unstable; urgency=low + + * Orphan package. + + -- Stefano Zacchiroli Wed, 01 Feb 2012 18:22:18 +0100 + +python-tgext.admin (0.2.6-1) unstable; urgency=low + + * new upstream release + * uploading to unstable + + -- Stefano Zacchiroli Thu, 06 Aug 2009 16:52:48 +0200 + +python-tgext.admin (0.2.4-2) experimental; urgency=low + + * debian/{rules,control}: add support for dpatch + * debian/patches/ + - new patch force-init_py to avoid deletion of (only apparently) + unnecessary __init__.py by pysupport + + -- Stefano Zacchiroli Sat, 04 Jul 2009 13:16:10 +0200 + +python-tgext.admin (0.2.4-1) experimental; urgency=low + + * First release (Closes: #534686) + + -- Stefano Zacchiroli Fri, 26 Jun 2009 13:07:09 +0200 --- python-tgext.admin-0.2.6.orig/debian/compat +++ python-tgext.admin-0.2.6/debian/compat @@ -0,0 +1 @@ +7 --- python-tgext.admin-0.2.6.orig/debian/control +++ python-tgext.admin-0.2.6/debian/control @@ -0,0 +1,34 @@ +Source: python-tgext.admin +Section: python +Priority: optional +Maintainer: Debian QA Group +Build-Depends: + debhelper (>= 7), + cdbs, + dpatch, + python-dev, + python-setuptools, + python-docutils +Standards-Version: 3.8.2 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-tgext.admin/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-tgext.admin/trunk/ + +Package: python-tgext.admin +Architecture: all +Depends: + ${misc:Depends}, + ${python:Depends}, + python-sprox, + python-toscawidgets, + python-turbogears2 +Description: user management controller add-on for TurboGears + TurboGears2 is a framework to develop web applications in Python, + according to the model-view-controller (MVC) architecture; + tgext.admin is a controller add-on for TurboGears2 that provides a + user interface to manage users, groups, and their permissions. + . + tgext.admin is compatible with the basic TurboGears2 identity model. + . + This package also contains: + . + * tgext.crud - controller extension to expose CRUD interfaces --- python-tgext.admin-0.2.6.orig/debian/copyright +++ python-tgext.admin-0.2.6/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Stefano Zacchiroli on +Fri, 26 Jun 2009 13:16:38 +0200. + +Files: * +Copyright: © 2009 Christopher Perkins +License: MIT + The MIT license is reported below + +Files: debian/* +Copyright: Copyright © 2009 Stefano Zacchiroli +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-tgext.admin-0.2.6.orig/debian/docs +++ python-tgext.admin-0.2.6/debian/docs @@ -0,0 +1,2 @@ +tgext.admin/docs/source/index.html +tgext.admin/docs/source/images/ --- python-tgext.admin-0.2.6.orig/debian/get-orig-source.mk +++ python-tgext.admin-0.2.6/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-tgext.admin-0.2.6.orig/debian/patches/00dpatch.conf +++ python-tgext.admin-0.2.6/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs --- python-tgext.admin-0.2.6.orig/debian/patches/00list +++ python-tgext.admin-0.2.6/debian/patches/00list @@ -0,0 +1 @@ +force-init_py --- python-tgext.admin-0.2.6.orig/debian/patches/force-init_py.dpatch +++ python-tgext.admin-0.2.6/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~/tgext.admin/tgext/admin/templates/__init__.py trunk/tgext.admin/tgext/admin/templates/__init__.py +--- trunk~/tgext.admin/tgext/admin/templates/__init__.py 2009-01-13 21:38:59.000000000 +0100 ++++ trunk/tgext.admin/tgext/admin/templates/__init__.py 2009-07-04 13:19:51.125034112 +0200 +@@ -0,0 +1,2 @@ ++# Non empty __init__.py, just to avoid python-support removing it as ++# apparently useless. +diff -urNad trunk~/tgext.crud/tgext/crud/templates/__init__.py trunk/tgext.crud/tgext/crud/templates/__init__.py +--- trunk~/tgext.crud/tgext/crud/templates/__init__.py 2009-01-13 21:47:26.000000000 +0100 ++++ trunk/tgext.crud/tgext/crud/templates/__init__.py 2009-07-04 13:20:15.196521211 +0200 +@@ -0,0 +1,2 @@ ++# Non empty __init__.py, just to avoid python-support removing it as ++# apparently useless. --- python-tgext.admin-0.2.6.orig/debian/rules +++ python-tgext.admin-0.2.6/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +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-tgext.admin +UPSTREAMS = \ + tgext.admin \ + tgext.crud \ + $(NULL) +export SUBDIRS = $(UPSTREAMS) + +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed + +# build doc (shipped by dh_installdocs) +build/$(PKG):: + cd tgext.admin/docs/source && rst2html index.rst > index.html +clean:: + -rm -f tgext.admin/docs/source/index.html + +# avoid installing useless *.pth files +install/$(PKG):: + rm -f debian/$(PKG)/usr/lib/python*/site-packages/*.pth + +-include debian/get-orig-source.mk --- python-tgext.admin-0.2.6.orig/debian/source/format +++ python-tgext.admin-0.2.6/debian/source/format @@ -0,0 +1 @@ +1.0 --- python-tgext.admin-0.2.6.orig/debian/tgext.admin.watch +++ python-tgext.admin-0.2.6/debian/tgext.admin.watch @@ -0,0 +1,4 @@ +# this file comes with two copies: debian/watch and debian/tgext.admin.watch +# will go away with symlink support in dpkg-* soon; in the meantime update both +version=3 +http://pypi.python.org/packages/source/t/tgext.admin/tgext.admin-([0-9.]+)\.tar\.gz --- python-tgext.admin-0.2.6.orig/debian/tgext.crud.watch +++ python-tgext.admin-0.2.6/debian/tgext.crud.watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/t/tgext.crud/tgext.crud-([0-9.]+)\.tar\.gz --- python-tgext.admin-0.2.6.orig/debian/watch +++ python-tgext.admin-0.2.6/debian/watch @@ -0,0 +1,4 @@ +# this file comes with two copies: debian/watch and debian/tgext.admin.watch +# will go away with symlink support in dpkg-* soon; in the meantime update both +version=3 +http://pypi.python.org/packages/source/t/tgext.admin/tgext.admin-([0-9.]+)\.tar\.gz --- python-tgext.admin-0.2.6.orig/setup.py +++ python-tgext.admin-0.2.6/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)