Merge lp:~coreygoldberg/python-keystoneclient/py3-packaging-keystoneclient into lp:~ubuntu-server-dev/python-keystoneclient/juno

Proposed by Corey Goldberg
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~coreygoldberg/python-keystoneclient/py3-packaging-keystoneclient
Merge into: lp:~ubuntu-server-dev/python-keystoneclient/juno
Diff against target: 118 lines (+55/-3)
6 files modified
debian/control (+47/-2)
debian/keystoneclient-bin.install (+1/-0)
debian/py3dist-overrides (+1/-0)
debian/python-keystoneclient.install (+1/-0)
debian/python3-keystoneclient.install (+1/-0)
debian/rules (+4/-1)
To merge this branch: bzr merge lp:~coreygoldberg/python-keystoneclient/py3-packaging-keystoneclient
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+234512@code.launchpad.net

Commit message

packaging for python3-keystoneclient

Description of the change

packaging for python3-keystoneclient.

To post a comment you must log in.
96. By Corey Goldberg

updated build rules for py3

97. By Corey Goldberg

packaging fix

98. By Corey Goldberg

added .install files for packaging

99. By Corey Goldberg

fix packaging .install files

100. By Corey Goldberg

packaging fix

101. By Corey Goldberg

another packaging fix

102. By Corey Goldberg

packaging fix

103. By Corey Goldberg

packaging fix

104. By Corey Goldberg

packaging fix

105. By Corey Goldberg

added py3dist-overrides

106. By Corey Goldberg

create new bin package keystoneclient-bin

107. By Corey Goldberg

added .install for packaging

Revision history for this message
Martin Pitt (pitti) wrote :

python3-keystoneclient is in wily, so this was done already

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-04-22 15:26:52 +0000
3+++ debian/control 2014-09-30 17:49:11 +0000
4@@ -12,6 +12,7 @@
5 python-keyring,
6 python-httpretty,
7 python-iso8601,
8+ python-lxml,
9 python-oslo.config,
10 python-mock,
11 python-mox3,
12@@ -23,8 +24,31 @@
13 python-six,
14 python-testtools,
15 python-webob,
16+ python3-all (>= 3.4),
17+ python3-babel,
18+ python3-coverage,
19+ python3-crypto,
20+ python3-pbr,
21+ python3-fixtures,
22+ python3-keyring,
23+ python3-httpretty,
24+ python3-iso8601,
25+ python3-oslo.config,
26+ python3-lxml,
27+ python3-mock,
28+ python3-mox3,
29+ python3-netaddr,
30+ python3-prettytable,
31+ python3-requests (>= 1.1.0),
32+ python3-setuptools,
33+ python3-simplejson,
34+ python3-six,
35+ python3-testtools,
36+ python3-webob,
37 testrepository
38 Standards-Version: 3.9.4
39+X-Python-Version: >= 2.7
40+X-Python3-Version: >= 3.4
41 Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/python-keystoneclient/juno/files
42 Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/python-keystoneclient/juno
43 XS-Testsuite: autopkgtest
44@@ -36,6 +60,27 @@
45 python-requests (>= 1.1.0),
46 ${misc:Depends},
47 ${python:Depends}
48+Description: Client library for OpenStack Identity API.
49+ .
50+ This is the Python 2 version.
51+
52+Package: python3-keystoneclient
53+Architecture: all
54+Depends: python3-iso8601,
55+ python3-pkg-resources,
56+ python3-requests (>= 1.1.0),
57+ ${misc:Depends},
58+ ${python3:Depends}
59+Description: Client library for OpenStack Identity API.
60+ .
61+ This is the Python 3 version.
62+
63+Package: keystoneclient-bin
64+Architecture: all
65+Depends: python3-iso8601,
66+ python3-pkg-resources,
67+ python3-requests (>= 1.1.0),
68+ ${misc:Depends},
69+ ${python3:Depends}
70 Description: Client library for OpenStack Identity API
71- This is a client for the OpenStack Identity API. There's a Python API
72- (the ``keystoneclient`` module), and a command-line script (``keystone``).
73+ Provides the command-line script ``keystone``.
74
75=== added file 'debian/keystoneclient-bin.install'
76--- debian/keystoneclient-bin.install 1970-01-01 00:00:00 +0000
77+++ debian/keystoneclient-bin.install 2014-09-30 17:49:11 +0000
78@@ -0,0 +1,1 @@
79+usr/bin/keystone
80
81=== added file 'debian/py3dist-overrides'
82--- debian/py3dist-overrides 1970-01-01 00:00:00 +0000
83+++ debian/py3dist-overrides 2014-09-30 17:49:11 +0000
84@@ -0,0 +1,1 @@
85+argparse
86
87=== added file 'debian/python-keystoneclient.install'
88--- debian/python-keystoneclient.install 1970-01-01 00:00:00 +0000
89+++ debian/python-keystoneclient.install 2014-09-30 17:49:11 +0000
90@@ -0,0 +1,1 @@
91+usr/lib/python2*
92
93=== added file 'debian/python3-keystoneclient.install'
94--- debian/python3-keystoneclient.install 1970-01-01 00:00:00 +0000
95+++ debian/python3-keystoneclient.install 2014-09-30 17:49:11 +0000
96@@ -0,0 +1,1 @@
97+usr/lib/python3*
98
99=== modified file 'debian/rules'
100--- debian/rules 2013-11-14 15:51:35 +0000
101+++ debian/rules 2014-09-30 17:49:11 +0000
102@@ -4,12 +4,15 @@
103 #export DH_VERBOSE=1
104
105 %:
106- dh $@ --with python2
107+ dh $@ --with python2,python3 --buildsystem=pybuild
108
109 override_dh_auto_test:
110 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
111 bash run_tests.sh -N -P || true
112 endif
113
114+override_dh_python3:
115+ dh_python3 --shebang /usr/bin/python3
116+
117 get-orig-source:
118 uscan --verbose --force-download --rename --destdir=../build-area

Subscribers

People subscribed via source and target branches