--- simplejson-2.0.9.orig/debian/pycompat +++ simplejson-2.0.9/debian/pycompat @@ -0,0 +1 @@ +2 --- simplejson-2.0.9.orig/debian/copyright +++ simplejson-2.0.9/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Tommi Virtanen tv@debian.org on +Fri, 24 Mar 2006 19:07:30 +0200. + +Since Mon, 22 Jan 2007 02:26:34 +0100 it is maintained by +Debian Python Modules Team . + + +It was downloaded from http://cheeseshop.python.org/packages/source/s/simplejson/ + +Upstream Author: Bob Ippolito + +Copyright: (C) 2006-2009 Bob Ippolito + + +License: MIT License + + 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. + + +The Debian packaging is © 2006 Tommi Virtanen and +© 2007-2009 Piotr Ożarowski - it is licensed under the MIT +license as well --- simplejson-2.0.9.orig/debian/compat +++ simplejson-2.0.9/debian/compat @@ -0,0 +1 @@ +5 --- simplejson-2.0.9.orig/debian/watch +++ simplejson-2.0.9/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cheeseshop.python.org/packages/source/s/simplejson/simplejson-(.*)\.tar\.gz debian uupdate --- simplejson-2.0.9.orig/debian/changelog +++ simplejson-2.0.9/debian/changelog @@ -0,0 +1,222 @@ +simplejson (2.0.9-1build1) lucid; urgency=low + + * Rebuild dropping the extension for python2.5. + + -- Matthias Klose Mon, 01 Feb 2010 22:06:03 +0000 + +simplejson (2.0.9-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Fri, 20 Feb 2009 19:19:32 +0100 + +simplejson (2.0.8-1) unstable; urgency=low + + * New upstream release + * Change Debian packaging license to MIT (to match upstream) + * Uplaod to unstable + + -- Piotr Ożarowski Tue, 17 Feb 2009 22:48:49 +0100 + +simplejson (2.0.7-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Mon, 05 Jan 2009 20:02:13 +0100 + +simplejson (2.0.6-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + disable_ez_setup patch updated + + XS-Python-Version bumped to >= 2.4 + + -- Piotr Ożarowski Sun, 21 Dec 2008 20:34:59 +0100 + +simplejson (2.0.5-1) experimental; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Piotr Ożarowski ] + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Mon, 24 Nov 2008 20:08:46 +0100 + +simplejson (2.0.4-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Fri, 24 Oct 2008 20:42:38 +0200 + +simplejson (2.0.3-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Sun, 12 Oct 2008 15:06:57 +0200 + +simplejson (2.0.2-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Tue, 07 Oct 2008 20:08:15 +0200 + +simplejson (2.0.1-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + + -- Piotr Ożarowski Tue, 30 Sep 2008 20:21:25 +0200 + +simplejson (2.0.0-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Lenny freeze) + * Remove embedded copy of jquery.js and recommend libjs-jquery package + * Don't compress .json and .js files in docs directory + + -- Piotr Ożarowski Sat, 27 Sep 2008 20:25:19 +0200 + +simplejson (1.9.3-1) experimental; urgency=low + + * New upstream release + + -- Piotr Ożarowski Tue, 23 Sep 2008 20:17:31 +0200 + +simplejson (1.9.2-1) unstable; urgency=low + + * New upstream release + * Standards-Version bumped to 3.8.0: + + debian/README.source file added + + -- Piotr Ożarowski Tue, 08 Jul 2008 20:02:49 +0200 + +simplejson (1.9.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Sun, 04 May 2008 23:45:23 +0200 + +simplejson (1.8.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Tue, 25 Mar 2008 20:31:48 +0100 + +simplejson (1.7.5-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Tue, 18 Mar 2008 01:00:07 +0100 + +simplejson (1.7.4-1) unstable; urgency=low + + * New upstream release + * disable_ez_setup patch updated + * Strip the "-1" from quilt's and setuptools' required build versions + * Compress binary package with bzip2 + * Standards-version bumped to 3.7.3 (no changes needed) + + -- Piotr Ożarowski Sun, 24 Feb 2008 15:26:50 +0100 + +simplejson (1.7.3-1) unstable; urgency=low + + * New upstream release + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + -- Piotr Ożarowski Sun, 07 Oct 2007 22:25:25 +0200 + +simplejson (1.7.2-1) unstable; urgency=low + + * New upstream release + * Build Python extension (_speedups.so) + - architecture changed to "any" + - package now provides pythonX.Y-simplejson packages + * Convert from CDBS to pure debhelper & quilt + * Homepage field added + * disable_ez_setup patch updated + + -- Piotr Ożarowski Sat, 22 Sep 2007 16:59:56 +0200 + +simplejson (1.7.1-2) unstable; urgency=low + + * New python-support handles egg's directory name correctly + - bump python-support required version + - remove mv part from debian/rules (Closes: #423982) + + -- Piotr Ożarowski Tue, 15 May 2007 19:40:49 +0200 + +simplejson (1.7.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Thu, 29 Mar 2007 15:04:55 +0200 + +simplejson (1.7-1) unstable; urgency=low + + * New upstream release + * Changed maintainer address to debian.org + + -- Piotr Ożarowski Mon, 19 Mar 2007 17:43:17 +0100 + +simplejson (1.6-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Sun, 4 Mar 2007 16:15:08 +0100 + +simplejson (1.5-1) unstable; urgency=low + + * New upstream release + * New maintainer: Debian Python Modules Team, thanks Tommi for your work! + * Add myself to Uploaders + * Acknowledge non-maintainer uploads (Closes: #373380, #372617) + * Documentation is now installed as well + * Homepage pseudo header added to long description + * XS-Python-Standards-Version field removed + * XS-Vcs-Svn and XS-Vcs-Browser fields added + * Updated versions of required dependencies + * debian/rules file simplified + * debian/copyright file updated + * Patch moved to debian/patches/01_disable_ez_setup.diff + + -- Piotr Ozarowski Mon, 22 Jan 2007 02:26:34 +0100 + +simplejson (1.4-0.1) unstable; urgency=low + + * Non-maintainer upload (with maintainer's knowledge) + * New upstream release + * python-support moved to Build-Depends: and bumped required version to 0.3 + (Lintian error) + * Updated XS-Python-Version: field (Lintian error) + * python2.3-simplejson removed from Conflicts: and Replaces: + (Python v2.3 is no longer supported in Debian) + * Added debian/watch file + * Standards-version bumped to 3.7.2 (no changes needed) + + -- Piotr Ozarowski Sat, 2 Dec 2006 00:09:09 +0100 + +simplejson (1.3-0.1) unstable; urgency=low + + * NMU + * New upstream release (Closes: #372617) + * debian/copyright: + - updated to contain the correct information (Closes: #372619) + + -- Gustavo Noronha Silva Sat, 24 Jun 2006 19:15:44 -0300 + +simplejson (1.1-1.1) unstable; urgency=low + + * NMU for the new Python Policy transition (Closes: #373380) + * debian/control: + - build-depend on the newest versions of cdbs, debhelper, and + python-setuptools to conform to the new policy + - provides policy headers + * debian/rules: + - install the files to /usr/share/python-support/python-simplejson + + -- Gustavo Noronha Silva Tue, 20 Jun 2006 07:18:36 -0300 + +simplejson (1.1-1) unstable; urgency=low + + * Initial release + + -- Tommi Virtanen Sun, 26 Mar 2006 11:58:56 +0300 --- simplejson-2.0.9.orig/debian/rules +++ simplejson-2.0.9/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +PACKAGE_NAME=python-simplejson +MODULE_NAME=simplejson + +PYVERS=$(shell pyversions -vr) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +export CFLAGS + +clean: unpatch + dh_testdir + dh_testroot + rm -rf dist build build-stamp build-ext-* + rm -rf $(MODULE_NAME).egg-info + find . -name '*\.py[co]' -delete + dh_clean install-stamp install-ext-* + +build: patch build-stamp +build-stamp: $(PYVERS:%=build-ext-%) + touch $@ +build-ext-%: + dh_testdir + python$* setup.py build + touch $@ + +install: install-stamp +install-stamp: build-stamp $(PYVERS:%=install-ext-%) + touch $@ +install-ext-%: + python$* setup.py install \ + --root $(CURDIR)/debian/$(PACKAGE_NAME) \ + --single-version-externally-managed + touch $@ + +binary-indep: + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_link /usr/share/javascript/jquery/jquery.js \ + /usr/share/doc/python-simplejson/docs/_static/jquery.js + dh_pysupport + dh_strip + dh_compress -X.py -X.json -X.js + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb -- -Z bzip2 + +binary: binary-indep binary-arch + +.PHONY: clean binary-indep binary-arch binary unpatch --- simplejson-2.0.9.orig/debian/docs +++ simplejson-2.0.9/debian/docs @@ -0,0 +1 @@ +docs --- simplejson-2.0.9.orig/debian/README.source +++ simplejson-2.0.9/debian/README.source @@ -0,0 +1,2 @@ +This package uses the patch management system quilt as documented in +/usr/share/doc/quilt/README.source. --- simplejson-2.0.9.orig/debian/control +++ simplejson-2.0.9/debian/control @@ -0,0 +1,31 @@ +Source: simplejson +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Piotr Ożarowski +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5.0.38), quilt (>= 0.40), python-all-dev (>= 2.3.5-11), python-setuptools (>= 0.6b3), python-support (>= 0.6.4) +Homepage: http://undefined.org/python/#simplejson +XS-Python-Version: >= 2.4 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/simplejson/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/simplejson/trunk/ + +Package: python-simplejson +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +XB-Python-Version: ${python:Versions} +Recommends: libjs-jquery +Provides: ${python:Provides} +Replaces: python2.4-simplejson +Conflicts: python2.4-simplejson +Description: Simple, fast, extensible JSON encoder/decoder for Python + simplejson is a simple, fast, complete, correct and extensible JSON + encoder and decoder. It is pure Python code with no + dependencies. + . + The encoder may be subclassed to provide serialization in any kind of + situation, without any special support by the objects to be serialized + (somewhat like pickle). + . + The decoder can handle incoming JSON strings of any specified encoding + (UTF-8 by default). --- simplejson-2.0.9.orig/debian/patches/series +++ simplejson-2.0.9/debian/patches/series @@ -0,0 +1 @@ +disable_ez_setup.patch --- simplejson-2.0.9.orig/debian/patches/disable_ez_setup.patch +++ simplejson-2.0.9/debian/patches/disable_ez_setup.patch @@ -0,0 +1,34 @@ +this patch disables ez_setup (dpkg handles dependencies a lot better) +Index: simplejson-2.0.6/setup.py +=================================================================== +--- simplejson-2.0.6.orig/setup.py ++++ simplejson-2.0.6/setup.py +@@ -1,17 +1,17 @@ + #!/usr/bin/env python + +-from ez_setup import use_setuptools ++#from ez_setup import use_setuptools + import sys +-if 'cygwin' in sys.platform.lower(): +- min_version='0.6c6' +-else: +- min_version='0.6a9' +-try: +- use_setuptools(min_version=min_version) +-except TypeError: +- # If a non-local ez_setup is already imported, it won't be able to +- # use the min_version kwarg and will bail with TypeError +- use_setuptools() ++#if 'cygwin' in sys.platform.lower(): ++# min_version='0.6c6' ++#else: ++# min_version='0.6a9' ++#try: ++# use_setuptools(min_version=min_version) ++#except TypeError: ++# # If a non-local ez_setup is already imported, it won't be able to ++# # use the min_version kwarg and will bail with TypeError ++# use_setuptools() + + from setuptools import setup, find_packages, Extension, Feature + from distutils.command.build_ext import build_ext