Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenStack
xstatic
python-xstatic-jquery.tablesorter
Commits
b3740bb8
Commit
b3740bb8
authored
Apr 02, 2018
by
Thomas Goirand
Browse files
* Add missing dh-python build-depends.
* Removed Python 2 support. * Fixed long desc. * Standards-Version is now 4.1.3.
parent
720d6248
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
b3740bb8
python-xstatic-jquery.tablesorter (2.14.5.1-3) UNRELEASED; urgency=medium
python-xstatic-jquery.tablesorter (2.14.5.1-3
.1
) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* d/control: Set Vcs-* to salsa.debian.org
...
...
@@ -12,7 +12,13 @@ python-xstatic-jquery.tablesorter (2.14.5.1-3) UNRELEASED; urgency=medium
* Removing gbp.conf, not used anymore or should be specified in the
developers dotfiles.
-- Ondřej Nový <novy@ondrej.org> Sun, 28 Feb 2016 15:54:38 +0100
[ Thomas Goirand ]
* Add missing dh-python build-depends.
* Removed Python 2 support.
* Fixed long desc.
* Standards-Version is now 4.1.3.
-- Thomas Goirand <zigo@debian.org> Mon, 02 Apr 2018 15:13:30 +0200
python-xstatic-jquery.tablesorter (2.14.5.1-2) unstable; urgency=medium
...
...
debian/control
View file @
b3740bb8
...
...
@@ -6,49 +6,17 @@ Uploaders:
Thomas Goirand <zigo@debian.org>,
Build-Depends:
debhelper (>= 9),
python
-all (>= 2.6.6-3~)
,
python-setuptools
,
dh-
python,
openstack-pkg-tools (>= 75~)
,
python3-all,
python3-setuptools,
Build-Conflicts:
python-xstatic,
python3-xstatic,
Standards-Version: 4.1.
0
Standards-Version: 4.1.
3
Vcs-Browser: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-jquery.tablesorter
Vcs-Git: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-jquery.tablesorter.git
Homepage: https://github.com/stackforge/xstatic-jquery.tablesorter
Package: python-xstatic-jquery.tablesorter
Architecture: all
Depends:
libjs-jquery-tablesorter (>= 2.14.5),
python-xstatic,
${misc:Depends},
${python:Depends},
Description: JQuery Tablesorter 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 JQuery Tablesorter support as a Python 2.x module.
Package: python3-xstatic-jquery.tablesorter
Architecture: all
Depends:
...
...
@@ -57,25 +25,10 @@ Depends:
${misc:Depends},
${python3:Depends},
Description: JQuery Tablesorter 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.
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 provides JQuery Tablesorter support as a Python 3.x module.
debian/rules
View file @
b3740bb8
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
UPSTREAM_GIT := https://github.com/openstack/xstatic-jquery.tablesorter.git
-
include /usr/share/openstack-pkg-tools/pkgos.make
include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2,python3
dh $@ --buildsystem=python_distutils --with python3
override_dh_auto_clean:
echo "Do nothing..."
override_dh_auto_build:
echo "Do nothing..."
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-xstatic-jquery.tablesorter; \
done
set -e && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-xstatic-jquery.tablesorter; \
done
rm -rf $(CURDIR)/debian/python*-xstatic-jquery.tablesorter/usr/lib/python*/dist-packages/xstatic/pkg/jquery_tablesorter/data/
rm -rf $(CURDIR)/debian/python*-xstatic-jquery.tablesorter/usr/lib/python*/dist-packages/*.pth
override_dh_auto_install:
pkgos-dh_auto_install --no-py2
rm -rf $(CURDIR)/debian/python3-xstatic-jquery.tablesorter/usr/lib/python3/dist-packages/xstatic/pkg/jquery_tablesorter/data/
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment