Codebase list python-xstatic-tv4 / 075367e
Add initial package. Ivan Udovichenko 7 years ago
11 changed file(s) with 171 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-xstatic-tv4 (1.2.7.0-1) unstable; urgency=medium
1
2 * Initial release. (Closes: #837814)
3
4 -- Ivan Udovichenko <iudovichenko@mirantis.com> Thu, 15 Sep 2016 12:46:33 +0300
0 Source: python-xstatic-tv4
1 Section: python
2 Priority: optional
3 Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
4 Uploaders: Thomas Goirand <zigo@debian.org>
5 Build-Depends: debhelper (>= 9),
6 dh-python,
7 openstack-pkg-tools (>= 52~),
8 python-setuptools,
9 python-all,
10 python3-setuptools,
11 python3-all,
12 yui-compressor,
13 Build-Conflicts: python-xstatic,
14 python3-xstatic
15 Standards-Version: 3.9.8
16 Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-xstatic-tv4.git/
17 Vcs-Git: https://anonscm.debian.org/git/openstack/python-xstatic-tv4.git
18 Homepage: http://geraintluff.github.com/tv4/
19
20 Package: python-xstatic-tv4
21 Architecture: all
22 Depends: libjs-jquery (>= 1.8.0),
23 libjs-tv4,
24 python-xstatic,
25 ${python:Depends},
26 ${misc:Depends}
27 Description: tv4 1.2.7 (XStatic packaging standard) - Python 2.7
28 XStatic is a Python web development tool for handling required static data
29 files from external projects, such as CSS, images, and JavaScript. It provides
30 a lightweight infrastructure to manage them via Python modules that your app
31 can depend on in a portable, virtualenv-friendly way instead of using embedded
32 copies.
33 .
34 For a description of tv4, see the libjs-tv4 package.
35 .
36 This package contains the Python 2.7 module.
37
38 Package: python3-xstatic-tv4
39 Architecture: all
40 Depends: libjs-jquery (>= 1.8.0),
41 libjs-tv4,
42 python3-xstatic,
43 ${python3:Depends},
44 ${misc:Depends}
45 Description: tv4 (XStatic packaging standard) - Python 3.x
46 XStatic is a Python web development tool for handling required static data
47 files from external projects, such as CSS, images, and JavaScript. It provides
48 a lightweight infrastructure to manage them via Python modules that your app
49 can depend on in a portable, virtualenv-friendly way instead of using embedded
50 copies.
51 .
52 For a description of tv4, see the libjs-tv4 package.
53 .
54 This package contains the Python 3.x module.
55
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: XStatic-tv4
2 Source: http://geraintluff.github.com/tv4/
3
4 Files: debian/*
5 Copyright: (c) 2016, Thomas Goirand <zigo@debian.org>
6 (c) 2016, Ivan Udovichenko <iudovichenko@mirantis.com>
7 License: public-domain
8
9 Files: xstatic/pkg/tv4/data/*
10 Copyright: (c) 2013, Danial Farid <danial.farid@gmail.com>
11 License: public-domain
12
13 Files: *
14 Copyright: (c) 2013, Rob Cresswell
15 License: public-domain
16
17 License: public-domain
18 This code is released into the "public domain" by its author(s).
19 Anybody may use, alter and distribute the code without restriction.
20 The author makes no guarantees, and takes no liability of any kind
21 for use of this code.
22 .
23 If you find a bug or make an improvement, it would be courteous to
24 let the author know, but it is not compulsory.
25
0 [DEFAULT]
1 upstream-branch = master
2 debian-branch = debian/unstable
3 upstream-tag = %(version)s
4 compression = xz
5
6 [buildpackage]
7 export-dir = ../build-area/
8
0 Description: [PATCH] Debianize the package
1 Author: Ivan Udovichenko <iudovichenko@mirantis.com>
2 Forwarded: not-needed
3 Last-Update: 2016-09-15
4
5 ---
6 xstatic/pkg/tv4/__init__.py | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/xstatic/pkg/tv4/__init__.py b/xstatic/pkg/tv4/__init__.py
10 index a0af492..eaf3992 100644
11 --- a/xstatic/pkg/tv4/__init__.py
12 +++ b/xstatic/pkg/tv4/__init__.py
13 @@ -34,9 +34,9 @@ HOMEPAGE = 'http://geraintluff.github.com/tv4/'
14 LICENSE = 'https://github.com/geraintluff/tv4/blob/master/LICENSE.txt'
15
16 from os.path import join, dirname
17 -BASE_DIR = join(dirname(__file__), 'data')
18 +#BASE_DIR = join(dirname(__file__), 'data')
19 # linux package maintainers just can point to their file locations like this:
20 -#BASE_DIR = '/usr/share/javascript/angular-schema-form'
21 +BASE_DIR = '/usr/share/javascript/angular-schema-form'
22
23 LOCATIONS = {
24 # CDN locations (if no public CDN exists, use an empty dict)
25 --
26 2.1.4
27
0 Debianize-the-package.patch
0 #!/usr/bin/make -f
1
2 UPSTREAM_GIT := https://github.com/robcresswell/xstatic-tv4.git
3 -include /usr/share/openstack-pkg-tools/pkgos.make
4
5 %:
6 dh $@ --buildsystem=python_distutils --with python2,python3
7
8 override_dh_auto_install:
9 pkgos-dh_auto_install
10
11 override_dh_auto_build:
12 yui-compressor -o xstatic/pkg/tv4/data/tv4.min.js xstatic/pkg/tv4/data/tv4.js
13 dh_auto_build -O--buildsystem=python_distutils
14
15 override_dh_auto_test:
16 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
17 set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
18 python$$pyvers setup.py test ; \
19 done
20 endif
21
22
23
24 override_dh_clean:
25 dh_clean -O--buildsystem=python_distutils
26 rm -rf build
27
28
29 # Commands not to run
30 override_dh_installcatalogs:
31 override_dh_installemacsen override_dh_installifupdown:
32 override_dh_installinfo override_dh_installmenu override_dh_installmime:
33 override_dh_installmodules override_dh_installlogcheck:
34 override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
35 override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
36 override_dh_installcron override_dh_installdebconf:
37 override_dh_installlogrotate override_dh_installgsettings:
38
0 3.0 (quilt)
0 extend-diff-ignore = "^[^/]*[.]egg-info/"
0 version=3
1 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
2 https://pypi.debian.net/XStatic-tv4/XStatic-tv4-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
3