Initial debian import

This commit is contained in:
Jérôme Schneider 2014-10-31 18:39:31 +01:00
parent 520e7b792a
commit 073225be07
11 changed files with 184 additions and 0 deletions

7
debian/NEWS vendored Normal file
View File

@ -0,0 +1,7 @@
python-anyjson (0.3.1-1) unstable; urgency=low
cjson has been moved to the lowest priority of the JSON
implementations. This has happened due to several encoding/decoding
bugs and the vanishing performance gap to other implementations.
-- Fladischer Michael <FladischerMichael@fladi.at> Fri, 15 Apr 2011 16:29:44 +0200

63
debian/changelog vendored Normal file
View File

@ -0,0 +1,63 @@
python-anyjson (0.3.3-1) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Michael Fladischer ]
* New upstream release.
* Bump Standards version to 3.9.4.
* Bump debhelper Build-Depends to >= 8.1.0~.
* Update years in d/copyright.
-- Michael Fladischer <FladischerMichael@fladi.at> Wed, 05 Jun 2013 14:40:51 +0200
python-anyjson (0.3.1-2) unstable; urgency=low
* Change order of my name.
* Add anyjson.egg-info/PKG-INFO to d/clean to allow the package to be
built tice in a row (Closes: #671146).
* Update years in d/copyright.
* Use DEP5 1.0 format URL.
* Bump Standards version to 3.9.3.
* Remove d/s/local-options from SVN.
-- Michael Fladischer <FladischerMichael@fladi.at> Fri, 01 Jun 2012 16:31:39 +0200
python-anyjson (0.3.1-1) unstable; urgency=low
* New upstream version (Closes: #620959).
- Drop python-cjson from Depends.
* Set PMPT as maintainer and myself as uploader.
* Switch to dh_python2.
* Switch to source format 3.0 (quilt).
* Use DEP5 for copyright file.
* Clean up after build.
* Streamline packaging code with wrap-and-sort.
* Extend regex in d/watch.
* Bumped Standards-Version to 3.9.2 (no change necessary).
* Set X-P-V to >= 2.4.
* Recommend either python (>= 2.6) or python-simplejson.
* Build for python3.
* Clean build directory.
-- Fladischer Michael <FladischerMichael@fladi.at> Wed, 06 Jul 2011 16:33:28 +0200
python-anyjson (0.2.3-1) unstable; urgency=low
* New upstream release
* Added dependencies on python json modules (Closes: #570648, #569824)
* Updated Stanards version, no changes needed
-- David Watson <david@bashton.com> Thu, 18 Mar 2010 21:38:27 +0000
python-anyjson (0.2.2-2) unstable; urgency=low
* Improve the long description (Closes: #554467).
-- David Watson <david@bashton.com> Fri, 06 Nov 2009 09:24:13 +0000
python-anyjson (0.2.2-1) unstable; urgency=low
* Initial release (Closes: #551886)
-- David Watson <david@bashton.com> Wed, 21 Oct 2009 14:25:29 +0100

2
debian/clean vendored Normal file
View File

@ -0,0 +1,2 @@
anyjson.egg-info/PKG-INFO
anyjson.egg-info/SOURCES.txt

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

39
debian/control vendored Normal file
View File

@ -0,0 +1,39 @@
Source: python-anyjson
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: David Watson <dwatson@debian.org>,
Michael Fladischer <FladischerMichael@fladi.at>
Build-Depends: debhelper (>= 8.1.0~),
python-all (>= 2.6.6-3~),
python-setuptools,
python3-all (>= 3.1.2-12~),
python3-setuptools
Standards-Version: 3.9.4
X-Python-Version: >= 2.4
X-Python3-Version: >= 3.0
Homepage: http://bitbucket.org/runeh/anyjson/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-anyjson/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-anyjson/trunk/
Package: python-anyjson
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Recommends: python (>= 2.6) | python-simplejson
Description: Common interface for the best available JSON implementation
Loads whichever is the fastest JSON module installed and provides a uniform
API regardless of which JSON implementation is used. The exceptions will also
be the same whichever JSON module is used.
The ranking of the JSON implementations is based on a benchmark.
Package: python3-anyjson
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Common interface for the best available JSON implementation (Python3 version)
Loads whichever is the fastest JSON module installed and provides a uniform
API regardless of which JSON implementation is used. The exceptions will also
be the same whichever JSON module is used.
The ranking of the JSON implementations is based on a benchmark.
.
This package contains the Python 3 version of the library.

39
debian/copyright vendored Normal file
View File

@ -0,0 +1,39 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: anyjson
Upstream-Contact: Rune Halvorsen <runefh@gmail.com>
Source: http://pypi.python.org/pypi/anyjson/
Files: *
Copyright: 2009, Rune Halvorsen <runefh@gmail.com>
License: BSD-anyjson
Files: debian/*
Copyright: 2011-2013, Fladischer Michael <FladischerMichael@fladi.at>
2009, David Watson <david@bashton.com>
License: BSD-anyjson
License: BSD-anyjson
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
Neither the name of the authors nor the names of its contributors may be used
to endorse or promote products derived from this software without specific
prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

1
debian/python-anyjson.docs vendored Normal file
View File

@ -0,0 +1 @@
README

1
debian/python3-anyjson.docs vendored Normal file
View File

@ -0,0 +1 @@
README

28
debian/rules vendored Executable file
View File

@ -0,0 +1,28 @@
#!/usr/bin/make -f
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
%:
dh $@ --with python2,python3
override_dh_auto_build:
set -e; \
for py in $(PYVERS) $(PY3VERS); do \
$$py setup.py build; \
done
override_dh_auto_clean:
rm -rf build
override_dh_auto_install:
set -e; \
for py in $(PYVERS); do \
$$py setup.py install --skip-build --root debian/python-anyjson \
--install-layout deb; \
done
set -e; \
for py in $(PY3VERS); do \
$$py setup.py install --skip-build --root debian/python3-anyjson \
--install-layout deb; \
done

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://pypi.python.org/packages/source/a/anyjson/anyjson-([\d\.]+)\.tar\.gz