Added initial debian folder.
This commit is contained in:
parent
92f4907cb9
commit
90e5e771c5
|
@ -0,0 +1,5 @@
|
||||||
|
python-xstatic-bootstrap-datepicker (0.0.0.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release. (Closes: #757824)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Mon, 11 Aug 2014 23:52:07 +0800
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,77 @@
|
||||||
|
Source: python-xstatic-bootstrap-datepicker
|
||||||
|
Section: python
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
|
Uploaders: Thomas Goirand <zigo@debian.org>
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
python-all (>= 2.6.6-3~),
|
||||||
|
python-setuptools,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools
|
||||||
|
Build-Conflicts: python-xstatic, python3-xstatic
|
||||||
|
Standards-Version: 3.9.5
|
||||||
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-xstatic-bootstrap-datepicker.git
|
||||||
|
Vcs-Git: git://anonscm.debian.org/openstack/python-xstatic-bootstrap-datepicker.git
|
||||||
|
Homepage: https://bitbucket.org/thesheep/xstatic-bootstrap-datepicker
|
||||||
|
|
||||||
|
Package: python-xstatic-bootstrap-datepicker
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: libjs-twitter-bootstrap-datepicker,
|
||||||
|
python-xstatic,
|
||||||
|
${misc:Depends},
|
||||||
|
${python:Depends}
|
||||||
|
Description: Bootstrap-Datepicker XStatic support - Python 2.x
|
||||||
|
XStatic is a packaging standard to package external (often 3rd party) static
|
||||||
|
files as a Python package, so they are easily usable on all operating systems,
|
||||||
|
with any package management system or even without one.
|
||||||
|
.
|
||||||
|
Many Python projects need to use some specific data files, like javascript,
|
||||||
|
css, java applets, images, etc. Sometimes these files belong to YOUR project
|
||||||
|
(then you may want to package them separately, but you could also just put
|
||||||
|
them into your main package). But in many other cases, those files are
|
||||||
|
maintained by someone else (like jQuery javascript library or even much bigger
|
||||||
|
js libraries or applications) and you definitely do not really want to merge
|
||||||
|
them into your project. So, you want to have static file packages, but you
|
||||||
|
don’t want to get lots of stuff you do not want. Thus, stuff required by
|
||||||
|
XStatic file packages (especially the main, toplevel XStatic package) tries to
|
||||||
|
obey to be a MINIMAL, no-fat thing. XStatic doesn't "sell" any web framework
|
||||||
|
or other stuff you don't want. Maybe there will be optional XStatic extensions
|
||||||
|
for all sorts of stuff, but they won't be required if you just want the files.
|
||||||
|
.
|
||||||
|
By having static files in packages, it is also easier to build virtual envs,
|
||||||
|
support linux/bsd/... distribution package maintainers and even windows
|
||||||
|
installs using the same mechanism.
|
||||||
|
.
|
||||||
|
This package provides Bootstrap-Datepicker support as a Python 2.x module.
|
||||||
|
|
||||||
|
Package: python3-xstatic-bootstrap-datepicker
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: libjs-twitter-bootstrap-datepicker,
|
||||||
|
python3-xstatic,
|
||||||
|
${misc:Depends},
|
||||||
|
${python3:Depends}
|
||||||
|
Description: Bootstrap-Datepicker XStatic support - Python 3.x
|
||||||
|
XStatic is a packaging standard to package external (often 3rd party) static
|
||||||
|
files as a Python package, so they are easily usable on all operating systems,
|
||||||
|
with any package management system or even without one.
|
||||||
|
.
|
||||||
|
Many Python projects need to use some specific data files, like javascript,
|
||||||
|
css, java applets, images, etc. Sometimes these files belong to YOUR project
|
||||||
|
(then you may want to package them separately, but you could also just put
|
||||||
|
them into your main package). But in many other cases, those files are
|
||||||
|
maintained by someone else (like jQuery javascript library or even much bigger
|
||||||
|
js libraries or applications) and you definitely do not really want to merge
|
||||||
|
them into your project. So, you want to have static file packages, but you
|
||||||
|
don’t want to get lots of stuff you do not want. Thus, stuff required by
|
||||||
|
XStatic file packages (especially the main, toplevel XStatic package) tries to
|
||||||
|
obey to be a MINIMAL, no-fat thing. XStatic doesn't "sell" any web framework
|
||||||
|
or other stuff you don't want. Maybe there will be optional XStatic extensions
|
||||||
|
for all sorts of stuff, but they won't be required if you just want the files.
|
||||||
|
.
|
||||||
|
By having static files in packages, it is also easier to build virtual envs,
|
||||||
|
support linux/bsd/... distribution package maintainers and even windows
|
||||||
|
installs using the same mechanism.
|
||||||
|
.
|
||||||
|
This package provides Bootstrap-Datepicker support as a Python 3.x module.
|
|
@ -0,0 +1,27 @@
|
||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: XStatic-Bootstrap-Datepicker
|
||||||
|
Source: https://bitbucket.org/thesheep/xstatic-bootstrap-datepicker.git
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013, Radomir Dopieralski <openstack@sheep.art.pl>
|
||||||
|
License: Apache-2
|
||||||
|
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in /usr/share/common-licenses/Apache-2.0.
|
|
@ -0,0 +1,9 @@
|
||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = master
|
||||||
|
debian-branch = debian/unstable
|
||||||
|
upstream-tag = %(version)s
|
||||||
|
compression = xz
|
||||||
|
|
||||||
|
[git-buildpackage]
|
||||||
|
export-dir = ../build-area/
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
|
UPSTREAM_GIT = https://bitbucket.org/thesheep/xstatic-bootstrap-datepicker.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-bootstrap-datepicker; \
|
||||||
|
done
|
||||||
|
set -e && for pyvers in $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python3-xstatic-bootstrap-datepicker; \
|
||||||
|
done
|
||||||
|
rm -rf $(CURDIR)/debian/python*-xstatic-bootstrap-datepicker/usr/lib/python*/dist-packages/xstatic/pkg/bootstrap_datepicker/data/*
|
||||||
|
for i in $(CURDIR)/debian/python*-xstatic-bootstrap-datepicker/usr/lib/python*/dist-packages/xstatic/pkg/bootstrap_datepicker/data ; do \
|
||||||
|
ln -s ../../../../../../../share/twitter-bootstrap/files/js/bootstrap-datepicker.js $$i/bootstrap-datepicker.js ; \
|
||||||
|
ln -s ../../../../../../../share/twitter-bootstrap/files/less/datepicker.less $$i/datepicker.less ; \
|
||||||
|
done
|
||||||
|
rm -rf $(CURDIR)/debian/python*-xstatic-bootstrap-datepicker/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:
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
|
@ -0,0 +1 @@
|
||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
|
@ -0,0 +1,3 @@
|
||||||
|
version=3
|
||||||
|
http://pypi.python.org/packages/source/X/XStatic-Bootstrap-Datepicker XStatic-Bootstrap-Datepicker-(.*).tar.gz
|
||||||
|
|
Loading…
Reference in New Issue