debian/0000755000000000000000000000000012244424333007167 5ustar debian/watch0000644000000000000000000000013212244424333010214 0ustar version=3 http://pypi.python.org/packages/source/T/TurboJson/TurboJson-([0-9.]+)\.tar\.gz debian/compat0000644000000000000000000000000212244424333010365 0ustar 8 debian/source/0000755000000000000000000000000012244424333010467 5ustar debian/source/format0000644000000000000000000000001412244424333011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001313112244424333011040 0ustar turbojson (1.3.2-2.1) unstable; urgency=low * Non-maintainer upload. * Fix jsonify to support sqlalchemy 0.8. (Closes: #718149). * Update Standards-Version to 3.9.5 * Remove DM-Upload-Allowed, as this is now obsolete. -- Margarita Manterola Sun, 24 Nov 2013 17:26:58 +0100 turbojson (1.3.2-2) unstable; urgency=low * Unit testing enabled on every Python version * Standards-Version bumped to 3.9.3, minor updates -- Federico Ceratto Tue, 29 May 2012 22:14:04 +0100 turbojson (1.3.2-1) unstable; urgency=low * New upstream release * Switched to dh_python2 (Closes: #633538) * debian/rules: don't run tests if nocheck is passed in DEB_BUILD_OPTIONS (Closes: #642565) -- Federico Ceratto Sat, 24 Sep 2011 07:38:37 +0000 turbojson (1.3.1-1) unstable; urgency=low * New upstream release. * Packaging repository moved to git * debian/rules: switch to dh7 * debian/control - new Maintainer: Federico Ceratto - bump Standards-Version to 3.9.1 -- Federico Ceratto Sun, 03 Apr 2011 19:12:39 +0200 turbojson (1.2.1-4) unstable; urgency=low * uploading to unstable -- Stefano Zacchiroli Sun, 02 Aug 2009 16:26:25 +0200 turbojson (1.2.1-3) experimental; urgency=low * Adopting package * Major packaging revamping * debian/rules: switch to CDBS + distutils + python-support * debian/control - set maintainer to Python Modules Team, me as the Uploader - bump Standards-Version to 3.8.2 (no changes needed) - sync (build-)dependencies with what is actually required by latest upstream release. Note that prioritized_methods is shipped in Debian as a contrib of peak.rules. (Closes: #507909, #527512) - revamp short and long descriptions * debian/copyright: simplify markup, move packaging (redone) to GPL * debian/docs: ship upstream README.txt * debian/watch: add watch file -- Stefano Zacchiroli Sat, 20 Jun 2009 16:46:24 +0200 turbojson (1.2.1-2) unstable; urgency=low * Orphaning package. -- Daniel Baumann Tue, 16 Jun 2009 08:14:00 +0200 turbojson (1.2.1-1) unstable; urgency=low * Adding ${misc:Depends} in control. * Merging upstream version 1.2.1. * Tidy rules file. * Updating to standards 3.8.1. * Updating year in copyright file. * Using correct rfc-2822 date formats in changelog. -- Daniel Baumann Mon, 18 May 2009 20:51:26 +0200 turbojson (1.2-2) unstable; urgency=low * New maintainer (Closes: #507792). * Redone debian packaging from scratch. -- Daniel Baumann Sun, 11 Jan 2009 16:13:00 -0500 turbojson (1.2-1) unstable; urgency=low [ Gustavo Noronha Silva ] * New upstream release * Orphaning the package * debian/control: - updated standards version, no changes [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn -- Gustavo Noronha Silva Thu, 04 Dec 2008 11:45:48 -0200 turbojson (1.1.2-1) unstable; urgency=low * New upstream release * debian/control: - added dependency on python-pkg-resources -- Gustavo Noronha Silva Sat, 10 May 2008 11:38:22 -0300 turbojson (1.1.1-1) unstable; urgency=low * New upstream release * debian/control: - updated Standards-Version to 3.7.3 - remove -1 from setuptools' version requirement -- Gustavo Noronha Silva Sun, 10 Feb 2008 23:50:08 -0200 turbojson (1.0-2) UNRELEASED; urgency=low [ Piotr Ożarowski ] * New python-support handles egg's directory name correctly - bump python-support required version - remove mv part from debian/rules * Vcs-Browser and Homepage fields added * XS-Vcs-Svn field renamed to Vcs-Svn [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field -- Piotr Ożarowski Sat, 06 Oct 2007 23:47:32 +0200 turbojson (1.0-1) unstable; urgency=low [ Piotr Ozarowski ] * Added XS-Vcs-Svn field [ Gustavo Noronha Silva ] * New upstream release * debian/watch: - new watch file to monitor new upstream versions * debian/control: - updated build-deps version requirement for python-support and moved it and python-all-dev to build-deps, since they are needed on clean * debian/rules: - removed the 'dev' from the upstream version when moving the egg-info file, since that is no longer used * debian/pycompat: - removed; no longer needed according to the policy -- Gustavo Noronha Silva Sat, 12 May 2007 15:53:58 -0300 turbojson (0.9.5-1) unstable; urgency=low * New upstream release * debian/control: - require newer versions of cdbs and debhelper which respect the minimal python version when calling setup.py * debian/rules: - use DEB_UPSTREAM_VERSION from cdbs, and use shell glob when renaming the egg-info directory -- Gustavo Noronha Silva Mon, 24 Jul 2006 21:38:55 -0300 turbojson (0.9.3-2) unstable; urgency=low * New Python Policy (Closes: #374697) - this release also depend on the new-policy-compliant version of python-sqlobject (Closes: #374690) * debian/python-turbojson.{postinst,prerm}, debian/python-support.version: - handled by dh_pysupport now * debian/rules: - rename the egg-info directory so it doesn't contain the python version -- Gustavo Noronha Silva Fri, 23 Jun 2006 16:41:37 -0300 turbojson (0.9.3-1) experimental; urgency=low * Initial release (Closes: #367285) -- Gustavo Noronha Silva Sat, 13 May 2006 18:59:40 -0300 debian/docs0000644000000000000000000000001312244424333010034 0ustar README.txt debian/control0000644000000000000000000000166412244424333010601 0ustar Source: turbojson Section: python Priority: optional Maintainer: Federico Ceratto Build-Depends: debhelper (>= 8.0.0~), python-all (>= 2.6.6-3~), python-setuptools, python-nose, python-sqlobject, python-sqlalchemy, python-pysqlite2, python-peak.rules Standards-Version: 3.9.3 X-Python-Version: >= 2.5 Homepage: http://www.turbogears.org/ Vcs-Git: git://git.debian.org/git/collab-maint/turbojson.git Vcs-Browser: http://git.debian.org/?p=collab-maint/turbojson.git Package: python-turbojson Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-peak.rules (>= 0.5a1+r2555), python-simplejson (>= 1.9.1) Provides: ${python:Provides} Description: plugin to use JSON templates in Python templating engines TurboJson is a template engine plugin, allowing to easily use JSON via the simplejson module with TurboGears, Bufffer, or other systems that support Python's python.templating.engines. debian/copyright0000644000000000000000000000275412244424333011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://www.turbogears.org/download/filelist.html Files: * Copyright: 2005-2009 Elvelind Grandin License: MIT Files: debian/* Copyright: 2009 Stefano Zacchiroli 2011 Federico Ceratto 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. debian/rules0000755000000000000000000000034612244424333010252 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) dh_auto_test set -e; \ for python in $(shell pyversions -r); do \ $$python /usr/bin/nosetests; \ done endif debian/patches/0000755000000000000000000000000012244424333010616 5ustar debian/patches/series0000644000000000000000000000002712244424333012032 0ustar support-sqlalchemy-0.8 debian/patches/support-sqlalchemy-0.80000644000000000000000000000145712244424333014727 0ustar Description: Add support for SQLAlchemy 0.8 Author: Margarita Manterola Index: turbojson/turbojson/jsonify.py =================================================================== --- turbojson.orig/turbojson/jsonify.py 2013-11-24 16:55:58.466672501 +0100 +++ turbojson/turbojson/jsonify.py 2013-11-24 16:56:42.450890608 +0100 @@ -172,7 +172,11 @@ """JSONify SQLAlchemy instrumented lists.""" return list(obj) - from sqlalchemy.engine.base import ResultProxy, RowProxy + try: + from sqlalchemy.engine.base import ResultProxy, RowProxy + except ImportError: + # SQLAlchemy >= 0.8 + from sqlalchemy.engine.result import ResultProxy, RowProxy @jsonify_default.when("isinstance(obj, ResultProxy)") def jsonify_saproxy(obj):