Codebase list python-txaio / f690ae3
Added initial debian folder. Thomas Goirand 9 years ago
12 changed file(s) with 206 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-txaio (1.0.0-1) unstable; urgency=medium
1
2 * Initial release. (Closes: #783055)
3
4 -- Thomas Goirand <zigo@debian.org> Tue, 21 Apr 2015 11:02:23 +0200
0 Source: python-txaio
1 Section: python
2 Priority: optional
3 Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
4 Uploaders: Thomas Goirand <zigo@debian.org>,
5 ,
6 Build-Depends: debhelper (>= 9),
7 dh-python,
8 python-all (>= 2.6.6-3~),
9 python-setuptools,
10 python-sphinx,
11 python3-all,
12 python3-setuptools,
13 Build-Depends-Indep: python-alabaster,
14 python-pytest,
15 python-six,
16 python-twisted,
17 python3-pytest,
18 python3-six,
19 Standards-Version: 3.9.6
20 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-txaio.git
21 Vcs-Git: git://anonscm.debian.org/openstack/python-txaio.git
22 Homepage: https://github.com/tavendo/txaio
23
24 Package: python-txaio
25 Architecture: all
26 Pre-Depends: dpkg (>= 1.15.6~),
27 Depends: python-six,
28 python-twisted,
29 ${misc:Depends},
30 ${python:Depends},
31 Suggests: python-txaio-doc,
32 Description: compatibility API between asyncio/Twisted/Trollius - Python 2.x
33 Txaio is a helper library for writing code that runs unmodified on both
34 Twisted and asyncio.
35 .
36 This is like six , but for wrapping over differences between Twisted and
37 asyncio so one can write code that runs unmodified on both (aka "source code
38 compatibility"). In other words: users can choose if they want asyncio or
39 Twisted as a dependency.
40 .
41 This package contains the Python 2.x module.
42
43 Package: python3-txaio
44 Architecture: all
45 Pre-Depends: dpkg (>= 1.15.6~),
46 Depends: python3-six,
47 ${misc:Depends},
48 ${python3:Depends},
49 Suggests: python-txaio-doc,
50 Description: compatibility API between asyncio/Twisted/Trollius - Python 3.x
51 Txaio is a helper library for writing code that runs unmodified on both
52 Twisted and asyncio.
53 .
54 This is like six , but for wrapping over differences between Twisted and
55 asyncio so one can write code that runs unmodified on both (aka "source code
56 compatibility"). In other words: users can choose if they want asyncio or
57 Twisted as a dependency.
58 .
59 This package contains the Python 3.x module.
60
61 Package: python-txaio-doc
62 Section: doc
63 Architecture: all
64 Pre-Depends: dpkg (>= 1.15.6~),
65 Depends: ${misc:Depends},
66 ${sphinxdoc:Depends},
67 Description: compatibility API between asyncio/Twisted/Trollius - doc
68 Txaio is a helper library for writing code that runs unmodified on both
69 Twisted and asyncio.
70 .
71 This is like six , but for wrapping over differences between Twisted and
72 asyncio so one can write code that runs unmodified on both (aka "source code
73 compatibility"). In other words: users can choose if they want asyncio or
74 Twisted as a dependency.
75 .
76 This package contains the documentation.
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: txaio
2 Source: https://github.com/tavendo/txaio
3
4 Files: debian/*
5 Copyright: (c) 2015, Thomas Goirand <zigo@debian.org>
6 License: Expat
7
8 Files: *
9 Copyright: (c) 2015, Tavendo GmbH <autobahnws@googlegroups.com>
10 License: Expat
11
12 License: Expat
13 Permission is hereby granted, free of charge, to any person obtaining a copy
14 of this software and associated documentation files (the "Software"), to deal
15 in the Software without restriction, including without limitation the rights
16 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17 copies of the Software, and to permit persons to whom the Software is
18 furnished to do so, subject to the following conditions:
19 .
20 The above copyright notice and this permission notice shall be included in
21 all copies or substantial portions of the Software.
22 .
23 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29 THE SOFTWARE.
0 [DEFAULT]
1 upstream-branch = master
2 debian-branch = debian/unstable
3 upstream-tag = %(version)s
4 compression = xz
5
6 [git-buildpackage]
7 export-dir = ../build-area/
8
0 Description: Do not use alabaster theme
1 This theme is not in Debian, and there's not enough time to maintain it.
2 So I'm just disabling it.
3 Author: Thomas Goirand <zigo@debian.org>
4 Forwarded: not-needed
5 Last-Update: 2015-04-21
6
7 --- python-txaio-1.0.0.orig/doc/conf.py
8 +++ python-txaio-1.0.0/doc/conf.py
9 @@ -119,7 +119,7 @@ todo_include_todos = False
10
11 # The theme to use for HTML and HTML Help pages. See the documentation for
12 # a list of builtin themes.
13 -html_theme = 'alabaster'
14 +#html_theme = 'alabaster'
15
16 # Theme options are theme-specific and customize the look and feel of a theme
17 # further. For a list of options available for each theme, see the
0 do-not-use-alabaster-theme.patch
0 Document: python-txaio-doc
1 Title: txaio Documentation
2 Author: N/A
3 Abstract: Sphinx documentation for txaio
4 Section: Programming/Python
5
6 Format: HTML
7 Index: /usr/share/doc/python-txaio-doc/html/index.html
8 Files: /usr/share/doc/python-txaio-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/<please-user>/txaio.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_install:
12 set -e ; for pyvers in $(PYTHONS); do \
13 python$$pyvers setup.py install --install-layout=deb \
14 --root $(CURDIR)/debian/python-txaio; \
15 done
16 set -e ; for pyvers in $(PYTHON3S); do \
17 python$$pyvers setup.py install --install-layout=deb \
18 --root $(CURDIR)/debian/python3-txaio; \
19 done
20 rm -rf $(CURDIR)/debian/python*-txaio/usr/lib/python*/dist-packages/*.pth
21
22 override_dh_auto_test:
23 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
24 # set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
25 # python$$pyvers setup.py test ; \
26 # done
27 PYTHONPATH=. py.test-2.7
28 PYTHONPATH=. py.test-3.4
29 endif
30
31 override_dh_sphinxdoc:
32 PYTHONPATH=. sphinx-build -b html doc debian/python-txaio-doc/usr/share/doc/python-txaio-doc/html
33 dh_sphinxdoc -O--buildsystem=python_distutils
34
35
36 override_dh_clean:
37 dh_clean -O--buildsystem=python_distutils
38 rm -rf build
39
40
41 # Commands not to run
42 override_dh_installcatalogs:
43 override_dh_installemacsen override_dh_installifupdown:
44 override_dh_installinfo override_dh_installmenu override_dh_installmime:
45 override_dh_installmodules override_dh_installlogcheck:
46 override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
47 override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
48 override_dh_installcron override_dh_installdebconf:
49 override_dh_installlogrotate override_dh_installgsettings:
50
0 3.0 (quilt)
0 extend-diff-ignore = "^[^/]*[.]egg-info/"
0 version=3
1 http://pypi.python.org/packages/source/t/txaio txaio-(.*).tar.gz
2