--- tg.devtools-2.0.2.orig/debian/changelog +++ tg.devtools-2.0.2/debian/changelog @@ -0,0 +1,55 @@ +tg.devtools (2.0.2-1) unstable; urgency=low + + * new upstream release + * debian/control: + - bump turbojson dependency to the last (debian) revision with sane + dependencies, i.e. 1.2.1-3 + - bump dependency on turbogears to 2.0.2 (required by new upstream) + - bump Standards-Version to 3.8.3 (no changes needed) + + -- Stefano Zacchiroli Mon, 24 Aug 2009 16:01:24 +0200 + +tg.devtools (2.0.1-3) unstable; urgency=low + + * first upload to unstable + * debian/control: + - clarify in description the respective roles of + python-{turbogears2,tg.devtools} + - recommend python-turbogears2-doc + + -- Stefano Zacchiroli Sun, 02 Aug 2009 16:15:28 +0200 + +tg.devtools (2.0.1-2) experimental; urgency=low + + * debian/control: + - suggests ipython (very useful to interactively play with models) + - depend on zope.sqlalchemy and python-pybabel (will be deps for + quickstarted apps) + + -- Stefano Zacchiroli Sun, 05 Jul 2009 16:28:24 +0200 + +tg.devtools (2.0.1-1) experimental; urgency=low + + * New upstream release + * debian/patches/ + - disable patch no-auth-by-default, as agreed upon with upstream + * debian/control: bump dep on turbogears2 to (>= 2.0.1) + + -- Stefano Zacchiroli Fri, 03 Jul 2009 11:53:13 +0200 + +tg.devtools (2.0-2) experimental; urgency=low + + * debian/patches/ + - add new patches avoid-catwalk-dep and no-auth-by-default to loosen + Catwalk needs, which is enabled only when auth support is enabled + * debian/control: + - recommends python-catwalk (needed when auth is enabled) + - bump Standards-Version to 3.8.2 (no changes needed) + + -- Stefano Zacchiroli Mon, 22 Jun 2009 11:20:48 +0200 + +tg.devtools (2.0-1) experimental; urgency=low + + * First release (Closes: #531848) + + -- Stefano Zacchiroli Thu, 04 Jun 2009 12:38:44 +0200 --- tg.devtools-2.0.2.orig/debian/compat +++ tg.devtools-2.0.2/debian/compat @@ -0,0 +1 @@ +7 --- tg.devtools-2.0.2.orig/debian/rules +++ tg.devtools-2.0.2/debian/rules @@ -0,0 +1,14 @@ +#!/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-tg.devtools +TMPLDIR = debian/$(PKG)/usr/lib/python*/site-packages/devtools/templates +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed + +# clear some useless executable bits +install/$(PKG):: + chmod -x $(TMPLDIR)/turbogears/ez_setup/README.txt + chmod -x $(TMPLDIR)/turbogears/+package+/public/images/*.png --- tg.devtools-2.0.2.orig/debian/copyright +++ tg.devtools-2.0.2/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Stefano Zacchiroli on +Thu, 04 Jun 2009 14:43:33 +0200. + +Files: * +Copyright: © 2005-2009 Kevin Dangoor and contributors +License: other + 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. + +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. --- tg.devtools-2.0.2.orig/debian/watch +++ tg.devtools-2.0.2/debian/watch @@ -0,0 +1,3 @@ +version=2 +http://www.turbogears.org/2.0/downloads/current/ \ + tg\.devtools-([0-9a-z.]+)\.tar\.gz --- tg.devtools-2.0.2.orig/debian/pycompat +++ tg.devtools-2.0.2/debian/pycompat @@ -0,0 +1 @@ +2 --- tg.devtools-2.0.2.orig/debian/control +++ tg.devtools-2.0.2/debian/control @@ -0,0 +1,54 @@ +Source: tg.devtools +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Stefano Zacchiroli +Build-Depends: + debhelper (>= 7), + cdbs, + dpatch, + python-dev, + python-support, + python-setuptools, + python-coverage, + python-nose, + python-repoze.tm2 (>= 1.0a4), + python-turbokid (>= 1.0.4), + python-turbojson (>= 1.2.1-3), + python-zope.sqlalchemy (>= 0.4), + python-sqlalchemy (>= 0.5), + python-repoze.what-plugins +Standards-Version: 3.8.3 +Homepage: http://www.turbogears.org/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/tg.devtools/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/tg.devtools/trunk/ + +Package: python-tg.devtools +Architecture: all +Depends: + ${misc:Depends}, + ${python:Depends}, + python-turbogears2 (>= 2.0.2), + python-migrate (>= 0.5.1), + python-sqlalchemy (>= 0.5), + python-zope.sqlalchemy, + python-pybabel (>= 0.9.4), + python-repoze.what-plugins, + python-repoze.who +Recommends: + python-catwalk (>= 2.0.2), + python-turbogears2-doc +Suggests: ipython +Description: developer tools for the TurboGears web framework + TurboGears2 is a framework to develop web applications in Python, + following a model-view-controller architecture. + . + The main TurboGears2 package is python-turbogears2. This package + contains the development tools needed to create web applications + powered by TurboGears2. In particular, this package provide + integration with the Python Paste tools implementing scaffolding + command to start developing TurboGears2 applications. + . + If you only need to run (and not developed) web applications powered + by TurboGears2, it might be enough to install the python-turbogears2 + packages. --- tg.devtools-2.0.2.orig/debian/patches/00dpatch.conf +++ tg.devtools-2.0.2/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs --- tg.devtools-2.0.2.orig/debian/patches/fix-template-shebang.dpatch +++ tg.devtools-2.0.2/debian/patches/fix-template-shebang.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-template-shebang.dpatch by Stefano Zacchiroli +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix shebang line in upstream's ez_setup template so that it is +## an absolute path to a Python interpreter + +@DPATCH@ +diff -urNad trunk~/devtools/templates/turbogears/ez_setup/__init__.py trunk/devtools/templates/turbogears/ez_setup/__init__.py +--- trunk~/devtools/templates/turbogears/ez_setup/__init__.py 2008-11-26 22:33:25.000000000 +0100 ++++ trunk/devtools/templates/turbogears/ez_setup/__init__.py 2009-06-04 15:23:57.364765682 +0200 +@@ -1,4 +1,4 @@ +-#!python ++#!/usr/bin/python + """Bootstrap setuptools installation + + If you want to use setuptools in your package's setup.py, just include this --- tg.devtools-2.0.2.orig/debian/patches/00list +++ tg.devtools-2.0.2/debian/patches/00list @@ -0,0 +1,2 @@ +fix-template-shebang +avoid-catwalk-dep --- tg.devtools-2.0.2.orig/debian/patches/avoid-catwalk-dep.dpatch +++ tg.devtools-2.0.2/debian/patches/avoid-catwalk-dep.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## avoid-catwalk-dep.dpatch by Stefano Zacchiroli +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix to avoid declaring a useless dep on Catwalk, if auth +## DP: support has not been requested on a given project. + +@DPATCH@ +diff -urNad trunk~/devtools/templates/turbogears/setup.py_tmpl trunk/devtools/templates/turbogears/setup.py_tmpl +--- trunk~/devtools/templates/turbogears/setup.py_tmpl 2009-03-16 23:57:55.000000000 +0100 ++++ trunk/devtools/templates/turbogears/setup.py_tmpl 2009-06-21 13:26:40.663854382 +0200 +@@ -15,7 +15,9 @@ + #url='', + install_requires=[ + "TurboGears2 >= 2.0b7", ++ {{if auth == "sqlalchemy"}} + "Catwalk >= 2.0.2", ++ {{endif}} + "Babel >=0.9.4", + {{if sqlalchemy}} + "zope.sqlalchemy >= 0.4 ", --- tg.devtools-2.0.2.orig/debian/patches/no-auth-by-default.dpatch +++ tg.devtools-2.0.2/debian/patches/no-auth-by-default.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## no-auth-by-default.dpatch by Stefano Zacchiroli +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change the default of the auth query to "no". If needed, auth +## DP: support should be explicitly requested at quickstart time. + +@DPATCH@ +diff -urNad trunk~/devtools/commands/quickstart.py trunk/devtools/commands/quickstart.py +--- trunk~/devtools/commands/quickstart.py 2009-03-05 00:34:07.000000000 +0100 ++++ trunk/devtools/commands/quickstart.py 2009-06-21 13:18:32.515854157 +0200 +@@ -142,9 +142,9 @@ + while self.auth is None: + self.auth = raw_input( + "Do you need authentication and authorization" +- " in this project? [yes] ") ++ " in this project? [no] ") + self.auth = dict(y=True, n=False).get( +- self.auth.lstrip()[:1].lower() or 'y') ++ self.auth.lstrip()[:1].lower() or 'n') + if self.auth is None: + print "Please enter y(es) or n(o)." +