diff options
author | Andrew Shadura <andrew.shadura@collabora.co.uk> | 2016-10-14 19:26:45 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2016-10-14 19:28:59 +0200 |
commit | 387ff61cf4a9f6957b9c9acae19b9f7d1b282905 (patch) | |
tree | 2189d7b6cdbdd4d338aca5e119e867b3deb29425 | |
parent | a9fec9814849268566f403d5101eb579d201e36e (diff) |
Debian release 0.1.167-1.debian/0.1.167-1
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 3 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 53 | ||||
-rw-r--r-- | debian/copyright | 34 | ||||
-rw-r--r-- | debian/gbp.conf | 9 | ||||
-rw-r--r-- | debian/python-wheezy.template.postinst | 10 | ||||
-rw-r--r-- | debian/python3-wheezy.template.postinst | 10 | ||||
-rwxr-xr-x | debian/rules | 15 | ||||
-rw-r--r-- | debian/source/format | 1 |
10 files changed, 141 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..adff848 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-wheezy.template (0.1.167-1) unstable; urgency=medium + + * Initial release. + + -- Andrew Shadura <andrewsh@debian.org> Fri, 14 Oct 2016 19:26:27 +0200 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..59d96be --- /dev/null +++ b/debian/clean @@ -0,0 +1,3 @@ +src/wheezy.template.egg-info/* +src/wheezy/template/*.c +src/wheezy/template/*/*.c diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7879855 --- /dev/null +++ b/debian/control @@ -0,0 +1,53 @@ +Source: python-wheezy.template +Section: utils +Priority: optional +Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> +Uploaders: Andrew Shadura <andrewsh@debian.org> +Build-Depends: cython, + cython3, + debhelper (>= 10), + dh-python, + python-all-dev, + python-requests, + python-setuptools, + python3-all-dev, + python3-requests, + python3-setuptools +Standards-Version: 3.9.8 +Homepage: https://bitbucket.org/akorn/wheezy.template +Vcs-Git: https://git.dgit.debian.org/python-wheezy.template +Vcs-Browser: https://browse.dgit.debian.org/python-wheezy.template.git + +Package: python-wheezy.template +Architecture: any +Depends: ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Provides: ${python:Provides} +Description: a lightweight template library (Python 2 package) + wheezy.template is a lightweight template library in pure Python code. + . + * Compact, expressive, clean: minimises the number of keystrokes + required to build a template. + * Intuitive, little time to learn: requires only basic Python + programming skills plus HTML markup knowledge. + * Do not repeat yourself: master layout templates for inheritance; + include and import directives for maximum reuse. + * Fast: maximum rendering performance. + +Package: python3-wheezy.template +Architecture: any +Depends: ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Provides: ${python3:Provides} +Description: a lightweight template library (Python 3 package) + wheezy.template is a lightweight template library in pure Python 3 code. + . + * Compact, expressive, clean: minimises the number of keystrokes + required to build a template. + * Intuitive, little time to learn: requires only basic Python + programming skills plus HTML markup knowledge. + * Do not repeat yourself: master layout templates for inheritance; + include and import directives for maximum reuse. + * Fast: maximum rendering performance. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..26df852 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-wheezy.template +Upstream-Contact: Andriy Kornatskyy <andriy.kornatskyy@live.com> +Source: https://bitbucket.org/akorn/wheezy.templatec + +Files: * +Copyright: 2011-2015 Andriy Kornatskyy <andriy.kornatskyy@live.com> +License: Expat + +Files: debian/* +Copyright: 2016 Andrew Shadura <andrewsh@debian.org> +License: Expat + +License: Expat + 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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..070d851 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,9 @@ +[DEFAULT] +pristine-tar = False +# uncomment when a real repo is created +# debian-branch = debian/master +debian-tag = debian/%(version)s +# upstream-branch = upstream/latest + +[dch] +ignore-branch = True diff --git a/debian/python-wheezy.template.postinst b/debian/python-wheezy.template.postinst new file mode 100644 index 0000000..b6f6737 --- /dev/null +++ b/debian/python-wheezy.template.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] +then + update-alternatives --install /usr/bin/wheezy.template wheezy.template /usr/bin/wheezy.template-python2 200 +fi + +#DEBHELPER# diff --git a/debian/python3-wheezy.template.postinst b/debian/python3-wheezy.template.postinst new file mode 100644 index 0000000..329331f --- /dev/null +++ b/debian/python3-wheezy.template.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] +then + update-alternatives --install /usr/bin/wheezy.template wheezy.template /usr/bin/wheezy.template-python3 300 +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3133337 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=wheezy.template + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_install: + dh_auto_install + mv debian/python-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME) debian/python-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME)-python2 + mv debian/python3-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME) debian/python3-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME)-python3 + sed -i '1s,.*,#!/usr/bin/python2,' debian/python-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME)-python2 + sed -i '1s,.*,#!/usr/bin/python3,' debian/python3-$(PYBUILD_NAME)/usr/bin/$(PYBUILD_NAME)-python3 + +.PHONY: override_dh_auto_install 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) |