Codebase list python-xstatic-angular-schema-form / 9ad6777
Initial package. Ivan Udovichenko 7 years ago
11 changed file(s) with 183 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-xstatic-angular-schema-form (0.8.13.0-1) unstable; urgency=medium
1
2 * Initial release. (Closes: #837815)
3 * d/rules: YUI-compressor fails to minify
4 xstatic/pkg/angular_schema_form/data/schema-form.js
5
6 -- Ivan Udovichenko <iudovichenko@mirantis.com> Thu, 15 Sep 2016 12:49:09 +0300
0 Source: python-xstatic-angular-schema-form
1 Section: python
2 Priority: optional
3 Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
4 Uploaders: Ivan Udovichenko <iudovichenko@mirantis.com>,
5 Thomas Goirand <zigo@debian.org>
6 Build-Depends: debhelper (>= 9),
7 dh-python,
8 openstack-pkg-tools (>= 52~),
9 python-all,
10 python-setuptools,
11 python3-all,
12 python3-setuptools,
13 yui-compressor,
14 Build-Conflicts: python-xstatic,
15 python3-xstatic
16 Standards-Version: 3.9.8
17 Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-xstatic-angular-schema-form.git/
18 Vcs-Git: https://anonscm.debian.org/git/openstack/python-xstatic-angular-schema-form.git
19 Homepage: http://schemaform.io/
20
21 Package: python-xstatic-angular-schema-form
22 Architecture: all
23 Depends: libjs-angularjs (>= 1.2.24),
24 libjs-angular-schema-form,
25 libjs-objectpath,
26 libjs-tv4,
27 python-xstatic,
28 ${python:Depends},
29 ${misc:Depends}
30 Description: Angular-Schema-Form (XStatic packaging standard) - Python 2.7
31 XStatic is a Python web development tool for handling required static data
32 files from external projects, such as CSS, images, and JavaScript. It provides
33 a lightweight infrastructure to manage them via Python modules that your app
34 can depend on in a portable, virtualenv-friendly way instead of using embedded
35 copies.
36 .
37 For a description of angular-schema-form, see the libjs-angular-schema-form package.
38 .
39 This package contains the Python 2.7 module.
40
41 Package: python3-xstatic-angular-schema-form
42 Architecture: all
43 Depends: libjs-angularjs (>= 1.2.24),
44 libjs-angular-schema-form,
45 libjs-objectpath,
46 libjs-tv4,
47 python3-xstatic,
48 ${python3:Depends},
49 ${misc:Depends}
50 Description: Angular-Schema-Form (XStatic packaging standard) - Python 3.x
51 XStatic is a Python web development tool for handling required static data
52 files from external projects, such as CSS, images, and JavaScript. It provides
53 a lightweight infrastructure to manage them via Python modules that your app
54 can depend on in a portable, virtualenv-friendly way instead of using embedded
55 copies.
56 .
57 For a description of angular-schema-form, see the libjs-angular-schema-form package.
58 .
59 This package contains the Python 3.x module.
60
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: XStatic-Angular-Schema-Form
2 Source: http://schemaform.io/
3
4 Files: debian/*
5 Copyright: (c) 2016, Thomas Goirand <zigo@debian.org>
6 (c) 2016, Ivan Udovichenko <iudovichenko@mirantis.com>
7 License: MIT
8
9 Files: xstatic/pkg/angular_schema_form/*
10 Copyright: (c) 2014, David Jensen <david.lgj@gmail.com>
11 (c) 2014, Textalk
12 License: MIT
13
14 Files: *
15 Copyright: (c) 2016, Rob Cresswell
16 License: MIT
17
18 License: MIT
19 Permission is hereby granted, free of charge, to any person obtaining a copy of
20 this software and associated documentation files (the "Software"), to deal in
21 the Software without restriction, including without limitation the rights to
22 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
23 the Software, and to permit persons to whom the Software is furnished to do so,
24 subject to the following conditions:
25 .
26 The above copyright notice and this permission notice shall be included in all
27 copies or substantial portions of the Software.
28 .
29 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
31 FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
32 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
33 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
34 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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-16
4
5 ---
6 xstatic/pkg/angular_schema_form/__init__.py | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/xstatic/pkg/angular_schema_form/__init__.py b/xstatic/pkg/angular_schema_form/__init__.py
10 index 5e17115..c4f0806 100644
11 --- a/xstatic/pkg/angular_schema_form/__init__.py
12 +++ b/xstatic/pkg/angular_schema_form/__init__.py
13 @@ -34,9 +34,9 @@ HOMEPAGE = 'http://schemaform.io/'
14 LICENSE = 'MIT'
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/json-schema-form/angular-schema-form.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/angular_schema_form/data/bootstrap-decorator.min.js xstatic/pkg/angular_schema_form/data/bootstrap-decorator.js
13 # yui-compressor -o xstatic/pkg/angular_schema_form/data/schema-form.min.js xstatic/pkg/angular_schema_form/data/schema-form.js
14 dh_auto_build -O--buildsystem=python_distutils
15
16 override_dh_auto_test:
17 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
18 echo "No test here"
19 endif
20
21 override_dh_clean:
22 dh_clean -O--buildsystem=python_distutils
23 rm -rf build
24
25
26 # Commands not to run
27 override_dh_installcatalogs:
28 override_dh_installemacsen override_dh_installifupdown:
29 override_dh_installinfo override_dh_installmenu override_dh_installmime:
30 override_dh_installmodules override_dh_installlogcheck:
31 override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
32 override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
33 override_dh_installcron override_dh_installdebconf:
34 override_dh_installlogrotate override_dh_installgsettings:
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-Angular-Schema-Form/XStatic-Angular-Schema-Form-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
3