diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..52371d714c6d6e47bb71035dbe1e21cf1b35d8cc --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-xstatic-jquery.bootstrap.wizard (1.0.0.1-1) unstable; urgency=medium + + * Initial release (Closes: #761383). + + -- Thomas Goirand Sat, 06 Sep 2014 17:49:46 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..f7b1ecea7d4dc0dec1c23b9d83ce6053ebf52391 --- /dev/null +++ b/debian/control @@ -0,0 +1,51 @@ +Source: python-xstatic-jquery.bootstrap.wizard +Section: python +Priority: optional +Maintainer: PKG OpenStack +Uploaders: Thomas Goirand +Build-Depends: debhelper (>= 9), + python-all (>= 2.6.6-3~), + python-setuptools, + python3-all, + python3-setuptools +Build-Conflicts: python-xstatis, python3-xstatic +Standards-Version: 3.9.5 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-xstatic-jquery.bootstrap.wizard.git +Vcs-Git: git://anonscm.debian.org/openstack/python-xstatic-jquery.bootstrap.wizard.git +Homepage: https://github.com/stackforge/XStatic-JQuery.Bootstrap.Wizard + +Package: python-xstatic-jquery.bootstrap.wizard +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: libjs-twitter-bootstrap-wizard, + python-xstatic, + ${misc:Depends}, + ${python:Depends} +Description: JQuery.Bootstrap.Wizard 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 Python 2.x module XStatic support for + JQuery.Bootstrap.Wizard See the libjs-twitter-bootstrap-wizard package for + more information. + +Package: python3-xstatic-jquery.bootstrap.wizard +Architecture: all +Pre-Depends: dpkg (>= 1.15.6~) +Depends: libjs-twitter-bootstrap-wizard, + python3-xstatic, + ${misc:Depends}, + ${python3:Depends} +Description: JQuery.Bootstrap.Wizard 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 Python 3.x module XStatic support for + JQuery.Bootstrap.Wizard See the libjs-twitter-bootstrap-wizard package for + more information. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..860b7ad8bf4344f8995e30247090e86e75622709 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,52 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: XStatic-JQuery.Bootstrap.Wizard +Upstream-Contact: Radomir Dopieralski +Source: https://github.com/stackforge/XStatic-JQuery.Bootstrap.Wizard + +Files: debian/* +Copyright: (c) 2014, Thomas Goirand +License: Expat or GPL-3 + +Files: * +Copyright: (c) 2013, Radomir Dopieralski + (c) 2013, Vadim Vincent Gabriel + (c) 2013, Jason Gill (www.gilluminate.com) +License: Expat or GPL-3 +Comment: + Original source for jquery-bootstrap-wizard may be found at: + http://github.com/VinceG/twitter-bootstrap-wizard + +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. + +License: GPL-3 + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 3 of the License. + . + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General Public License v3 + (GPL) can be found in /usr/share/common-licenses/GPL-3. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000000000000000000000000000000000000..fd8ec27ce7cd4a296580434d0451af55ccb3071e --- /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/patches/debianize.patch b/debian/patches/debianize.patch new file mode 100644 index 0000000000000000000000000000000000000000..4719e4379eb89d7985167c57b48738ec52475710 --- /dev/null +++ b/debian/patches/debianize.patch @@ -0,0 +1,20 @@ +Description: Debianize + Use files from libjs-twitter-bootstrap-wizard +Author: Thomas Goirand +Forwarded: not-needed +Last-Update: 2014-09-15 + +--- python-xstatic-jquery.bootstrap.wizard-1.0.0.1.orig/xstatic/pkg/jquery_bootstrap_wizard/__init__.py ++++ python-xstatic-jquery.bootstrap.wizard-1.0.0.1/xstatic/pkg/jquery_bootstrap_wizard/__init__.py +@@ -34,9 +34,9 @@ HOMEPAGE = 'http://github.com/VinceG/twi + LICENSE = '(same as %s)' % DISPLAY_NAME + + from os.path import join, dirname +-BASE_DIR = join(dirname(__file__), 'data') ++#BASE_DIR = join(dirname(__file__), 'data') + # linux package maintainers just can point to their file locations like this: +-#BASE_DIR = '/usr/share/javascript/jquery_bootstrap_wizard' ++BASE_DIR = '/usr/share/javascript/jquery-bootstrap-wizard' + + LOCATIONS = { + # CDN locations (if no public CDN exists, use an empty dict) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000000000000000000000000000000000..e90ef42a8801017fb1006f61be5cdfbfe3d0dac6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debianize.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..a803e98be57023689a1f3123909193f72d11135c --- /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-JQuery.Bootstrap.Wizard.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-jquery.bootstrap.wizard; \ + done + set -e && for pyvers in $(PYTHON3S); do \ + python$$pyvers setup.py install --install-layout=deb \ + --root $(CURDIR)/debian/python3-xstatic-jquery.bootstrap.wizard; \ + done + rm -rf $(CURDIR)/debian/python*-xstatic-jquery.bootstrap.wizard/usr/lib/python*/dist-packages/xstatic/pkg/jquery_bootstrap_wizard/data + rm -rf $(CURDIR)/debian/python*-xstatic-jquery.bootstrap.wizard/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 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /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 0000000000000000000000000000000000000000..cb61fa5267b6ad8b3bbc2a612754b79dae466292 --- /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 0000000000000000000000000000000000000000..2b10c1daecab4c2726440ddcbf487aaf2f48ef8e --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pypi.python.org/packages/source/X/XStatic-JQuery.Bootstrap.Wizard XStatic-JQuery.Bootstrap.Wizard-(.*).tar.gz +