diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 56 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/options | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 98 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7cd3cf6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-canonicaljson (1.0.0-1) unstable; urgency=low + + * Initial upload. + + -- Andrew Shadura <andrewsh@debian.org> Tue, 07 Feb 2017 20:37:49 +0100 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..817b366 --- /dev/null +++ b/debian/control @@ -0,0 +1,56 @@ +Source: python-canonicaljson +Maintainer: Andrew Shadura <andrewsh@debian.org> +Section: python +Priority: optional +Build-Depends: + debhelper (>= 9), + dh-python, + python-all (>= 2.6.6-3), + python-setuptools (>= 0.6.24), + python3-all, + python3-setuptools (>= 0.6.24), + python-frozendict (>= 0.4), + python-simplejson (>= 3.6.5), + python3-frozendict (>= 0.4), + python3-simplejson (>= 3.6.5) +Standards-Version: 3.9.6 +X-Python-Version: >= 2.7 + +Package: python-canonicaljson +Architecture: all +Depends: + python-frozendict (>= 0.4), + python-simplejson (>= 3.6.5), + ${misc:Depends}, + ${python:Depends} +Provides: ${python:Provides} +Description: canonical JSON implementation for Python 2 + Canonical JSON implementation for Python 2. + . + * Encodes objects and arrays as RFC 7159 JSON. + * Sorts object keys so that you get the same result each time. + * Has no inignificant whitespace to make the output as small as possible. + * Escapes only the characters that must be escaped, U+0000 to U+0019 / U+0022 / + U+0056, to keep the output as small as possible. + * Uses the shortest escape sequence for each escaped character. + * Encodes the JSON as UTF-8. + * Can encode frozendict immutable dictionaries. + +Package: python3-canonicaljson +Architecture: all +Depends: + python3-frozendict (>= 0.4), + python3-simplejson (>= 3.6.5), + ${misc:Depends}, + ${python3:Depends} +Description: canonical JSON implementation for Python 3 + Canonical JSON implementation for Python 3. + . + * Encodes objects and arrays as RFC 7159 JSON. + * Sorts object keys so that you get the same result each time. + * Has no inignificant whitespace to make the output as small as possible. + * Escapes only the characters that must be escaped, U+0000 to U+0019 / U+0022 / + U+0056, to keep the output as small as possible. + * Uses the shortest escape sequence for each escaped character. + * Encodes the JSON as UTF-8. + * Can encode frozendict immutable dictionaries. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c23a624 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: Mark Haines <mjark@negativecurvature.net> + +Files: * +Copyright: 2014-2015 OpenMarket Ltd +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache License, + version 2.0 can be found in ‘/usr/share/common-licenses/Apache-2.0’. + + +Files: debian/* +Copyright: 2017 Andrew Shadura <andrewsh@debian.org> +License: Apache-2.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f9fe4f0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=canonicaljson + +%: + dh $@ --with python2,python3 --buildsystem=pybuild 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/source/options b/debian/source/options new file mode 100644 index 0000000..4d82e22 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info"
\ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0c4d883 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=uversionmangle=s/(rc|a|b|c)/~$1/,filenamemangle=s/(?:.*?)?v?(\d[\d.]*)(@ARCHIVE_EXT@)/@PACKAGE@-$1$2/ \ +https://github.com/matrix-org/@PACKAGE@/releases .*/v?(.*)@ARCHIVE_EXT@ |