Added initial debian folder.

This commit is contained in:
Thomas Goirand
2013-12-28 00:03:21 +08:00
parent 305f142c87
commit 814df061c4
9 changed files with 115 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
python-django-bootstrap-form (3.1.0-1) unstable; urgency=low
* Initial release. (Closes: #730463)
-- Thomas Goirand <zigo@debian.org> Mon, 25 Nov 2013 17:44:33 +0800

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

36
debian/control vendored Normal file
View File

@@ -0,0 +1,36 @@
Source: python-django-bootstrap-form
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Julien Danjou <acid@debian.org>,
Thomas Goirand <zigo@debian.org>,
Mehdi Abaakouk <sileht@sileht.net>
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.

40
debian/copyright vendored Normal file
View File

@@ -0,0 +1,40 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: django-bootstrap-form
Upstream-Contact: tzangms <tzangms@gmail.com>
Source: http://github.com/tzangms/django-bootstrap-form
Files: debian/*
Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
License: BSD-3-clause
Files: *
Copyright: (c) 2011-2012, tzangms <tzangms@gmail.com>
(c) 2011, Matt Austin <matt.austin@thecut.net.au>
(c) 2011, Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com>
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.

9
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,9 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz
[git-buildpackage]
export-dir = ../build-area/

1
debian/python-bootstrapform.install vendored Normal file
View File

@@ -0,0 +1 @@
/usr/lib/python*

20
debian/rules vendored Executable file
View File

@@ -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

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/d/django-bootstrap-form django-bootstrap-form-(.*).tar.gz