[Python-modules-commits] [ujson] 02/02: Imported Debian patch 1.33-1

Sandro Tosi morph at moszumanska.debian.org
Mon Jun 29 20:19:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository ujson.

commit da4f98e7526218821cb07a5aec76ea77d4ea28bf
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Jun 29 11:37:26 2015 -0400

    Imported Debian patch 1.33-1
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 45 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules         | 41 +++++++++++++++++++++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 7 files changed, 154 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..97ba864
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ujson (1.33-1) unstable; urgency=low
+
+  * Initial release (Closes: #790447)
+
+ -- Sandro Tosi <morph at debian.org>  Mon, 29 Jun 2015 11:37:26 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..780f8a8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: ujson
+Section: unknown
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Build-Depends: debhelper (>= 9), python-all-dev, python-all-dbg, python3-all-dev, python3-all-dbg, dh-python
+Standards-Version: 3.9.6
+Homepage: http://github.com/esnme/ultrajson
+#Vcs-Git: 
+#Vcs-Browser: 
+
+Package: python-ujson
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Description: ultra fast JSON encoder and decoder for Python 2
+ UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
+ bindings for Python.
+
+Package: python-ujson-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: python-dbg, ${misc:Depends}, ${shlibs:Depends}, python-ujson (= ${binary:Version})
+Description: ultra fast JSON encoder and decoder for Python 2 (debug ext)
+ UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
+ bindings for Python.
+ .
+ This package contains the debug extention for python-ujson.
+
+Package: python3-ujson
+Architecture: any
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Description: ultra fast JSON encoder and decoder for Python 3
+ UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
+ bindings for Python.
+ .
+ This package contains the Python 3 module of ujson.
+
+Package: python3-ujson-dbg
+Architecture: any
+Depends: python3-dbg, ${misc:Depends}, ${shlibs:Depends}, python3-ujson (= ${binary:Version})
+Description: ultra fast JSON encoder and decoder for Python 3 (debug ext)
+ UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
+ bindings for Python.
+ .
+ This package contains the debug extension for python3-ujson.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ba83d61
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,58 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ujson
+Source: <url://example.com>
+
+Files: *
+Copyright: Copyright (c) 2011-2013, ESN Social Software AB and Jonas Tarnstrom
+License: BSD
+ 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 ESN Social Software AB 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 ESN SOCIAL SOFTWARE AB OR JONAS TARNSTROM 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.
+Notes: 
+ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
+ http://code.google.com/p/stringencoders/
+ Copyright (c) 2007  Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
+ .
+ Numeric decoder derived from from TCL library
+ http://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
+  * Copyright (c) 1988-1993 The Regents of the University of California.
+  * Copyright (c) 1994 Sun Microsystems, Inc.
+
+
+Files: debian/*
+Copyright: 2015 Sandro Tosi <morph at debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c21f4ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+PYTHON2=$(shell pyversions -r)
+PYTHON3=$(shell py3versions -r)
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	set -e; \
+	for python in $(PYTHON2) $(PYTHON3); do \
+		$$python setup.py build; \
+		$$python-dbg setup.py build; \
+	done
+
+override_dh_install:
+	set -e; \
+	for python in $(PYTHON2); do \
+		$$python     setup.py install --install-layout=deb --root=$(CURDIR)/debian/python-ujson; \
+		$$python-dbg setup.py install --install-layout=deb --root=$(CURDIR)/debian/python-ujson-dbg; \
+	done
+	for python in $(PYTHON3); do \
+		$$python     setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-ujson; \
+		$$python-dbg setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-ujson-dbg; \
+	done
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip -ppython-ujson  --dbg-package=python-ujson-dbg
+	dh_strip -ppython3-ujson --dbg-package=python3-ujson-dbg
+endif
+
+override_dh_installdocs:
+	dh_installdocs -ppython-ujson-dbg  --link-doc=python-ujson
+	dh_installdocs -ppython3-ujson-dbg --link-doc=python3-ujson
+	dh_installdocs
+	dh_installdocs -A README.rst
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c3804c7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/ujson/ujson-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ujson.git



More information about the Python-modules-commits mailing list