Codebase list python-popcon / cde6c64
fixed new style functions in __main__ script Bastian Venthur 4 years ago
4 changed file(s) with 19 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 # Changelog
1
2 ## [2.0.2] - 2020-02-11
3
4 * Fixed main script to use the new-style functions introduced in 2.0.1
5 * Import new-style functions in __init__.py
16
27 ## [2.0.1] - 2019-11-17
38
0 python-popcon (2.0.2) unstable; urgency=medium
1
2 * Fixed main script to use the new-style functions introduced in 2.0.1
3 (Closes #950963), thanks Gregor Herrmann!
4 * Import new-style functions in __init__.py
5
6 -- Bastian Venthur <venthur@debian.org> Tue, 11 Feb 2020 15:56:49 +0100
7
08 python-popcon (2.0.1) unstable; urgency=medium
19
210 * deprecated functions with packages as positional arguments, the new ones
00 from popcon.version import __version__ # noqa
1 from popcon.popcon import packages # noqa
12 from popcon.popcon import package # noqa
3 from popcon.popcon import packages_raw # noqa
24 from popcon.popcon import package_raw # noqa
5 from popcon.popcon import source_packages # noqa
36 from popcon.popcon import source_package # noqa
7 from popcon.popcon import source_packages_raw # noqa
48 from popcon.popcon import source_package_raw # noqa
00 import sys
11
2 from popcon import package
2 from popcon import packages
33
44
55 def main():
77 raise RuntimeError('No package name given')
88 pkg = sys.argv[1]
99 print(pkg)
10 print(package(pkg))
10 print(packages([pkg]))
1111
1212
1313 if __name__ == '__main__':