From caa847a9e012d502248237182a24664bf6258cc4 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 11 Feb 2015 14:41:46 +0100 Subject: [PATCH] Intial debian package. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 38 ++++++++++++++++++++++++++++++++++++++ debian/copyright | 34 ++++++++++++++++++++++++++++++++++ debian/gbp.conf | 9 +++++++++ debian/rules | 36 ++++++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/source/options | 1 + debian/watch | 3 +++ 9 files changed, 128 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 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..be802ad --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-xstatic-angular-bootstrap (0.11.0.2-1) unstable; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- Thomas Goirand Wed, 11 Feb 2015 14:30:58 +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..09409e3 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: python-xstatic-angular-bootstrap +Section: python +Priority: optional +Maintainer: PKG OpenStack +Uploaders: Thomas Goirand +Build-Depends: debhelper (>= 9), dh-python, python-setuptools, python-all (>= 2.6.6-3~), python3-setuptools, python3-all +Standards-Version: 3.9.6 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-xstatic-angular-bootstrap.git +Vcs-Git: git://anonscm.debian.org/openstack/python-xstatic-angular-bootstrap.git +Homepage: https://pypi.python.org/pypi/XStatic-Angular-Bootstrap + +Package: python-xstatic-angular-bootstrap +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${python:Depends}, ${misc:Depends} +Suggests: python-xstatic-angular-bootstrap-doc +Description: Angular-Bootstrap XStatic support - Python 2.x + XStatic is a Python web development tool for handling required static data + files from external projects, such as CSS, images, and JavaScript. It provides + a lightweight infrastructure to manage them via Python modules that your app + can depend on in a portable, virtualenv-friendly way instead of using embedded + copies. + . + This package contains the Angular-Bootstrap support as a Python 2.x module. + +Package: python3-xstatic-angular-bootstrap +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${python3:Depends}, ${misc:Depends} +Suggests: python-xstatic-angular-bootstrap-doc +Description: Angular-Bootstrap XStatic support - Python 3.x + XStatic is a Python web development tool for handling required static data + files from external projects, such as CSS, images, and JavaScript. It provides + a lightweight infrastructure to manage them via Python modules that your app + can depend on in a portable, virtualenv-friendly way instead of using embedded + copies. + . + This package contains the Angular-Bootstrap support as a Python 3.x module. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..febfa6a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: XStatic-Angular-Bootstrap +Source: https://github.com/stackforge/xstatic-angular-bootstrap + +Files: debian/* +Copyright: (c) 2014, Thomas Goirand +License: Expat + +Files: xstatic/pkg/angular_bootstrap/data/angular-bootstrap.js +Copyright: (c) Google INC. +License: Expat + +Files: * +Copyright: (c) 2013, Maxime Vidori +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..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/rules b/debian/rules new file mode 100755 index 0000000..7474d00 --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +PYTHONS:=$(shell pyversions -vr) +PYTHON3S:=$(shell py3versions -vr) + +UPSTREAM_GIT = git://github.com/stackforge/xstatic-angular-bootstrap.git +-include /usr/share/openstack-pkg-tools/pkgos.make + +%: + dh $@ --buildsystem=python_distutils --with python2,python3 + +override_dh_install: + set -e ; for pyvers in $(PYTHONS); do \ + python$$pyvers setup.py install --install-layout=deb \ + --root $(CURDIR)/debian/python-xstatic-angular-bootstrap; \ + done + set -e ; for pyvers in $(PYTHON3S); do \ + python$$pyvers setup.py install --install-layout=deb \ + --root $(CURDIR)/debian/python3-xstatic-angular-bootstrap; \ + done + rm -rf $(CURDIR)/debian/python*-xstatic-angular-bootstrap/usr/lib/python*/dist-packages/*.pth + +override_dh_clean: + dh_clean -O--buildsystem=python_distutils + rm -rf build + +# Commands not to run +override_dh_installcatalogs: +override_dh_installemacsen override_dh_installifupdown: +override_dh_installinfo override_dh_installmenu override_dh_installmime: +override_dh_installmodules override_dh_installlogcheck: +override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm: +override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal: +override_dh_installcron override_dh_installdebconf: +override_dh_installlogrotate override_dh_installgsettings: + 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..cb61fa5 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d24208c --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pypi.python.org/packages/source/X/XStatic-Angular-Bootstrap XStatic-Angular-Bootstrap-(.*).tar.gz +