Merge lp:~sergiusens/click/package-rename into lp:click
- package-rename
- Merge into trunk
Proposed by
Sergio Schvezov
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Vogt | ||||
Approved revision: | 626 | ||||
Merged at revision: | 620 | ||||
Proposed branch: | lp:~sergiusens/click/package-rename | ||||
Merge into: | lp:click | ||||
Diff against target: |
799 lines (+100/-93) 41 files modified
.bzrignore (+4/-4) Makefile.am (+1/-1) bin/click (+2/-2) click_package/build.py (+5/-5) click_package/commands/__init__.py (+1/-1) click_package/commands/build.py (+1/-1) click_package/commands/buildsource.py (+1/-1) click_package/commands/chroot.py (+2/-2) click_package/commands/desktophook.py (+1/-1) click_package/commands/info.py (+2/-2) click_package/commands/install.py (+1/-1) click_package/commands/list.py (+1/-1) click_package/commands/verify.py (+1/-1) click_package/framework.py (+2/-2) click_package/install.py (+4/-4) click_package/tests/__init__.py (+1/-1) click_package/tests/gimock.py (+3/-3) click_package/tests/gimock_types.py (+1/-1) click_package/tests/helpers.py (+2/-2) click_package/tests/integration/test_signatures.py (+1/-1) click_package/tests/integration/test_verify.py (+3/-2) click_package/tests/test_arfile.py (+3/-3) click_package/tests/test_build.py (+4/-4) click_package/tests/test_chroot.py (+3/-3) click_package/tests/test_database.py (+4/-4) click_package/tests/test_framework.py (+2/-2) click_package/tests/test_hooks.py (+3/-3) click_package/tests/test_install.py (+10/-10) click_package/tests/test_osextras.py (+3/-3) click_package/tests/test_paths.py.in (+1/-1) click_package/tests/test_query.py (+2/-2) click_package/tests/test_scripts.py (+1/-1) click_package/tests/test_static.py (+2/-2) click_package/tests/test_user.py (+4/-4) configure.ac (+3/-3) debian/changelog (+7/-0) debian/control (+0/-1) debian/tests/run-tests.sh (+1/-1) doc/index.rst (+3/-3) setup.py.in (+2/-2) tox.ini (+2/-2) |
||||
To merge this branch: | bzr merge lp:~sergiusens/click/package-rename | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Approve | ||
Review via email: mp+324689@code.launchpad.net |
Commit message
Description of the change
Rename the python package this installs from click to click_package.
To post a comment you must log in.
Revision history for this message
Sergio Schvezov (sergiusens) wrote : | # |
Revision history for this message
Sergio Schvezov (sergiusens) wrote : | # |
I can install click and python3-click in parallel with this change
Revision history for this message
Kyle Fazzari (kyrofa) wrote : | # |
One question inline.
Revision history for this message
Sergio Schvezov (sergiusens) : | # |
Revision history for this message
Colin Watson (cjwatson) : | # |
review:
Needs Fixing
Revision history for this message
Sergio Schvezov (sergiusens) : | # |
Revision history for this message
Colin Watson (cjwatson) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' | |||
2 | --- .bzrignore 2015-12-15 12:04:40 +0000 | |||
3 | +++ .bzrignore 2017-06-07 11:34:17 +0000 | |||
4 | @@ -30,10 +30,10 @@ | |||
5 | 30 | *.egg-info | 30 | *.egg-info |
6 | 31 | dist | 31 | dist |
7 | 32 | .tox | 32 | .tox |
12 | 33 | click/paths.py | 33 | click_package/paths.py |
13 | 34 | click/tests/config.py | 34 | click_package/tests/config.py |
14 | 35 | click/tests/preload.gir | 35 | click_package/tests/preload.gir |
15 | 36 | click/tests/test_paths.py | 36 | click_package/tests/test_paths.py |
16 | 37 | build-aux/compile | 37 | build-aux/compile |
17 | 38 | build-aux/config.guess | 38 | build-aux/config.guess |
18 | 39 | build-aux/config.rpath | 39 | build-aux/config.rpath |
19 | 40 | 40 | ||
20 | === modified file 'Makefile.am' | |||
21 | --- Makefile.am 2014-06-30 16:48:31 +0000 | |||
22 | +++ Makefile.am 2017-06-07 11:34:17 +0000 | |||
23 | @@ -1,4 +1,4 @@ | |||
25 | 1 | SUBDIRS = lib preload click conf debhelper init po schroot | 1 | SUBDIRS = lib preload click_package conf debhelper init po schroot |
26 | 2 | if PACKAGEKIT | 2 | if PACKAGEKIT |
27 | 3 | SUBDIRS += pk-plugin | 3 | SUBDIRS += pk-plugin |
28 | 4 | endif | 4 | endif |
29 | 5 | 5 | ||
30 | === modified file 'bin/click' | |||
31 | --- bin/click 2015-12-03 22:40:33 +0000 | |||
32 | +++ bin/click 2017-06-07 11:34:17 +0000 | |||
33 | @@ -34,7 +34,7 @@ | |||
34 | 34 | # There is an unfortunate name clash with | 34 | # There is an unfortunate name clash with |
35 | 35 | # https://pypi.python.org/pypi/click; try to detect this and take evasive | 35 | # https://pypi.python.org/pypi/click; try to detect this and take evasive |
36 | 36 | # action. | 36 | # action. |
38 | 37 | import click | 37 | import click_package as click |
39 | 38 | if not getattr(click, "_CLICK_IS_A_PACKAGING_FORMAT_", None): | 38 | if not getattr(click, "_CLICK_IS_A_PACKAGING_FORMAT_", None): |
40 | 39 | import site | 39 | import site |
41 | 40 | wrong_click_mods = [ | 40 | wrong_click_mods = [ |
42 | @@ -52,7 +52,7 @@ | |||
43 | 52 | sys.exit(1) | 52 | sys.exit(1) |
44 | 53 | del sys.path[user_site_index] | 53 | del sys.path[user_site_index] |
45 | 54 | 54 | ||
47 | 55 | from click import commands | 55 | from click_package import commands |
48 | 56 | 56 | ||
49 | 57 | 57 | ||
50 | 58 | def fix_stdout(): | 58 | def fix_stdout(): |
51 | 59 | 59 | ||
52 | === renamed directory 'click' => 'click_package' | |||
53 | === modified file 'click_package/build.py' | |||
54 | --- click/build.py 2015-02-23 07:22:31 +0000 | |||
55 | +++ click_package/build.py 2017-06-07 11:34:17 +0000 | |||
56 | @@ -45,12 +45,12 @@ | |||
57 | 45 | # "click build" is required to work with only the Python standard library. | 45 | # "click build" is required to work with only the Python standard library. |
58 | 46 | pass | 46 | pass |
59 | 47 | 47 | ||
64 | 48 | from click import osextras | 48 | from click_package import osextras |
65 | 49 | from click.arfile import ArFile | 49 | from click_package.arfile import ArFile |
66 | 50 | from click.preinst import static_preinst | 50 | from click_package.preinst import static_preinst |
67 | 51 | from click.versions import spec_version | 51 | from click_package.versions import spec_version |
68 | 52 | 52 | ||
70 | 53 | from click.framework import ( | 53 | from click_package.framework import ( |
71 | 54 | validate_framework, | 54 | validate_framework, |
72 | 55 | ClickFrameworkInvalid, | 55 | ClickFrameworkInvalid, |
73 | 56 | ) | 56 | ) |
74 | 57 | 57 | ||
75 | === modified file 'click_package/commands/__init__.py' | |||
76 | --- click/commands/__init__.py 2014-05-20 09:03:05 +0000 | |||
77 | +++ click_package/commands/__init__.py 2017-06-07 11:34:17 +0000 | |||
78 | @@ -42,7 +42,7 @@ | |||
79 | 42 | 42 | ||
80 | 43 | 43 | ||
81 | 44 | def load_command(command): | 44 | def load_command(command): |
83 | 45 | return importlib.import_module("click.commands.%s" % command) | 45 | return importlib.import_module("click_package.commands.%s" % command) |
84 | 46 | 46 | ||
85 | 47 | 47 | ||
86 | 48 | def help_text(): | 48 | def help_text(): |
87 | 49 | 49 | ||
88 | === modified file 'click_package/commands/build.py' | |||
89 | --- click/commands/build.py 2015-02-24 12:19:11 +0000 | |||
90 | +++ click_package/commands/build.py 2017-06-07 11:34:17 +0000 | |||
91 | @@ -23,7 +23,7 @@ | |||
92 | 23 | import subprocess | 23 | import subprocess |
93 | 24 | 24 | ||
94 | 25 | from gi.repository import Click | 25 | from gi.repository import Click |
96 | 26 | from click.build import ClickBuildError, ClickBuilder | 26 | from click_package.build import ClickBuildError, ClickBuilder |
97 | 27 | 27 | ||
98 | 28 | 28 | ||
99 | 29 | def run(argv): | 29 | def run(argv): |
100 | 30 | 30 | ||
101 | === modified file 'click_package/commands/buildsource.py' | |||
102 | --- click/commands/buildsource.py 2015-02-26 17:01:45 +0000 | |||
103 | +++ click_package/commands/buildsource.py 2017-06-07 11:34:17 +0000 | |||
104 | @@ -21,7 +21,7 @@ | |||
105 | 21 | import os | 21 | import os |
106 | 22 | import sys | 22 | import sys |
107 | 23 | 23 | ||
109 | 24 | from click.build import ClickBuildError, ClickSourceBuilder | 24 | from click_package.build import ClickBuildError, ClickSourceBuilder |
110 | 25 | 25 | ||
111 | 26 | 26 | ||
112 | 27 | def run(argv): | 27 | def run(argv): |
113 | 28 | 28 | ||
114 | === modified file 'click_package/commands/chroot.py' | |||
115 | --- click/commands/chroot.py 2015-05-01 07:28:16 +0000 | |||
116 | +++ click_package/commands/chroot.py 2017-06-07 11:34:17 +0000 | |||
117 | @@ -23,12 +23,12 @@ | |||
118 | 23 | from contextlib import contextmanager | 23 | from contextlib import contextmanager |
119 | 24 | import os | 24 | import os |
120 | 25 | 25 | ||
122 | 26 | from click.chroot import ( | 26 | from click_package.chroot import ( |
123 | 27 | ClickChroot, | 27 | ClickChroot, |
124 | 28 | ClickChrootAlreadyExistsException, | 28 | ClickChrootAlreadyExistsException, |
125 | 29 | ClickChrootDoesNotExistException, | 29 | ClickChrootDoesNotExistException, |
126 | 30 | ) | 30 | ) |
128 | 31 | from click import osextras | 31 | from click_package import osextras |
129 | 32 | 32 | ||
130 | 33 | 33 | ||
131 | 34 | def requires_root(parser): | 34 | def requires_root(parser): |
132 | 35 | 35 | ||
133 | === modified file 'click_package/commands/desktophook.py' | |||
134 | --- click/commands/desktophook.py 2014-03-03 17:01:37 +0000 | |||
135 | +++ click_package/commands/desktophook.py 2017-06-07 11:34:17 +0000 | |||
136 | @@ -25,7 +25,7 @@ | |||
137 | 25 | 25 | ||
138 | 26 | from gi.repository import Click | 26 | from gi.repository import Click |
139 | 27 | 27 | ||
141 | 28 | from click import osextras | 28 | from click_package import osextras |
142 | 29 | 29 | ||
143 | 30 | 30 | ||
144 | 31 | COMMENT = \ | 31 | COMMENT = \ |
145 | 32 | 32 | ||
146 | === modified file 'click_package/commands/info.py' | |||
147 | --- click/commands/info.py 2014-10-07 08:56:03 +0000 | |||
148 | +++ click_package/commands/info.py 2017-06-07 11:34:17 +0000 | |||
149 | @@ -26,8 +26,8 @@ | |||
150 | 26 | 26 | ||
151 | 27 | from gi.repository import Click | 27 | from gi.repository import Click |
152 | 28 | 28 | ||
155 | 29 | from click.install import DebFile | 29 | from click_package.install import DebFile |
156 | 30 | from click.json_helpers import json_object_to_python | 30 | from click_package.json_helpers import json_object_to_python |
157 | 31 | 31 | ||
158 | 32 | 32 | ||
159 | 33 | def _load_manifest(manifest_file): | 33 | def _load_manifest(manifest_file): |
160 | 34 | 34 | ||
161 | === modified file 'click_package/commands/install.py' | |||
162 | --- click/commands/install.py 2014-12-03 12:42:21 +0000 | |||
163 | +++ click_package/commands/install.py 2017-06-07 11:34:17 +0000 | |||
164 | @@ -23,7 +23,7 @@ | |||
165 | 23 | 23 | ||
166 | 24 | from gi.repository import Click | 24 | from gi.repository import Click |
167 | 25 | 25 | ||
169 | 26 | from click.install import ClickInstaller, ClickInstallerError | 26 | from click_package.install import ClickInstaller, ClickInstallerError |
170 | 27 | 27 | ||
171 | 28 | 28 | ||
172 | 29 | def run(argv): | 29 | def run(argv): |
173 | 30 | 30 | ||
174 | === modified file 'click_package/commands/list.py' | |||
175 | --- click/commands/list.py 2014-04-03 08:52:02 +0000 | |||
176 | +++ click_package/commands/list.py 2017-06-07 11:34:17 +0000 | |||
177 | @@ -23,7 +23,7 @@ | |||
178 | 23 | 23 | ||
179 | 24 | from gi.repository import Click | 24 | from gi.repository import Click |
180 | 25 | 25 | ||
182 | 26 | from click.json_helpers import json_array_to_python | 26 | from click_package.json_helpers import json_array_to_python |
183 | 27 | 27 | ||
184 | 28 | 28 | ||
185 | 29 | def list_packages(options): | 29 | def list_packages(options): |
186 | 30 | 30 | ||
187 | === modified file 'click_package/commands/verify.py' | |||
188 | --- click/commands/verify.py 2014-08-07 21:51:27 +0000 | |||
189 | +++ click_package/commands/verify.py 2017-06-07 11:34:17 +0000 | |||
190 | @@ -21,7 +21,7 @@ | |||
191 | 21 | 21 | ||
192 | 22 | from optparse import OptionParser | 22 | from optparse import OptionParser |
193 | 23 | 23 | ||
195 | 24 | from click.install import ClickInstaller | 24 | from click_package.install import ClickInstaller |
196 | 25 | 25 | ||
197 | 26 | 26 | ||
198 | 27 | def run(argv): | 27 | def run(argv): |
199 | 28 | 28 | ||
200 | === modified file 'click_package/framework.py' | |||
201 | --- click/framework.py 2015-02-18 09:17:29 +0000 | |||
202 | +++ click_package/framework.py 2017-06-07 11:34:17 +0000 | |||
203 | @@ -24,7 +24,7 @@ | |||
204 | 24 | except: | 24 | except: |
205 | 25 | pass | 25 | pass |
206 | 26 | 26 | ||
208 | 27 | import click.paths | 27 | import click_package.paths |
209 | 28 | 28 | ||
210 | 29 | 29 | ||
211 | 30 | class ClickFrameworkInvalid(Exception): | 30 | class ClickFrameworkInvalid(Exception): |
212 | @@ -55,7 +55,7 @@ | |||
213 | 55 | 55 | ||
214 | 56 | # python version of vala get_frameworks_dir | 56 | # python version of vala get_frameworks_dir |
215 | 57 | def get_frameworks_dir(): | 57 | def get_frameworks_dir(): |
217 | 58 | return click.paths.frameworks_dir | 58 | return click_package.paths.frameworks_dir |
218 | 59 | 59 | ||
219 | 60 | 60 | ||
220 | 61 | def get_framework_path(framework_name): | 61 | def get_framework_path(framework_name): |
221 | 62 | 62 | ||
222 | === modified file 'click_package/install.py' | |||
223 | --- click/install.py 2015-12-11 01:15:20 +0000 | |||
224 | +++ click_package/install.py 2017-06-07 11:34:17 +0000 | |||
225 | @@ -46,11 +46,11 @@ | |||
226 | 46 | from debian.debian_support import Version | 46 | from debian.debian_support import Version |
227 | 47 | from gi.repository import Click | 47 | from gi.repository import Click |
228 | 48 | 48 | ||
232 | 49 | from click.paths import preload_path | 49 | from click_package.paths import preload_path |
233 | 50 | from click.preinst import static_preinst_matches | 50 | from click_package.preinst import static_preinst_matches |
234 | 51 | from click.versions import spec_version | 51 | from click_package.versions import spec_version |
235 | 52 | 52 | ||
237 | 53 | from click.framework import ( | 53 | from click_package.framework import ( |
238 | 54 | validate_framework, | 54 | validate_framework, |
239 | 55 | ClickFrameworkInvalid, | 55 | ClickFrameworkInvalid, |
240 | 56 | ) | 56 | ) |
241 | 57 | 57 | ||
242 | === modified file 'click_package/tests/__init__.py' | |||
243 | --- click/tests/__init__.py 2014-06-09 14:21:26 +0000 | |||
244 | +++ click_package/tests/__init__.py 2017-06-07 11:34:17 +0000 | |||
245 | @@ -3,7 +3,7 @@ | |||
246 | 3 | import os | 3 | import os |
247 | 4 | import sys | 4 | import sys |
248 | 5 | 5 | ||
250 | 6 | from click.tests import config | 6 | from click_package.tests import config |
251 | 7 | 7 | ||
252 | 8 | 8 | ||
253 | 9 | def _append_env_path(envname, value): | 9 | def _append_env_path(envname, value): |
254 | 10 | 10 | ||
255 | === modified file 'click_package/tests/gimock.py' | |||
256 | --- click/tests/gimock.py 2016-08-28 00:39:05 +0000 | |||
257 | +++ click_package/tests/gimock.py 2017-06-07 11:34:17 +0000 | |||
258 | @@ -128,8 +128,8 @@ | |||
259 | 128 | except ImportError: | 128 | except ImportError: |
260 | 129 | import xml.etree.ElementTree as etree | 129 | import xml.etree.ElementTree as etree |
261 | 130 | 130 | ||
264 | 131 | from click.tests.gimock_types import Stat, Stat64 | 131 | from click_package.tests.gimock_types import Stat, Stat64 |
265 | 132 | from click.tests import config, get_executable | 132 | from click_package.tests import config, get_executable |
266 | 133 | 133 | ||
267 | 134 | # Borrowed from giscanner.girparser. | 134 | # Borrowed from giscanner.girparser. |
268 | 135 | CORE_NS = "http://www.gtk.org/introspection/core/1.0" | 135 | CORE_NS = "http://www.gtk.org/introspection/core/1.0" |
269 | @@ -269,7 +269,7 @@ | |||
270 | 269 | "unistd.h", | 269 | "unistd.h", |
271 | 270 | ]) | 270 | ]) |
272 | 271 | preload_headers = set() | 271 | preload_headers = set() |
274 | 272 | funcs = self._parse_gir("click/tests/preload.gir") | 272 | funcs = self._parse_gir("click_package/tests/preload.gir") |
275 | 273 | for name, func in preloads.items(): | 273 | for name, func in preloads.items(): |
276 | 274 | info = funcs[name] | 274 | info = funcs[name] |
277 | 275 | rpreloads.append([info, func]) | 275 | rpreloads.append([info, func]) |
278 | 276 | 276 | ||
279 | === modified file 'click_package/tests/gimock_types.py' | |||
280 | --- click/tests/gimock_types.py 2014-03-03 17:01:37 +0000 | |||
281 | +++ click_package/tests/gimock_types.py 2017-06-07 11:34:17 +0000 | |||
282 | @@ -17,7 +17,7 @@ | |||
283 | 17 | 17 | ||
284 | 18 | import ctypes | 18 | import ctypes |
285 | 19 | 19 | ||
287 | 20 | from click.tests.config import ( | 20 | from click_package.tests.config import ( |
288 | 21 | STAT_OFFSET_GID, | 21 | STAT_OFFSET_GID, |
289 | 22 | STAT_OFFSET_UID, | 22 | STAT_OFFSET_UID, |
290 | 23 | STAT64_OFFSET_GID, | 23 | STAT64_OFFSET_GID, |
291 | 24 | 24 | ||
292 | === modified file 'click_package/tests/helpers.py' | |||
293 | --- click/tests/helpers.py 2014-10-02 06:57:37 +0000 | |||
294 | +++ click_package/tests/helpers.py 2017-06-07 11:34:17 +0000 | |||
295 | @@ -44,7 +44,7 @@ | |||
296 | 44 | 44 | ||
297 | 45 | from gi.repository import Click, GLib | 45 | from gi.repository import Click, GLib |
298 | 46 | 46 | ||
300 | 47 | from click.tests import gimock | 47 | from click_package.tests import gimock |
301 | 48 | 48 | ||
302 | 49 | 49 | ||
303 | 50 | def disable_logging(func): | 50 | def disable_logging(func): |
304 | @@ -154,7 +154,7 @@ | |||
305 | 154 | def _create_mock_framework_dir(self, frameworks_dir=None): | 154 | def _create_mock_framework_dir(self, frameworks_dir=None): |
306 | 155 | if frameworks_dir is None: | 155 | if frameworks_dir is None: |
307 | 156 | frameworks_dir = os.path.join(self.temp_dir, "frameworks") | 156 | frameworks_dir = os.path.join(self.temp_dir, "frameworks") |
309 | 157 | patcher = mock.patch('click.paths.frameworks_dir', frameworks_dir) | 157 | patcher = mock.patch('click_package.paths.frameworks_dir', frameworks_dir) |
310 | 158 | patcher.start() | 158 | patcher.start() |
311 | 159 | self.addCleanup(patcher.stop) | 159 | self.addCleanup(patcher.stop) |
312 | 160 | Click.ensuredir(frameworks_dir) | 160 | Click.ensuredir(frameworks_dir) |
313 | 161 | 161 | ||
314 | === modified file 'click_package/tests/integration/test_signatures.py' | |||
315 | --- click/tests/integration/test_signatures.py 2016-09-16 17:41:30 +0000 | |||
316 | +++ click_package/tests/integration/test_signatures.py 2017-06-07 11:34:17 +0000 | |||
317 | @@ -24,7 +24,7 @@ | |||
318 | 24 | 24 | ||
319 | 25 | import apt | 25 | import apt |
320 | 26 | 26 | ||
322 | 27 | from click import osextras | 27 | from click_package import osextras |
323 | 28 | from .helpers import ( | 28 | from .helpers import ( |
324 | 29 | require_root, | 29 | require_root, |
325 | 30 | ClickTestCase, | 30 | ClickTestCase, |
326 | 31 | 31 | ||
327 | === modified file 'click_package/tests/integration/test_verify.py' | |||
328 | --- click/tests/integration/test_verify.py 2014-09-04 14:15:08 +0000 | |||
329 | +++ click_package/tests/integration/test_verify.py 2017-06-07 11:34:17 +0000 | |||
330 | @@ -50,7 +50,7 @@ | |||
331 | 50 | path_to_click], | 50 | path_to_click], |
332 | 51 | universal_newlines=True, stderr=subprocess.STDOUT) | 51 | universal_newlines=True, stderr=subprocess.STDOUT) |
333 | 52 | expected_error = ( | 52 | expected_error = ( |
335 | 53 | 'click.framework.ClickFrameworkInvalid: Framework ' | 53 | 'click_package.framework.ClickFrameworkInvalid: Framework ' |
336 | 54 | '"missing" not present on system (use ' | 54 | '"missing" not present on system (use ' |
337 | 55 | '--force-missing-framework option to override)') | 55 | '--force-missing-framework option to override)') |
338 | 56 | self.assertIn(expected_error, cm.exception.output) | 56 | self.assertIn(expected_error, cm.exception.output) |
339 | @@ -66,7 +66,8 @@ | |||
340 | 66 | path_to_click], | 66 | path_to_click], |
341 | 67 | universal_newlines=True, stderr=subprocess.STDOUT) | 67 | universal_newlines=True, stderr=subprocess.STDOUT) |
342 | 68 | expected_error = ( | 68 | expected_error = ( |
344 | 69 | 'click.install.DebsigVerifyError: Signature verification error: ' | 69 | 'click_package.install.DebsigVerifyError: ' |
345 | 70 | 'Signature verification error: ' | ||
346 | 70 | 'debsig: %s does not appear to be a deb format package' | 71 | 'debsig: %s does not appear to be a deb format package' |
347 | 71 | ) % path_to_click | 72 | ) % path_to_click |
348 | 72 | self.assertIn(expected_error, cm.exception.output) | 73 | self.assertIn(expected_error, cm.exception.output) |
349 | 73 | 74 | ||
350 | === modified file 'click_package/tests/test_arfile.py' | |||
351 | --- click/tests/test_arfile.py 2013-06-27 14:30:15 +0000 | |||
352 | +++ click_package/tests/test_arfile.py 2017-06-07 11:34:17 +0000 | |||
353 | @@ -13,7 +13,7 @@ | |||
354 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
355 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
356 | 15 | 15 | ||
358 | 16 | """Unit tests for click.arfile.""" | 16 | """Unit tests for click_package.arfile.""" |
359 | 17 | 17 | ||
360 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
361 | 19 | 19 | ||
362 | @@ -26,8 +26,8 @@ | |||
363 | 26 | import os | 26 | import os |
364 | 27 | import subprocess | 27 | import subprocess |
365 | 28 | 28 | ||
368 | 29 | from click.arfile import ArFile | 29 | from click_package.arfile import ArFile |
369 | 30 | from click.tests.helpers import TestCase, touch | 30 | from click_package.tests.helpers import TestCase, touch |
370 | 31 | 31 | ||
371 | 32 | 32 | ||
372 | 33 | class TestArFile(TestCase): | 33 | class TestArFile(TestCase): |
373 | 34 | 34 | ||
374 | === modified file 'click_package/tests/test_build.py' | |||
375 | --- click/tests/test_build.py 2015-02-23 07:23:39 +0000 | |||
376 | +++ click_package/tests/test_build.py 2017-06-07 11:34:17 +0000 | |||
377 | @@ -13,7 +13,7 @@ | |||
378 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
379 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
380 | 15 | 15 | ||
382 | 16 | """Unit tests for click.build.""" | 16 | """Unit tests for click_package.build.""" |
383 | 17 | 17 | ||
384 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
385 | 19 | 19 | ||
386 | @@ -31,9 +31,9 @@ | |||
387 | 31 | import tarfile | 31 | import tarfile |
388 | 32 | from textwrap import dedent | 32 | from textwrap import dedent |
389 | 33 | 33 | ||
393 | 34 | from click.build import ClickBuildError, ClickBuilder, ClickSourceBuilder | 34 | from click_package.build import ClickBuildError, ClickBuilder, ClickSourceBuilder |
394 | 35 | from click.preinst import static_preinst | 35 | from click_package.preinst import static_preinst |
395 | 36 | from click.tests.helpers import ( | 36 | from click_package.tests.helpers import ( |
396 | 37 | disable_logging, | 37 | disable_logging, |
397 | 38 | mkfile, | 38 | mkfile, |
398 | 39 | TestCase, | 39 | TestCase, |
399 | 40 | 40 | ||
400 | === modified file 'click_package/tests/test_chroot.py' | |||
401 | --- click/tests/test_chroot.py 2015-12-29 01:12:58 +0000 | |||
402 | +++ click_package/tests/test_chroot.py 2017-06-07 11:34:17 +0000 | |||
403 | @@ -13,7 +13,7 @@ | |||
404 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
405 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
406 | 15 | 15 | ||
408 | 16 | """Unit tests for click.chroot.""" | 16 | """Unit tests for click_package.chroot.""" |
409 | 17 | 17 | ||
410 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
411 | 19 | 19 | ||
412 | @@ -26,12 +26,12 @@ | |||
413 | 26 | import re | 26 | import re |
414 | 27 | from textwrap import dedent | 27 | from textwrap import dedent |
415 | 28 | 28 | ||
417 | 29 | from click.chroot import ( | 29 | from click_package.chroot import ( |
418 | 30 | ClickChroot, | 30 | ClickChroot, |
419 | 31 | generate_sources, | 31 | generate_sources, |
420 | 32 | strip_dev_series_from_framework, | 32 | strip_dev_series_from_framework, |
421 | 33 | ) | 33 | ) |
423 | 34 | from click.tests.helpers import TestCase, mock | 34 | from click_package.tests.helpers import TestCase, mock |
424 | 35 | 35 | ||
425 | 36 | 36 | ||
426 | 37 | class FakeClickChroot(ClickChroot): | 37 | class FakeClickChroot(ClickChroot): |
427 | 38 | 38 | ||
428 | === modified file 'click_package/tests/test_database.py' | |||
429 | --- click/tests/test_database.py 2015-10-15 11:47:35 +0000 | |||
430 | +++ click_package/tests/test_database.py 2017-06-07 11:34:17 +0000 | |||
431 | @@ -13,7 +13,7 @@ | |||
432 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
433 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
434 | 15 | 15 | ||
436 | 16 | """Unit tests for click.database.""" | 16 | """Unit tests for click_package.database.""" |
437 | 17 | 17 | ||
438 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
439 | 19 | 19 | ||
440 | @@ -34,9 +34,9 @@ | |||
441 | 34 | from gi.repository import Click, GLib | 34 | from gi.repository import Click, GLib |
442 | 35 | from six import integer_types | 35 | from six import integer_types |
443 | 36 | 36 | ||
447 | 37 | from click.json_helpers import json_array_to_python, json_object_to_python | 37 | from click_package.json_helpers import json_array_to_python, json_object_to_python |
448 | 38 | from click.tests.gimock_types import Passwd | 38 | from click_package.tests.gimock_types import Passwd |
449 | 39 | from click.tests.helpers import TestCase, mkfile, touch | 39 | from click_package.tests.helpers import TestCase, mkfile, touch |
450 | 40 | 40 | ||
451 | 41 | 41 | ||
452 | 42 | class TestClickInstalledPackage(TestCase): | 42 | class TestClickInstalledPackage(TestCase): |
453 | 43 | 43 | ||
454 | === modified file 'click_package/tests/test_framework.py' | |||
455 | --- click/tests/test_framework.py 2014-07-09 12:56:21 +0000 | |||
456 | +++ click_package/tests/test_framework.py 2017-06-07 11:34:17 +0000 | |||
457 | @@ -13,7 +13,7 @@ | |||
458 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
459 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
460 | 15 | 15 | ||
462 | 16 | """Unit tests for click.framework.""" | 16 | """Unit tests for click_package.framework.""" |
463 | 17 | 17 | ||
464 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
465 | 19 | 19 | ||
466 | @@ -27,7 +27,7 @@ | |||
467 | 27 | 27 | ||
468 | 28 | from gi.repository import Click | 28 | from gi.repository import Click |
469 | 29 | 29 | ||
471 | 30 | from click.tests.helpers import TestCase, touch | 30 | from click_package.tests.helpers import TestCase, touch |
472 | 31 | 31 | ||
473 | 32 | 32 | ||
474 | 33 | class TestClickFramework(TestCase): | 33 | class TestClickFramework(TestCase): |
475 | 34 | 34 | ||
476 | === modified file 'click_package/tests/test_hooks.py' | |||
477 | --- click/tests/test_hooks.py 2016-08-28 00:41:18 +0000 | |||
478 | +++ click_package/tests/test_hooks.py 2017-06-07 11:34:17 +0000 | |||
479 | @@ -13,7 +13,7 @@ | |||
480 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
481 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
482 | 15 | 15 | ||
484 | 16 | """Unit tests for click.hooks.""" | 16 | """Unit tests for click_package.hooks.""" |
485 | 17 | 17 | ||
486 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
487 | 19 | 19 | ||
488 | @@ -35,8 +35,8 @@ | |||
489 | 35 | 35 | ||
490 | 36 | from gi.repository import Click, GLib | 36 | from gi.repository import Click, GLib |
491 | 37 | 37 | ||
494 | 38 | from click.tests.gimock_types import Passwd | 38 | from click_package.tests.gimock_types import Passwd |
495 | 39 | from click.tests.helpers import TestCase, mkfile, mkfile_utf8 | 39 | from click_package.tests.helpers import TestCase, mkfile, mkfile_utf8 |
496 | 40 | 40 | ||
497 | 41 | 41 | ||
498 | 42 | class TestClickPatternFormatter(TestCase): | 42 | class TestClickPatternFormatter(TestCase): |
499 | 43 | 43 | ||
500 | === modified file 'click_package/tests/test_install.py' | |||
501 | --- click/tests/test_install.py 2015-12-11 01:15:20 +0000 | |||
502 | +++ click_package/tests/test_install.py 2017-06-07 11:34:17 +0000 | |||
503 | @@ -13,7 +13,7 @@ | |||
504 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
505 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
506 | 15 | 15 | ||
508 | 16 | """Unit tests for click.install.""" | 16 | """Unit tests for click_package.install.""" |
509 | 17 | 17 | ||
510 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
511 | 19 | 19 | ||
512 | @@ -40,22 +40,22 @@ | |||
513 | 40 | from debian.deb822 import Deb822 | 40 | from debian.deb822 import Deb822 |
514 | 41 | from gi.repository import Click | 41 | from gi.repository import Click |
515 | 42 | 42 | ||
519 | 43 | from click.arfile import ArFile | 43 | from click_package.arfile import ArFile |
520 | 44 | from click.build import ClickBuilder | 44 | from click_package.build import ClickBuilder |
521 | 45 | from click.install import ( | 45 | from click_package.install import ( |
522 | 46 | ClickInstaller, | 46 | ClickInstaller, |
523 | 47 | ClickInstallerAuditError, | 47 | ClickInstallerAuditError, |
524 | 48 | ClickInstallerPermissionDenied, | 48 | ClickInstallerPermissionDenied, |
525 | 49 | ) | 49 | ) |
528 | 50 | from click.preinst import static_preinst | 50 | from click_package.preinst import static_preinst |
529 | 51 | from click.tests.helpers import ( | 51 | from click_package.tests.helpers import ( |
530 | 52 | disable_logging, | 52 | disable_logging, |
531 | 53 | mkfile, | 53 | mkfile, |
532 | 54 | mock, | 54 | mock, |
533 | 55 | TestCase, | 55 | TestCase, |
534 | 56 | touch, | 56 | touch, |
535 | 57 | ) | 57 | ) |
537 | 58 | from click.versions import spec_version | 58 | from click_package.versions import spec_version |
538 | 59 | 59 | ||
539 | 60 | 60 | ||
540 | 61 | @contextmanager | 61 | @contextmanager |
541 | @@ -82,7 +82,7 @@ | |||
542 | 82 | self.db = Click.DB() | 82 | self.db = Click.DB() |
543 | 83 | self.db.add(self.temp_dir) | 83 | self.db.add(self.temp_dir) |
544 | 84 | # mock signature checks during the tests | 84 | # mock signature checks during the tests |
546 | 85 | self.debsig_patcher = mock.patch("click.install.DebsigVerify") | 85 | self.debsig_patcher = mock.patch("click_package.install.DebsigVerify") |
547 | 86 | self.debsig_patcher.start() | 86 | self.debsig_patcher.start() |
548 | 87 | 87 | ||
549 | 88 | def tearDown(self): | 88 | def tearDown(self): |
550 | @@ -652,7 +652,7 @@ | |||
551 | 652 | os.path.exists(ClickInstaller(None)._preload_path()), | 652 | os.path.exists(ClickInstaller(None)._preload_path()), |
552 | 653 | "preload bits not built; installing packages will fail") | 653 | "preload bits not built; installing packages will fail") |
553 | 654 | @mock.patch("gi.repository.Click.package_install_hooks") | 654 | @mock.patch("gi.repository.Click.package_install_hooks") |
555 | 655 | @mock.patch("click.install.ClickInstaller._dpkg_architecture") | 655 | @mock.patch("click_package.install.ClickInstaller._dpkg_architecture") |
556 | 656 | def test_single_architecture(self, mock_dpkg_architecture, | 656 | def test_single_architecture(self, mock_dpkg_architecture, |
557 | 657 | mock_package_install_hooks): | 657 | mock_package_install_hooks): |
558 | 658 | with self.run_in_subprocess( | 658 | with self.run_in_subprocess( |
559 | @@ -689,7 +689,7 @@ | |||
560 | 689 | os.path.exists(ClickInstaller(None)._preload_path()), | 689 | os.path.exists(ClickInstaller(None)._preload_path()), |
561 | 690 | "preload bits not built; installing packages will fail") | 690 | "preload bits not built; installing packages will fail") |
562 | 691 | @mock.patch("gi.repository.Click.package_install_hooks") | 691 | @mock.patch("gi.repository.Click.package_install_hooks") |
564 | 692 | @mock.patch("click.install.ClickInstaller._dpkg_architecture") | 692 | @mock.patch("click_package.install.ClickInstaller._dpkg_architecture") |
565 | 693 | def test_multiple_architectures(self, mock_dpkg_architecture, | 693 | def test_multiple_architectures(self, mock_dpkg_architecture, |
566 | 694 | mock_package_install_hooks): | 694 | mock_package_install_hooks): |
567 | 695 | with self.run_in_subprocess( | 695 | with self.run_in_subprocess( |
568 | 696 | 696 | ||
569 | === modified file 'click_package/tests/test_osextras.py' | |||
570 | --- click/tests/test_osextras.py 2014-07-09 12:56:21 +0000 | |||
571 | +++ click_package/tests/test_osextras.py 2017-06-07 11:34:17 +0000 | |||
572 | @@ -13,7 +13,7 @@ | |||
573 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
574 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
575 | 15 | 15 | ||
577 | 16 | """Unit tests for click.osextras.""" | 16 | """Unit tests for click_package.osextras.""" |
578 | 17 | 17 | ||
579 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
580 | 19 | __all__ = [ | 19 | __all__ = [ |
581 | @@ -26,8 +26,8 @@ | |||
582 | 26 | 26 | ||
583 | 27 | from gi.repository import Click, GLib | 27 | from gi.repository import Click, GLib |
584 | 28 | 28 | ||
587 | 29 | from click import osextras | 29 | from click_package import osextras |
588 | 30 | from click.tests.helpers import TestCase, mock, touch | 30 | from click_package.tests.helpers import TestCase, mock, touch |
589 | 31 | 31 | ||
590 | 32 | 32 | ||
591 | 33 | class TestOSExtrasBaseMixin: | 33 | class TestOSExtrasBaseMixin: |
592 | 34 | 34 | ||
593 | === modified file 'click_package/tests/test_paths.py.in' | |||
594 | --- click/tests/test_paths.py.in 2014-07-09 12:56:21 +0000 | |||
595 | +++ click_package/tests/test_paths.py.in 2017-06-07 11:34:17 +0000 | |||
596 | @@ -28,7 +28,7 @@ | |||
597 | 28 | 28 | ||
598 | 29 | from gi.repository import Click | 29 | from gi.repository import Click |
599 | 30 | 30 | ||
601 | 31 | from click.tests.helpers import TestCase | 31 | from click_package.tests.helpers import TestCase |
602 | 32 | 32 | ||
603 | 33 | 33 | ||
604 | 34 | class TestClickPaths(TestCase): | 34 | class TestClickPaths(TestCase): |
605 | 35 | 35 | ||
606 | === modified file 'click_package/tests/test_query.py' | |||
607 | --- click/tests/test_query.py 2014-03-03 21:43:10 +0000 | |||
608 | +++ click_package/tests/test_query.py 2017-06-07 11:34:17 +0000 | |||
609 | @@ -13,7 +13,7 @@ | |||
610 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
611 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
612 | 15 | 15 | ||
614 | 16 | """Unit tests for click.query.""" | 16 | """Unit tests for click_package.query.""" |
615 | 17 | 17 | ||
616 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
617 | 19 | __all__ = [ | 19 | __all__ = [ |
618 | @@ -25,7 +25,7 @@ | |||
619 | 25 | 25 | ||
620 | 26 | from gi.repository import Click | 26 | from gi.repository import Click |
621 | 27 | 27 | ||
623 | 28 | from click.tests.helpers import TestCase, touch | 28 | from click_package.tests.helpers import TestCase, touch |
624 | 29 | 29 | ||
625 | 30 | 30 | ||
626 | 31 | class TestQuery(TestCase): | 31 | class TestQuery(TestCase): |
627 | 32 | 32 | ||
628 | === modified file 'click_package/tests/test_scripts.py' | |||
629 | --- click/tests/test_scripts.py 2013-06-27 14:30:15 +0000 | |||
630 | +++ click_package/tests/test_scripts.py 2017-06-07 11:34:17 +0000 | |||
631 | @@ -24,7 +24,7 @@ | |||
632 | 24 | import subprocess | 24 | import subprocess |
633 | 25 | from unittest import skipIf | 25 | from unittest import skipIf |
634 | 26 | 26 | ||
636 | 27 | from click.tests.helpers import TestCase | 27 | from click_package.tests.helpers import TestCase |
637 | 28 | 28 | ||
638 | 29 | 29 | ||
639 | 30 | class TestScripts(TestCase): | 30 | class TestScripts(TestCase): |
640 | 31 | 31 | ||
641 | === modified file 'click_package/tests/test_static.py' | |||
642 | --- click/tests/test_static.py 2013-06-27 14:30:15 +0000 | |||
643 | +++ click_package/tests/test_static.py 2017-06-07 11:34:17 +0000 | |||
644 | @@ -41,13 +41,13 @@ | |||
645 | 41 | pyflakes = None | 41 | pyflakes = None |
646 | 42 | 42 | ||
647 | 43 | 43 | ||
649 | 44 | from click.tests.helpers import TestCase | 44 | from click_package.tests.helpers import TestCase |
650 | 45 | 45 | ||
651 | 46 | 46 | ||
652 | 47 | class TestStatic(TestCase): | 47 | class TestStatic(TestCase): |
653 | 48 | def all_paths(self): | 48 | def all_paths(self): |
654 | 49 | paths = [] | 49 | paths = [] |
656 | 50 | start_dir = os.path.dirname(resource_filename('click', '__init__.py')) | 50 | start_dir = os.path.dirname(resource_filename('click_package', '__init__.py')) |
657 | 51 | for dirpath, dirnames, filenames in os.walk(start_dir): | 51 | for dirpath, dirnames, filenames in os.walk(start_dir): |
658 | 52 | for ignore in ('doc', ".bzr", "__pycache__"): | 52 | for ignore in ('doc', ".bzr", "__pycache__"): |
659 | 53 | if ignore in dirnames: | 53 | if ignore in dirnames: |
660 | 54 | 54 | ||
661 | === modified file 'click_package/tests/test_user.py' | |||
662 | --- click/tests/test_user.py 2014-10-02 06:57:37 +0000 | |||
663 | +++ click_package/tests/test_user.py 2017-06-07 11:34:17 +0000 | |||
664 | @@ -13,7 +13,7 @@ | |||
665 | 13 | # You should have received a copy of the GNU General Public License | 13 | # You should have received a copy of the GNU General Public License |
666 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
667 | 15 | 15 | ||
669 | 16 | """Unit tests for click.user.""" | 16 | """Unit tests for click_package.user.""" |
670 | 17 | 17 | ||
671 | 18 | from __future__ import print_function | 18 | from __future__ import print_function |
672 | 19 | 19 | ||
673 | @@ -30,9 +30,9 @@ | |||
674 | 30 | 30 | ||
675 | 31 | from gi.repository import Click, GLib | 31 | from gi.repository import Click, GLib |
676 | 32 | 32 | ||
680 | 33 | from click.json_helpers import json_array_to_python, json_object_to_python | 33 | from click_package.json_helpers import json_array_to_python, json_object_to_python |
681 | 34 | from click.tests.gimock_types import Passwd | 34 | from click_package.tests.gimock_types import Passwd |
682 | 35 | from click.tests.helpers import ( | 35 | from click_package.tests.helpers import ( |
683 | 36 | TestCase, | 36 | TestCase, |
684 | 37 | make_installed_click, | 37 | make_installed_click, |
685 | 38 | mkfile, | 38 | mkfile, |
686 | 39 | 39 | ||
687 | === modified file 'configure.ac' | |||
688 | --- configure.ac 2014-06-30 16:48:31 +0000 | |||
689 | +++ configure.ac 2017-06-07 11:34:17 +0000 | |||
690 | @@ -131,9 +131,9 @@ | |||
691 | 131 | 131 | ||
692 | 132 | AC_CONFIG_FILES([ | 132 | AC_CONFIG_FILES([ |
693 | 133 | Makefile | 133 | Makefile |
697 | 134 | click/Makefile | 134 | click_package/Makefile |
698 | 135 | click/tests/Makefile | 135 | click_package/tests/Makefile |
699 | 136 | click/tests/config.py | 136 | click_package/tests/config.py |
700 | 137 | conf/Makefile | 137 | conf/Makefile |
701 | 138 | conf/databases/Makefile | 138 | conf/databases/Makefile |
702 | 139 | conf/databases/99_default.conf | 139 | conf/databases/99_default.conf |
703 | 140 | 140 | ||
704 | === modified file 'debian/changelog' | |||
705 | --- debian/changelog 2016-09-16 17:46:25 +0000 | |||
706 | +++ debian/changelog 2017-06-07 11:34:17 +0000 | |||
707 | @@ -1,3 +1,10 @@ | |||
708 | 1 | click (0.4.46-0ubuntu1) UNRELEASED; urgency=medium | ||
709 | 2 | |||
710 | 3 | * Rename the python package this installs from click to click_package. | ||
711 | 4 | (LP: #1693226) | ||
712 | 5 | |||
713 | 6 | -- Sergio Schvezov <sergio.schvezov@canonical.com> Fri, 26 May 2017 13:03:44 -0300 | ||
714 | 7 | |||
715 | 1 | click (0.4.45.1+16.10.20160916-0ubuntu1) yakkety; urgency=medium | 8 | click (0.4.45.1+16.10.20160916-0ubuntu1) yakkety; urgency=medium |
716 | 2 | 9 | ||
717 | 3 | * Kill gpg-agent (if possible) after running debsigs in integration tests. | 10 | * Kill gpg-agent (if possible) after running debsigs in integration tests. |
718 | 4 | 11 | ||
719 | === modified file 'debian/control' | |||
720 | --- debian/control 2016-08-28 20:59:24 +0000 | |||
721 | +++ debian/control 2017-06-07 11:34:17 +0000 | |||
722 | @@ -40,7 +40,6 @@ | |||
723 | 40 | Section: python | 40 | Section: python |
724 | 41 | Architecture: any | 41 | Architecture: any |
725 | 42 | Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-click-0.4 (= ${binary:Version}), gir1.2-glib-2.0, python3-apt, python3-debian, python3-gi | 42 | Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-click-0.4 (= ${binary:Version}), gir1.2-glib-2.0, python3-apt, python3-debian, python3-gi |
726 | 43 | Conflicts: python3-click, python3-click-cli | ||
727 | 44 | Replaces: python3-click (<< 0.4.43) | 43 | Replaces: python3-click (<< 0.4.43) |
728 | 45 | Description: Click packages (Python 3 interface) | 44 | Description: Click packages (Python 3 interface) |
729 | 46 | Click is a simplified packaging format that installs in a separate part of | 45 | Click is a simplified packaging format that installs in a separate part of |
730 | 47 | 46 | ||
731 | === modified file 'debian/tests/run-tests.sh' | |||
732 | --- debian/tests/run-tests.sh 2016-08-10 12:33:34 +0000 | |||
733 | +++ debian/tests/run-tests.sh 2017-06-07 11:34:17 +0000 | |||
734 | @@ -10,4 +10,4 @@ | |||
735 | 10 | --with-systemduserunitdir=/usr/lib/systemd/user \ | 10 | --with-systemduserunitdir=/usr/lib/systemd/user \ |
736 | 11 | --disable-packagekit | 11 | --disable-packagekit |
737 | 12 | 12 | ||
739 | 13 | TEST_INTEGRATION=1 python3 -m unittest discover -vv click.tests.integration | 13 | TEST_INTEGRATION=1 python3 -m unittest discover -vv click_package.tests.integration |
740 | 14 | 14 | ||
741 | === modified file 'doc/index.rst' | |||
742 | --- doc/index.rst 2015-05-01 07:28:16 +0000 | |||
743 | +++ doc/index.rst 2017-06-07 11:34:17 +0000 | |||
744 | @@ -84,11 +84,11 @@ | |||
745 | 84 | 84 | ||
746 | 85 | To run a specific testcase, use the standard python unittest syntax like:: | 85 | To run a specific testcase, use the standard python unittest syntax like:: |
747 | 86 | 86 | ||
749 | 87 | $ python3 -m unittest click.tests.test_install | 87 | $ python3 -m unittest click_package.tests.test_install |
750 | 88 | 88 | ||
751 | 89 | or:: | 89 | or:: |
752 | 90 | 90 | ||
754 | 91 | $ python2 -m unittest click.tests.test_build.TestClickBuilder.test_build | 91 | $ python2 -m unittest click_package.tests.test_build.TestClickBuilder.test_build |
755 | 92 | 92 | ||
756 | 93 | Test coverage | 93 | Test coverage |
757 | 94 | ------------- | 94 | ------------- |
758 | @@ -130,7 +130,7 @@ | |||
759 | 130 | GI_TYPELIB_PATH=$(pwd)/lib/click \ | 130 | GI_TYPELIB_PATH=$(pwd)/lib/click \ |
760 | 131 | CLICK_BINARY=$(pwd)/bin/click \ | 131 | CLICK_BINARY=$(pwd)/bin/click \ |
761 | 132 | TEST_INTEGRATION=1 \ | 132 | TEST_INTEGRATION=1 \ |
763 | 133 | python3 -m unittest discover click.tests.integration | 133 | python3 -m unittest discover click_package.tests.integration |
764 | 134 | 134 | ||
765 | 135 | to run against the build tree. | 135 | to run against the build tree. |
766 | 136 | 136 | ||
767 | 137 | 137 | ||
768 | === modified file 'setup.py.in' | |||
769 | --- setup.py.in 2014-06-30 16:48:31 +0000 | |||
770 | +++ setup.py.in 2017-06-07 11:34:17 +0000 | |||
771 | @@ -29,7 +29,7 @@ | |||
772 | 29 | coverage_executable = "python3-coverage" | 29 | coverage_executable = "python3-coverage" |
773 | 30 | self.spawn([ | 30 | self.spawn([ |
774 | 31 | coverage_executable, "run", "-m", "unittest", | 31 | coverage_executable, "run", "-m", "unittest", |
776 | 32 | "discover", "-vv", "click.tests"]) | 32 | "discover", "-vv", "click_package.tests"]) |
777 | 33 | self.spawn([coverage_executable, "combine"]) | 33 | self.spawn([coverage_executable, "combine"]) |
778 | 34 | self.spawn([ | 34 | self.spawn([ |
779 | 35 | coverage_executable, "xml", "-o", "coverage-python.xml"]) | 35 | coverage_executable, "xml", "-o", "coverage-python.xml"]) |
780 | @@ -49,5 +49,5 @@ | |||
781 | 49 | scripts=['bin/click'], | 49 | scripts=['bin/click'], |
782 | 50 | install_requires=requirements, | 50 | install_requires=requirements, |
783 | 51 | cmdclass={"test": test_extra}, | 51 | cmdclass={"test": test_extra}, |
785 | 52 | test_suite="click.tests", | 52 | test_suite="click_package.tests", |
786 | 53 | ) | 53 | ) |
787 | 54 | 54 | ||
788 | === modified file 'tox.ini' | |||
789 | --- tox.ini 2014-03-03 12:44:14 +0000 | |||
790 | +++ tox.ini 2017-06-07 11:34:17 +0000 | |||
791 | @@ -1,6 +1,6 @@ | |||
792 | 1 | [tox] | 1 | [tox] |
794 | 2 | envlist = py27,py32,py33,py34 | 2 | envlist = py27,py32,py33,py34,py35,py36 |
795 | 3 | 3 | ||
796 | 4 | [testenv] | 4 | [testenv] |
798 | 5 | commands = python -m unittest discover -vv click.tests | 5 | commands = python -m unittest discover -vv click_package.tests |
799 | 6 | sitepackages = True | 6 | sitepackages = True |
zesty test package https:/ /launchpad. net/~sergiusens /+archive/ ubuntu/ ppa/+packages? field.name_ filter= click&field. status_ filter= published& field.series_ filter=