From 814df061c4a45f52b10bdb04c1e95c9a6e9380f3 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 28 Dec 2013 00:03:21 +0800 Subject: [PATCH] Added initial debian folder. --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 36 ++++++++++++++++++++++++++ debian/copyright | 40 +++++++++++++++++++++++++++++ debian/gbp.conf | 9 +++++++ debian/python-bootstrapform.install | 1 + debian/rules | 20 +++++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 9 files changed, 115 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/python-bootstrapform.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..194abfa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-django-bootstrap-form (3.1.0-1) unstable; urgency=low + + * Initial release. (Closes: #730463) + + -- Thomas Goirand Mon, 25 Nov 2013 17:44:33 +0800 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..517d67e --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: python-django-bootstrap-form +Section: python +Priority: optional +Maintainer: PKG OpenStack +Uploaders: Julien Danjou , + Thomas Goirand , + Mehdi Abaakouk +Build-Depends: debhelper (>= 9), + python-all (>= 2.6.6-3~), + python-setuptools, + python-sphinx (>= 1.0.7+dfsg) +Standards-Version: 3.9.4 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-django-bootstrap-form.git +Vcs-Git: git://anonscm.debian.org/openstack/python-django-bootstrap-form.git +Homepage: http://github.com/tzangms/django-bootstrap-form + +Package: python-bootstrapform +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${misc:Depends}, ${python:Depends} +Description: generate twitter-bootstrap form output for django form + Django bootstrap form generates twitter-bootstrap form output for django form. + A simple Django template tag to work with twitter bootstrap. + . + This package contains the Python 2.x module. + +Package: python-bootstrapform-doc +Section: doc +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Description: generate twitter-bootstrap form output for django form - doc + Django bootstrap form generates twitter-bootstrap form output for django form. + A simple Django template tag to work with twitter bootstrap. + . + This package contains the documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f749282 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: django-bootstrap-form +Upstream-Contact: tzangms +Source: http://github.com/tzangms/django-bootstrap-form + +Files: debian/* +Copyright: (c) 2013, Thomas Goirand +License: BSD-3-clause + +Files: * +Copyright: (c) 2011-2012, tzangms + (c) 2011, Matt Austin + (c) 2011, Roberto Rosario +License: BSD-3-clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification,are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. 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. + . + 3. Neither the name of django-bootstrap-form 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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..fd8ec27 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,9 @@ +[DEFAULT] +upstream-branch = master +debian-branch = debian/unstable +upstream-tag = %(version)s +compression = xz + +[git-buildpackage] +export-dir = ../build-area/ + diff --git a/debian/python-bootstrapform.install b/debian/python-bootstrapform.install new file mode 100644 index 0000000..47e0ed4 --- /dev/null +++ b/debian/python-bootstrapform.install @@ -0,0 +1 @@ +/usr/lib/python* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..db1c929 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +PYTHONS:=$(shell pyversions -vr) +#PYTHON3S:=$(shell py3versions -vr) + +UPSTREAM_GIT = git://github.com/tzangms/django-bootstrap-form.git +-include /usr/share/openstack-pkg-tools/pkgos.make + +%: + dh $@ --buildsystem=python_distutils --with python2,sphinxdoc + +#override_dh_auto_install: +# set -e && for pyvers in $(PYTHONS); do \ +# python$$pyvers setup.py install --install-layout=deb \ +# --root $(CURDIR)/debian/python-django-bootstrap-form; \ +# done + +override_dh_sphinxdoc: + PYTHONPATH=$(CURDIR) sphinx-build docs debian/python-bootstrapform-doc/usr/share/doc/python-bootstrapform-doc + dh_sphinxdoc -O--buildsystem=python_distutils 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..4f2f6a1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/d/django-bootstrap-form django-bootstrap-form-(.*).tar.gz