Codebase list python-castellan / bc78e73
Added initial Debian folder. Thomas Goirand 8 years ago
10 changed file(s) with 220 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-castellan (0.2.0-1) unstable; urgency=medium
1
2 * Initial release. (Closes: #XXXXXX)
3
4 -- Thomas Goirand <zigo@debian.org> Tue, 08 Sep 2015 22:29:18 +0200
0 Source: python-castellan
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 python-all,
8 python-pbr (>= 1.6),
9 python-setuptools,
10 python-sphinx,
11 python3-all,
12 python3-pbr (>= 1.6),
13 python3-setuptools,
14 Build-Depends-Indep: python-babel,
15 python-barbicanclient (>= 3.3.0),
16 python-cryptography (>= 1.0),
17 python-hacking (>= 0.10),
18 python-oslo.config (>= 2.3.0),
19 python-oslo.context (>= 0.2.0),
20 python-oslo.log (>= 1.8.0),
21 python-oslo.policy (>= 0.5.0),
22 python-oslo.serialization (>= 1.4.0),
23 python-oslo.utils (>= 2.0.0),
24 python-oslosphinx (>= 2.5.0),
25 python-oslotest (>= 1.10.0),
26 python-testscenarios,
27 python-testtools (>= 1.4.0),
28 python3-babel,
29 python3-barbicanclient (>= 3.3.0),
30 python3-cryptography (>= 1.0),
31 python3-oslo.config (>= 2.3.0),
32 python3-oslo.context (>= 0.2.0),
33 python3-oslo.log (>= 1.8.0),
34 python3-oslo.policy (>= 0.5.0),
35 python3-oslo.serialization (>= 1.4.0),
36 python3-oslo.utils (>= 2.0.0),
37 python3-oslotest (>= 1.10.0),
38 python3-subunit,
39 python3-testscenarios,
40 python3-testtools (>= 1.4.0),
41 subunit,
42 testrepository,
43 Standards-Version: 3.9.6
44 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-castellan.git
45 Vcs-Git: git://anonscm.debian.org/openstack/python-castellan.git
46 Homepage: http://www.openstack.org/
47
48 Package: python-castellan
49 Architecture: all
50 Depends: python-babel,
51 python-cryptography (>= 1.0),
52 python-oslo.config (>= 2.3.0),
53 python-oslo.context (>= 0.2.0),
54 python-oslo.log (>= 1.8.0),
55 python-oslo.policy (>= 0.3.1),
56 python-oslo.serialization (>= 1.4.0),
57 python-oslo.utils (>= 2.0.0),
58 python-pbr,
59 ${misc:Depends},
60 ${python:Depends},
61 Suggests: python-castellan-doc,
62 Description: generic key manager interface for OpenStack - Python 2.x
63 The Castellan module provides a generic key manager interface so that
64 OpenStack projects can use Barbican, but also have the flexibilty to choose an
65 alternative Key Manager as needed. This is helpful during development, for
66 example, where a simple implementation of the Key Manager Interface can be
67 used instead of having to spin up a Barbican instance.
68 .
69 This package contains the Python 2.x module.
70
71 Package: python3-castellan
72 Architecture: all
73 Depends: python3-babel,
74 python3-cryptography (>= 1.0),
75 python3-oslo.config (>= 2.3.0),
76 python3-oslo.context (>= 0.2.0),
77 python3-oslo.log (>= 1.8.0),
78 python3-oslo.policy (>= 0.3.1),
79 python3-oslo.serialization (>= 1.4.0),
80 python3-oslo.utils (>= 2.0.0),
81 python3-pbr,
82 ${misc:Depends},
83 ${python3:Depends},
84 Suggests: python-castellan-doc,
85 Description: generic key manager interface for OpenStack - Python 3.x
86 The Castellan module provides a generic key manager interface so that
87 OpenStack projects can use Barbican, but also have the flexibilty to choose an
88 alternative Key Manager as needed. This is helpful during development, for
89 example, where a simple implementation of the Key Manager Interface can be
90 used instead of having to spin up a Barbican instance.
91 .
92 This package contains the Python 3.x module.
93
94 Package: python-castellan-doc
95 Section: doc
96 Architecture: all
97 Depends: ${misc:Depends},
98 ${sphinxdoc:Depends},
99 Description: generic key manager interface for OpenStack - doc
100 The Castellan module provides a generic key manager interface so that
101 OpenStack projects can use Barbican, but also have the flexibilty to choose an
102 alternative Key Manager as needed. This is helpful during development, for
103 example, where a simple implementation of the Key Manager Interface can be
104 used instead of having to spin up a Barbican instance.
105 .
106 This package contains the documentation.
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: castellan
2 Source: http://www.openstack.org/
3
4 Files: debian/*
5 Copyright: (c) 2015, Thomas Goirand <zigo@debian.org>
6 License: Apache-2
7
8 Files: *
9 Copyright: (c) 2015, OpenStack Foundation <openstack-dev@lists.openstack.org>
10 License: Apache-2
11
12 License: Apache-2
13 Licensed under the Apache License, Version 2.0 (the "License");
14 you may not use this file except in compliance with the License.
15 You may obtain a copy of the License at
16 .
17 http://www.apache.org/licenses/LICENSE-2.0
18 .
19 Unless required by applicable law or agreed to in writing, software
20 distributed under the License is distributed on an "AS IS" BASIS,
21 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 See the License for the specific language governing permissions and
23 limitations under the License.
24 .
25 On Debian-based systems the full text of the Apache version 2.0 license
26 can be found in /usr/share/common-licenses/Apache-2.0.
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 Document: python-castellan-doc
1 Title: castellan Documentation
2 Author: N/A
3 Abstract: Sphinx documentation for castellan
4 Section: Programming/Python
5
6 Format: HTML
7 Index: /usr/share/doc/python-castellan-doc/html/index.html
8 Files: /usr/share/doc/python-castellan-doc/html/*
0 #!/usr/bin/make -f
1
2 PYTHONS:=$(shell pyversions -vr)
3 PYTHON3S:=$(shell py3versions -vr)
4
5 UPSTREAM_GIT = git://github.com/openstack/castellan.git
6 -include /usr/share/openstack-pkg-tools/pkgos.make
7
8 %:
9 dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
10
11 override_dh_auto_install:
12 set -e ; for pyvers in $(PYTHONS); do \
13 python$$pyvers setup.py install --install-layout=deb \
14 --root $(CURDIR)/debian/python-castellan; \
15 done
16 set -e ; for pyvers in $(PYTHON3S); do \
17 python$$pyvers setup.py install --install-layout=deb \
18 --root $(CURDIR)/debian/python3-castellan; \
19 done
20 rm -rf $(CURDIR)/debian/python*-castellan/usr/lib/python*/dist-packages/*.pth
21
22 override_dh_auto_test:
23 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
24 @echo "===> Running tests"
25 set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \
26 PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
27 echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
28 rm -rf .testrepository ; \
29 testr-python$$PYMAJOR init ; \
30 TEMP_REZ=`mktemp -t` ; \
31 PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
32 cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
33 rm -f $$TEMP_REZ ; \
34 testr-python$$PYMAJOR slowest ; \
35 done
36 endif
37
38
39 override_dh_sphinxdoc:
40 sphinx-build -b html doc/source debian/python-castellan-doc/usr/share/doc/python-castellan-doc/html
41 dh_sphinxdoc -O--buildsystem=python_distutils
42
43
44 override_dh_clean:
45 dh_clean -O--buildsystem=python_distutils
46 rm -rf build
47
48 # Commands not to run
49 override_dh_installcatalogs:
50 override_dh_installemacsen override_dh_installifupdown:
51 override_dh_installinfo override_dh_installmenu override_dh_installmime:
52 override_dh_installmodules override_dh_installlogcheck:
53 override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
54 override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
55 override_dh_installcron override_dh_installdebconf:
56 override_dh_installlogrotate override_dh_installgsettings:
0 3.0 (quilt)
0 extend-diff-ignore = "^[^/]*[.]egg-info/"
0 version=3
1 http://pypi.python.org/packages/source/c/castellan castellan-(.*).tar.gz
2