commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2020-06-10 00:43:23 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.3606 (New) Package is "python-argcomplete" Wed Jun 10 00:43:23 2020 rev:16 rq:809816 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2020-05-02 22:17:05.744505671 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.3606/python-argcomplete.changes 2020-06-10 00:43:29.086195153 +0200 @@ -1,0 +2,5 @@ +Wed May 27 13:01:18 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.vpBGIz/_old 2020-06-10 00:43:30.690199158 +0200 +++ /var/tmp/diff_new_pack.vpBGIz/_new 2020-06-10 00:43:30.694199168 +0200 @@ -37,6 +37,8 @@ BuildRequires: fish BuildRequires: python-rpm-macros Requires: python-importlib-metadata >= 0.23 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -57,32 +59,45 @@ %prep %setup -q -n argcomplete-%{version} %autopatch -p1 -# https://github.com/kislyuk/argcomplete/issues/255 -# https://github.com/kislyuk/argcomplete/issues/256 -sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/* -sed -i -e "s|python |python3 |g" test/test.py %build %python_build %install %python_install +%python_clone -a %{buildroot}%{_bindir}/register-python-argcomplete +%python_clone -a %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script rm -rf %{buildroot}%{python_sitelib}/test rm %{buildroot}%{_bindir}/activate-global-python-argcomplete -%python_expand %fdupes %{buildroot}%{$python_sitelib} # tcsh support is broken rm %{buildroot}%{_bindir}/python-argcomplete-tcsh +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover -v +%{python_expand \ + # https://github.com/kislyuk/argcomplete/issues/255 + # https://github.com/kislyuk/argcomplete/issues/256 + # https://github.com/kislyuk/argcomplete/issues/299 + sed -i -e "1s|#!.*python.*|#!%{_bindir}/$python|" test/prog scripts/* + sed -i -e "s|python |$python |g" test/test.py + PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover -v +} + +%post +%python_install_alternative register-python-argcomplete +%python_install_alternative python-argcomplete-check-easy-install-script + +%postun +%python_uninstall_alternative register-python-argcomplete +%python_uninstall_alternative python-argcomplete-check-easy-install-script %files %{python_files} %doc README.rst %license LICENSE.rst %{python_sitelib}/argcomplete-%{version}-py%{python_version}.egg-info %{python_sitelib}/argcomplete -%python3_only %{_bindir}/python-argcomplete-check-easy-install-script -%python3_only %{_bindir}/register-python-argcomplete +%python_alternative %{_bindir}/python-argcomplete-check-easy-install-script +%python_alternative %{_bindir}/register-python-argcomplete %changelog
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2020-05-02 22:17:05 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.2738 (New) Package is "python-argcomplete" Sat May 2 22:17:05 2020 rev:15 rq:799410 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2020-03-26 23:35:01.910813121 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.2738/python-argcomplete.changes 2020-05-02 22:17:05.744505671 +0200 @@ -1,0 +2,5 @@ +Thu Apr 30 06:05:59 UTC 2020 - Tomáš Chvátal + +- Fix test execution without /usr/bin/python + +--- Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.iLWasD/_old 2020-05-02 22:17:06.316506869 +0200 +++ /var/tmp/diff_new_pack.iLWasD/_new 2020-05-02 22:17:06.320506877 +0200 @@ -29,13 +29,14 @@ Patch0: skip_tcsh_tests.patch Patch1: trim-test-deps.patch Patch2: 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch -BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module importlib-metadata >= 0.23} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: fish BuildRequires: python-rpm-macros +Requires: python-importlib-metadata >= 0.23 BuildArch: noarch %python_subpackages @@ -55,9 +56,11 @@ %prep %setup -q -n argcomplete-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autopatch -p1 +# https://github.com/kislyuk/argcomplete/issues/255 +# https://github.com/kislyuk/argcomplete/issues/256 +sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/* +sed -i -e "s|python |python3 |g" test/test.py %build %python_build
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2020-03-26 23:34:11 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.3160 (New) Package is "python-argcomplete" Thu Mar 26 23:34:11 2020 rev:14 rq:788475 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2020-01-17 16:07:54.564511637 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.3160/python-argcomplete.changes 2020-03-26 23:35:01.910813121 +0100 @@ -1,0 +2,6 @@ +Thu Mar 26 09:44:38 UTC 2020 - Antonio Larrosa + +- Add patch from upstream to fix tests with latest fish version: + * 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch + +--- New: 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.8Tds5h/_old 2020-03-26 23:35:02.362813284 +0100 +++ /var/tmp/diff_new_pack.8Tds5h/_new 2020-03-26 23:35:02.366813285 +0100 @@ -28,6 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch Patch1: trim-test-deps.patch +Patch2: 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pip} @@ -56,6 +57,7 @@ %setup -q -n argcomplete-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %python_build ++ 0001-Remove-expected-test-failure-for-new-versions-of-fish.patch ++ >From 08bfc8a788e8081515d733e67be026d051c726f7 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 19 Mar 2020 14:55:07 +1100 Subject: [PATCH] Remove expected test failure for new versions of fish (#292) --- test/test.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index e91352b..2c34806 100755 --- a/test/test.py +++ b/test/test.py @@ -28,6 +28,8 @@ BASH_VERSION = subprocess.check_output(['bash', '-c', 'echo $BASH_VERSION']).decode() BASH_MAJOR_VERSION = int(BASH_VERSION.split('.')[0]) +FISH_VERSION_STR = subprocess.check_output(['fish', '-c', 'echo -n $FISH_VERSION']).decode() +FISH_VERSION_TUPLE = tuple(int(x) for x in FISH_VERSION_STR.split('.')) class TempDir(object): @@ -1258,8 +1260,11 @@ class TestFish(_TestSh, unittest.TestCase): expected_failures = [ 'test_parse_special_characters', 'test_comp_point', -'test_special_characters_double_quoted' ] +if FISH_VERSION_TUPLE < (3, 1): +expected_failures.extend([ +'test_special_characters_double_quoted' +]) skipped = [ 'test_single_quotes_in_single_quotes',
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2020-01-17 16:07:32 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.26092 (New) Package is "python-argcomplete" Fri Jan 17 16:07:32 2020 rev:13 rq:765227 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2019-09-27 14:47:29.860913100 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.26092/python-argcomplete.changes 2020-01-17 16:07:54.564511637 +0100 @@ -1,0 +2,13 @@ +Fri Jan 17 10:42:58 UTC 2020 - Marketa Calabkova + +- update to 1.11.1 + * Add -o bashdefault to register-python-argcomplete’s output command + * Use shell builtins where possible + * Switch from pkg_resources to importlib + * Remove .sh extension by bash-completion convention + * Do not suggest options after – + * Include all test directory contents in source distribution + * Trigger completers on –optional=PARTIAL_VALUE + * Documentation and test improvements + +--- Old: argcomplete-1.10.0.tar.gz New: argcomplete-1.11.1.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.7Ag8dX/_old 2020-01-17 16:07:56.152512389 +0100 +++ /var/tmp/diff_new_pack.7Ag8dX/_new 2020-01-17 16:07:56.152512389 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version:1.10.0 +Version:1.11.1 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 @@ -28,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch Patch1: trim-test-deps.patch +BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module pexpect} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: fish @@ -63,13 +65,12 @@ rm -rf %{buildroot}%{python_sitelib}/test rm %{buildroot}%{_bindir}/activate-global-python-argcomplete %python_expand %fdupes %{buildroot}%{$python_sitelib} -install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/python-argcomplete.sh # tcsh support is broken rm %{buildroot}%{_bindir}/python-argcomplete-tcsh %check export LANG=en_US.UTF-8 -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover -v %files %{python_files} %doc README.rst @@ -78,6 +79,5 @@ %{python_sitelib}/argcomplete %python3_only %{_bindir}/python-argcomplete-check-easy-install-script %python3_only %{_bindir}/register-python-argcomplete -%python3_only %{_datadir}/bash-completion/completions/python-argcomplete.sh %changelog ++ argcomplete-1.10.0.tar.gz -> argcomplete-1.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.10.0/Changes.rst new/argcomplete-1.11.1/Changes.rst --- old/argcomplete-1.10.0/Changes.rst 2019-05-12 19:26:38.0 +0200 +++ new/argcomplete-1.11.1/Changes.rst 2020-01-14 18:19:23.0 +0100 @@ -1,3 +1,39 @@ +Changes for v1.11.1 (2020-01-14) + + +- Add -o bashdefault to register-python-argcomplete’s output command + (#284) + +Changes for v1.11.0 (2019-12-23) + + +- Use shell builtins where possible (#280) + +- Switch from pkg_resources to importlib (#283) + +- Remove .sh extension by bash-completion convention (#281) + +- Catch exceptions in \_check_module (#269) + +- Documentation and test improvements + +Changes for v1.10.3 (2019-11-26) + + +- Do not suggest options after – (end-of-options delimiter) + +Changes for v1.10.2 (2019-11-17) + + +- Include all test directory contents in source distribution + +Changes for v1.10.1 (2019-11-16) + + +- Trigger completers on –optional=PARTIAL_VALUE + +- Complete console scripts installed from wheels (#241) + Changes for v1.10.0 (2019-05-12) diff -urN
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2019-09-27 14:47:28 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.2352 (New) Package is "python-argcomplete" Fri Sep 27 14:47:28 2019 rev:12 rq:730714 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2019-04-08 20:53:00.294544963 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.2352/python-argcomplete.changes 2019-09-27 14:47:29.860913100 +0200 @@ -1,0 +2,7 @@ +Fri Sep 13 12:45:13 UTC 2019 - Tomáš Chvátal + +- Update to 1.10.0: + * fish support +- Refresh patch skip_tcsh_tests.patch + +--- Old: argcomplete-1.9.5.tar.gz New: argcomplete-1.10.0.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.YkjaAZ/_old 2019-09-27 14:47:30.652911040 +0200 +++ /var/tmp/diff_new_pack.YkjaAZ/_new 2019-09-27 14:47:30.664911009 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version:1.9.5 +Version:1.10.0 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 @@ -31,6 +31,7 @@ BuildRequires: %{python_module pexpect} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: fish BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages ++ argcomplete-1.9.5.tar.gz -> argcomplete-1.10.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.5/Changes.rst new/argcomplete-1.10.0/Changes.rst --- old/argcomplete-1.9.5/Changes.rst 2019-04-02 15:58:44.0 +0200 +++ new/argcomplete-1.10.0/Changes.rst 2019-05-12 19:26:38.0 +0200 @@ -1,3 +1,8 @@ +Changes for v1.10.0 (2019-05-12) + + +- Fish support #68 (#260), thanks to @volkov + Changes for v1.9.5 (2019-04-02) === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.5/PKG-INFO new/argcomplete-1.10.0/PKG-INFO --- old/argcomplete-1.9.5/PKG-INFO 2019-04-02 15:59:05.0 +0200 +++ new/argcomplete-1.10.0/PKG-INFO 2019-05-12 19:26:48.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: argcomplete -Version: 1.9.5 +Version: 1.10.0 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk @@ -281,6 +281,16 @@ complete my-awesome-script 'p@*@`python-argcomplete-tcsh my-awesome-script`@' +Fish Support + +To activate completions for fish use:: + +register-python-argcomplete --shell fish my-awesome-script | . + +or create new completion file, e.g:: + +register-python-argcomplete --shell fish ~/.config/fish/completions/my-awesome-script.fish + Python Support -- Argcomplete requires Python 2.7 or 3.3+. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.5/README.rst new/argcomplete-1.10.0/README.rst --- old/argcomplete-1.9.5/README.rst2019-04-02 15:57:32.0 +0200 +++ new/argcomplete-1.10.0/README.rst 2019-05-12 19:16:02.0 +0200 @@ -273,6 +273,16 @@ complete my-awesome-script 'p@*@`python-argcomplete-tcsh my-awesome-script`@' +Fish Support + +To activate completions for fish use:: + +register-python-argcomplete --shell fish my-awesome-script | . + +or create new completion file, e.g:: + +register-python-argcomplete --shell fish ~/.config/fish/completions/my-awesome-script.fish + Python Support -- Argcomplete requires Python 2.7 or 3.3+. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.5/argcomplete/__init__.py new/argcomplete-1.10.0/argcomplete/__init__.py --- old/argcomplete-1.9.5/argcomplete/__init__.py 2018-02-13 16:43:58.0 +0100 +++ new/argcomplete-1.10.0/argcomplete/__init__.py 2019-05-12 19:16:02.0 +0200 @@ -537,8 +537,8 @@ elif cword_prequote == '"': special_chars += '"`$!' -if os.environ.get("_ARGCOMPLETE_SHELL") == "tcsh": -# tcsh escapes special characters itself. +if os.environ.get("_ARGCOMPLETE_SHELL") in ("tcsh", "fish"): +# tcsh
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2019-04-08 20:52:57 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.3908 (New) Package is "python-argcomplete" Mon Apr 8 20:52:57 2019 rev:11 rq:691783 version:1.9.5 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2019-02-25 17:57:30.582282336 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.3908/python-argcomplete.changes 2019-04-08 20:53:00.294544963 +0200 @@ -1,0 +2,7 @@ +Fri Apr 5 11:02:52 UTC 2019 - Tomáš Chvátal + +- Update to 1.9.5: + * check_module: Don’t crash, exit with error instead (#261) + * Register completion for multiple commands (#246) + +--- Old: argcomplete-1.9.4.tar.gz New: argcomplete-1.9.5.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.AnJIyr/_old 2019-04-08 20:53:00.966545456 +0200 +++ /var/tmp/diff_new_pack.AnJIyr/_new 2019-04-08 20:53:00.974545462 +0200 @@ -17,23 +17,21 @@ # -%{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version:1.9.4 +Version:1.9.5 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 Group: Development/Languages/Python -Url:https://github.com/kislyuk/argcomplete +URL:https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch Patch1: trim-test-deps.patch +BuildRequires: %{python_module pexpect} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION tests -BuildRequires: %{python_module pexpect} -# END SECTIONS tests BuildArch: noarch %python_subpackages @@ -63,10 +61,8 @@ %python_install rm -rf %{buildroot}%{python_sitelib}/test rm %{buildroot}%{_bindir}/activate-global-python-argcomplete -%python_clone %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script -%python_clone %{buildroot}%{_bindir}/register-python-argcomplete -install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh -%python_clone %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh +%python_expand %fdupes %{buildroot}%{$python_sitelib} +install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/python-argcomplete.sh # tcsh support is broken rm %{buildroot}%{_bindir}/python-argcomplete-tcsh @@ -81,9 +77,6 @@ %{python_sitelib}/argcomplete %python3_only %{_bindir}/python-argcomplete-check-easy-install-script %python3_only %{_bindir}/register-python-argcomplete -%python3_only %{_sysconfdir}/bash_completion.d/python-argcomplete.sh -%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} -%{_bindir}/register-python-argcomplete-%{python_version} -%{_sysconfdir}/bash_completion.d/python-argcomplete.sh-%{python_version} +%python3_only %{_datadir}/bash-completion/completions/python-argcomplete.sh %changelog ++ argcomplete-1.9.4.tar.gz -> argcomplete-1.9.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.4/Changes.rst new/argcomplete-1.9.5/Changes.rst --- old/argcomplete-1.9.4/Changes.rst 2018-02-13 16:40:50.0 +0100 +++ new/argcomplete-1.9.5/Changes.rst 2019-04-02 15:58:44.0 +0200 @@ -1,3 +1,10 @@ +Changes for v1.9.5 (2019-04-02) +=== + +- check_module: Don’t crash, exit with error instead (#261) + +- Register completion for multiple commands (#246) + Changes for v1.9.4 (2018-02-13) === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.4/PKG-INFO new/argcomplete-1.9.5/PKG-INFO --- old/argcomplete-1.9.4/PKG-INFO 2018-02-13 16:41:04.0 +0100 +++ new/argcomplete-1.9.5/PKG-INFO 2019-04-02 15:59:05.0 +0200 @@ -1,12 +1,11 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: argcomplete -Version: 1.9.4 +Version: 1.9.5 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk Author-email: kisl...@gmail.com License: Apache Software
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2019-02-25 17:57:26 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.28833 (New) Package is "python-argcomplete" Mon Feb 25 17:57:26 2019 rev:10 rq:678738 version:1.9.4 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2018-12-12 17:25:00.803141559 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.28833/python-argcomplete.changes 2019-02-25 17:57:30.582282336 +0100 @@ -1,0 +2,12 @@ +Mon Feb 25 05:52:03 UTC 2019 - John Vandenberg + +- Trim unnecessary build dependencies using trim-test-deps.patch +- Simplify skip_tcsh_tests.patch so it is easier to read and update +- Update to v1.9.4 + * Use the correct interpreter when checking wrappers + * Provide shellcode as a module function (#237) +- from v1.9.3 + * Fix handling of COMP\_POINT + * Fix crash when writing unicode to debug\_stream in Python 2 + +--- Old: argcomplete-1.9.2.tar.gz New: argcomplete-1.9.4.tar.gz trim-test-deps.patch Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.PWXAMP/_old 2019-02-25 17:57:32.126281023 +0100 +++ /var/tmp/diff_new_pack.PWXAMP/_new 2019-02-25 17:57:32.126281023 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version:1.9.2 +Version:1.9.4 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 @@ -28,15 +28,12 @@ Url:https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch +Patch1: trim-test-deps.patch BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION tests -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module flake8} BuildRequires: %{python_module pexpect} -BuildRequires: %{python_module wheel} # END SECTIONS tests -Requires: python-wheel BuildArch: noarch %python_subpackages @@ -57,6 +54,7 @@ %prep %setup -q -n argcomplete-%{version} %patch0 -p1 +%patch1 -p1 %build %python_build @@ -77,7 +75,6 @@ %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) %doc README.rst %license LICENSE.rst %{python_sitelib}/argcomplete-%{version}-py%{python_version}.egg-info ++ argcomplete-1.9.2.tar.gz -> argcomplete-1.9.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.2/Changes.rst new/argcomplete-1.9.4/Changes.rst --- old/argcomplete-1.9.2/Changes.rst 2017-08-23 19:37:47.0 +0200 +++ new/argcomplete-1.9.4/Changes.rst 2018-02-13 16:40:50.0 +0100 @@ -1,3 +1,17 @@ +Changes for v1.9.4 (2018-02-13) +=== + +- Use the correct interpreter when checking wrappers (#226) + +- Provide shellcode as a module function (#237) + +Changes for v1.9.3 (2017-11-16) +=== + +- Fix handling of COMP\_POINT (#236) + +- Fix crash when writing unicode to debug\_stream in Python 2 (#230) + Changes for v1.9.2 (2017-08-23) === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-1.9.2/PKG-INFO new/argcomplete-1.9.4/PKG-INFO --- old/argcomplete-1.9.2/PKG-INFO 2017-08-23 19:38:01.0 +0200 +++ new/argcomplete-1.9.4/PKG-INFO 2018-02-13 16:41:04.0 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: argcomplete -Version: 1.9.2 +Version: 1.9.4 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk Author-email: kisl...@gmail.com License: Apache Software License +Description-Content-Type: UNKNOWN Description: argcomplete - Bash tab completion for argparse == *Tab complete all the things!* @@ -51,11 +52,6 @@ eval "$(register-python-argcomplete my-awesome-script)" -Note that the script name is passed directly
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2018-12-12 17:25:00 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.28833 (New) Package is "python-argcomplete" Wed Dec 12 17:25:00 2018 rev:9 rq:653915 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2017-10-05 12:06:41.209887335 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.28833/python-argcomplete.changes 2018-12-12 17:25:00.803141559 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:45:38 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.lBxzU0/_old 2018-12-12 17:25:01.271140962 +0100 +++ /var/tmp/diff_new_pack.lBxzU0/_new 2018-12-12 17:25:01.275140957 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -28,7 +28,6 @@ Url:https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION tests
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2017-10-05 12:02:49 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is "python-argcomplete" Thu Oct 5 12:02:49 2017 rev:8 rq:531242 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2017-07-21 22:50:43.857457082 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2017-10-05 12:06:41.209887335 +0200 @@ -1,0 +2,20 @@ +Fri Sep 15 13:49:08 UTC 2017 - adrian.glaub...@suse.com + +- New upstream release + + Version 1.9.2 +- Update patch to skip broken tcsh tests + + skip_tcsh_tests.patch +- Fix issues with singlespec auto-conversion + + Install %{python_sitelib}/bash_completion.d/python-argcomplete.sh +into %{_sysconfdir}/bash_completion.d/ + + Use %python_clone to create both Python 2 and Python 3 versions +of all scripts below /usr/bin and /etc/bash_completion.d +with the %{python_version} suffix; also install the Python 3 +versions without the suffix + +--- +Thu Aug 24 13:32:49 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +--- @@ -117 +136,0 @@ - Old: argcomplete-1.8.2.tar.gz New: argcomplete-1.9.2.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.2YES4U/_old 2017-10-05 12:06:44.393438916 +0200 +++ /var/tmp/diff_new_pack.2YES4U/_new 2017-10-05 12:06:44.397438353 +0200 @@ -18,8 +18,9 @@ %{!?license: %global license %doc} +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version:1.8.2 +Version:1.9.2 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 @@ -27,18 +28,18 @@ Url:https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION tests -BuildRequires: python-coverage -BuildRequires: python-flake8 -BuildRequires: python-pexpect -BuildRequires: python-wheel +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module pexpect} +BuildRequires: %{python_module wheel} # END SECTIONS tests Requires: python-wheel -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch +%python_subpackages %description Argcomplete provides easy, extensible command line tab completion of @@ -56,46 +57,37 @@ %prep %setup -q -n argcomplete-%{version} -%patch0 +%patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install rm -rf %{buildroot}%{python_sitelib}/test rm %{buildroot}%{_bindir}/activate-global-python-argcomplete -rm %{buildroot}%{_bindir}/register-python-argcomplete -mv %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script \ - %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} -mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ -ln -sf %{_sysconfdir}/alternatives/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ -ln -sf %{_sysconfdir}/alternatives/python-argcomplete-check-easy-install-script %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script +%python_clone %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script +%python_clone %{buildroot}%{_bindir}/register-python-argcomplete +install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh +%python_clone %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh # tcsh support is broken rm %{buildroot}%{_bindir}/python-argcomplete-tcsh -sed -i 's/^#!\/usr\/bin\/python$/#!\/usr\/bin\/python2/' %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} %check export LANG=en_US.UTF-8 -python setup.py test +%python_exec setup.py test -%post -update-alternatives \ ---install %{_sysconfdir}/bash_completion.d/python-argcomplete.sh python-argcomplete.sh \ -
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2017-07-21 22:50:43 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is "python-argcomplete" Fri Jul 21 22:50:43 2017 rev:7 rq:511764 version:1.8.2 Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2016-11-14 20:14:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2017-07-21 22:50:43.857457082 +0200 @@ -1,0 +2,6 @@ +Thu Jul 20 09:48:53 UTC 2017 - sebix+novell@sebix.at + +- update to 1.8.2 +- add patch skip_tcsh_tests.patch to skip broken tcsh tests + +--- Old: argcomplete-1.0.0.tar.gz New: argcomplete-1.8.2.tar.gz skip_tcsh_tests.patch Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.zKxSIq/_old 2017-07-21 22:50:44.421377534 +0200 +++ /var/tmp/diff_new_pack.zKxSIq/_new 2017-07-21 22:50:44.425376969 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -17,22 +17,30 @@ # +%{!?license: %global license %doc} Name: python-argcomplete -Version:1.0.0 +Version:1.8.2 Release:0 Summary:Bash tab completion for argparse License:Apache-2.0 Group: Development/Languages/Python Url:https://github.com/kislyuk/argcomplete -Source: http://pypi.python.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz +Patch0: skip_tcsh_tests.patch BuildRequires: python-devel BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# SECTION tests +BuildRequires: python-coverage +BuildRequires: python-flake8 +BuildRequires: python-pexpect +BuildRequires: python-wheel +# END SECTIONS tests +Requires: python-wheel +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %description -argcomplete - Bash completion for argparse - Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. @@ -48,6 +56,7 @@ %prep %setup -q -n argcomplete-%{version} +%patch0 %build python setup.py build @@ -55,15 +64,19 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}%{python_sitelib}/test -rm %{buildroot}/usr/bin/activate-global-python-argcomplete -rm %{buildroot}/usr/bin/register-python-argcomplete -mv %{buildroot}/usr/bin/python-argcomplete-check-easy-install-script \ -%{buildroot}/usr/bin/python-argcomplete-check-easy-install-script-%{py_ver} +rm %{buildroot}%{_bindir}/activate-global-python-argcomplete +rm %{buildroot}%{_bindir}/register-python-argcomplete +mv %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script \ + %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ ln -sf %{_sysconfdir}/alternatives/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ ln -sf %{_sysconfdir}/alternatives/python-argcomplete-check-easy-install-script %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script +# tcsh support is broken +rm %{buildroot}%{_bindir}/python-argcomplete-tcsh +sed -i 's/^#!\/usr\/bin\/python$/#!\/usr\/bin\/python2/' %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} %check +export LANG=en_US.UTF-8 python setup.py test %post @@ -75,8 +88,8 @@ %{_bindir}/python-argcomplete-check-easy-install-script-%{py_ver} %files -%defattr(-,root,root,-) -%doc LICENSE.rst README.rst +%doc README.rst +%license LICENSE.rst %ghost %{_bindir}/python-argcomplete-check-easy-install-script %{_bindir}/python-argcomplete-check-easy-install-script-%{py_ver} %{python_sitelib}/argcomplete-%{version}-py%{py_ver}.egg-info ++ argcomplete-1.0.0.tar.gz -> argcomplete-1.8.2.tar.gz ++ 2747 lines of diff (skipped) ++ skip_tcsh_tests.patch ++ --- test/test.py2017-01-26 21:58:24.0 +0100 +++ test/test.py2017-07-20 11:36:11.820934599 +0200 @@ -1041,6 +1041,7 @@
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2016-11-14 20:14:34 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is "python-argcomplete" Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2016-01-01 19:50:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2016-11-14 20:14:35.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 02 20:50:53 UTC 2016 - achim.her...@wodca.de + +- ported back from python3 package including + introduced update-alternatives to coexist with corresponding python3 package + +--- Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.7uZ9R7/_old 2016-11-14 20:14:36.0 +0100 +++ /var/tmp/diff_new_pack.7uZ9R7/_new 2016-11-14 20:14:36.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -28,14 +28,7 @@ BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -BuildRequires: python-argparse -Requires: python-argparse -%else BuildArch: noarch -%endif %description argcomplete - Bash completion for argparse @@ -62,20 +55,34 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}%{python_sitelib}/test +rm %{buildroot}/usr/bin/activate-global-python-argcomplete +rm %{buildroot}/usr/bin/register-python-argcomplete +mv %{buildroot}/usr/bin/python-argcomplete-check-easy-install-script \ +%{buildroot}/usr/bin/python-argcomplete-check-easy-install-script-%{py_ver} mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ -install -p -m0644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ +ln -sf %{_sysconfdir}/alternatives/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ +ln -sf %{_sysconfdir}/alternatives/python-argcomplete-check-easy-install-script %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script %check python setup.py test +%post +update-alternatives \ +--install %{_sysconfdir}/bash_completion.d/python-argcomplete.sh python-argcomplete.sh \ + %{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh 20 \ +--slave %{_bindir}/python-argcomplete-check-easy-install-script \ + python-argcomplete-check-easy-install-script \ + %{_bindir}/python-argcomplete-check-easy-install-script-%{py_ver} + %files %defattr(-,root,root,-) %doc LICENSE.rst README.rst -%{_bindir}/activate-global-python-argcomplete -%{_bindir}/python-argcomplete-check-easy-install-script -%{_bindir}/register-python-argcomplete +%ghost %{_bindir}/python-argcomplete-check-easy-install-script +%{_bindir}/python-argcomplete-check-easy-install-script-%{py_ver} %{python_sitelib}/argcomplete-%{version}-py%{py_ver}.egg-info %{python_sitelib}/argcomplete -%config %{_sysconfdir}/bash_completion.d/python-argcomplete.sh +%{_sysconfdir}/bash_completion.d/python-argcomplete.sh +%ghost %{_sysconfdir}/alternatives/python-argcomplete.sh +%ghost %{_sysconfdir}/alternatives/python-argcomplete-check-easy-install-script %changelog
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2016-01-01 19:48:18 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is "python-argcomplete" Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2015-04-21 10:53:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2016-01-01 19:50:20.0 +0100 @@ -1,0 +2,12 @@ +Sat Dec 12 17:49:43 UTC 2015 - mimi...@gmail.com + +- update to 1.0.0 +* Don't print args with suppressed help by default; add + argcomplete.autocomplete(print_suppressed=True) to control this behavior +* Fix always_complete_options=False support. +* Correct doc filename in setup.cfg +* Make context managers exception-safe. +* Fix issue with non-string choices for arguments. +* Improve non-ascii argparse argument support on Python 2.7. + +--- Old: argcomplete-0.8.7.tar.gz New: argcomplete-1.0.0.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.fQUYFm/_old 2016-01-01 19:50:21.0 +0100 +++ /var/tmp/diff_new_pack.fQUYFm/_new 2016-01-01 19:50:21.0 +0100 @@ -18,20 +18,21 @@ Name: python-argcomplete -Version:0.8.7 +Version:1.0.0 Release:0 -Url:https://github.com/kislyuk/argcomplete Summary:Bash tab completion for argparse License:Apache-2.0 Group: Development/Languages/Python +Url:https://github.com/kislyuk/argcomplete Source: http://pypi.python.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build + %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} BuildRequires: python-argparse Requires: python-argparse -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif @@ -61,6 +62,8 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}%{python_sitelib}/test +mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ +install -p -m0644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/ %check python setup.py test @@ -73,5 +76,6 @@ %{_bindir}/register-python-argcomplete %{python_sitelib}/argcomplete-%{version}-py%{py_ver}.egg-info %{python_sitelib}/argcomplete +%config %{_sysconfdir}/bash_completion.d/python-argcomplete.sh %changelog ++ argcomplete-0.8.7.tar.gz -> argcomplete-1.0.0.tar.gz ++ 1658 lines of diff (skipped)
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2015-04-21 10:53:54 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is python-argcomplete Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2014-01-23 15:53:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2015-04-21 10:53:54.0 +0200 @@ -1,0 +2,52 @@ +Sun Apr 19 16:08:50 UTC 2015 - benoit.mo...@gmx.fr + +- update to 0.8.7: + * register-python-argcomplete: add option to avoid default +readline completion. Thanks to @drmalex07 (pull request #99). +- additional changes from 0.8.6: + * Expand tilde in script name, allowing argcomplete to work +when invoking scripts from one's home directory. Thanks to +@VorpalBlade (Issue 104). +- additional changes from 0.8.5: + * Fix issues related to using argcomplete in a REPL +environement. + * New helper method for custom completion display. + * Expand test suite; formatting cleanup. +- additional changes from 0.8.4: + * Fix issue related to using argcomplete in a REPL +environement. Thanks to @wapiflapi (pull request #91). +- additional changes from 0.8.3: + * Fix multiple issues related to using argcomplete in a REPL +environement. Thanks to @wapiflapi (pull request #90). +- additional changes from 0.8.2: + * Don't strip colon prefix in completion results if +COMP_WORDBREAKS does not contain a colon. Thanks to @berezv +(pull request #88). +- additional changes from 0.8.1: + * Use complete --nospace to avoid issues with directory +completion. +- additional changes from 0.8.0: + * Refactor main body of code into a class to enable +subclassing and overriding of functionality (Issue #78). +- additional changes from 0.7.1: + * New keyword option argcomplete.autocomplete(validator=...) +to supply a custom validator or bypass default validation. +Thanks to @thijsdezoete (Issue #77). + * Document debug options. +- additional changes from 0.7.0: + * New keyword option argcomplete.autocomplete(exclude=[...]) +to suppress options (Issue #74). + * More speedups to code path for global completion hook negative +result. +- additional changes from 0.6.9: + * Fix handling of development mode script wrappers. Thanks to +@jmlopez-rod and @dcosson (Issue #69). + * Speed up code path for global completion hook negative +result by loading pkg_resources on demand. +- additional changes from 0.6.8: + * Begin tracking changes in changelog. + * Add completion support for PBR installed scripts (PR #71). + * Detect easy-install shims with shebang lines that contain +Py instead of py (Issue #69). + +--- Old: argcomplete-0.6.7.tar.gz New: argcomplete-0.8.7.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.veFDSK/_old 2015-04-21 10:53:55.0 +0200 +++ /var/tmp/diff_new_pack.veFDSK/_new 2015-04-21 10:53:55.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: python-argcomplete -Version:0.6.7 +Version:0.8.7 Release:0 Url:https://github.com/kislyuk/argcomplete Summary:Bash tab completion for argparse ++ argcomplete-0.6.7.tar.gz - argcomplete-0.8.7.tar.gz ++ 2108 lines of diff (skipped)
commit python-argcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2014-01-20 07:53:55 Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new (New) Package is python-argcomplete Changes: --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2013-12-18 16:54:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes 2014-01-23 15:53:50.0 +0100 @@ -1,0 +2,7 @@ +Fri Jan 17 15:50:53 UTC 2014 - speili...@suse.com + +- Update to version 0.6.7: + + Upstream provides no changelog +- Don't install testsuite globally + +--- Old: argcomplete-0.6.3.tar.gz New: argcomplete-0.6.7.tar.gz Other differences: -- ++ python-argcomplete.spec ++ --- /var/tmp/diff_new_pack.JUrDR6/_old 2014-01-23 15:53:51.0 +0100 +++ /var/tmp/diff_new_pack.JUrDR6/_new 2014-01-23 15:53:51.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-argcomplete # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 Darin Perusich. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: python-argcomplete -Version:0.6.3 +Version:0.6.7 Release:0 Url:https://github.com/kislyuk/argcomplete Summary:Bash tab completion for argparse @@ -60,6 +60,7 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +rm -rf %{buildroot}%{python_sitelib}/test %check python setup.py test @@ -70,6 +71,7 @@ %{_bindir}/activate-global-python-argcomplete %{_bindir}/python-argcomplete-check-easy-install-script %{_bindir}/register-python-argcomplete -%{python_sitelib}/* +%{python_sitelib}/argcomplete-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/argcomplete %changelog ++ argcomplete-0.6.3.tar.gz - argcomplete-0.6.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-0.6.3/PKG-INFO new/argcomplete-0.6.7/PKG-INFO --- old/argcomplete-0.6.3/PKG-INFO 2013-09-11 18:44:10.0 +0200 +++ new/argcomplete-0.6.7/PKG-INFO 2014-01-06 07:56:08.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: argcomplete -Version: 0.6.3 +Version: 0.6.7 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk @@ -14,7 +14,7 @@ It makes two assumptions: -* You're using bash as your shell +* You're using bash or zsh as your shell * You're using `argparse http://docs.python.org/2.7/library/argparse.html`_ to manage your command line arguments/options Argcomplete is particularly useful if your program has lots of options or subparsers, and if your program can diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-0.6.3/README.rst new/argcomplete-0.6.7/README.rst --- old/argcomplete-0.6.3/README.rst2013-09-11 18:34:07.0 +0200 +++ new/argcomplete-0.6.7/README.rst2013-12-27 05:52:02.0 +0100 @@ -6,7 +6,7 @@ It makes two assumptions: -* You're using bash as your shell +* You're using bash or zsh as your shell * You're using `argparse http://docs.python.org/2.7/library/argparse.html`_ to manage your command line arguments/options Argcomplete is particularly useful if your program has lots of options or subparsers, and if your program can diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-0.6.3/argcomplete/__init__.py new/argcomplete-0.6.7/argcomplete/__init__.py --- old/argcomplete-0.6.3/argcomplete/__init__.py 2013-09-11 18:38:41.0 +0200 +++ new/argcomplete-0.6.7/argcomplete/__init__.py 2013-12-15 22:51:41.0 +0100 @@ -16,10 +16,7 @@ _DEBUG = '_ARC_DEBUG' in os.environ -try: -debug_stream = os.fdopen(9, 'w') -except: -debug_stream = sys.stderr +debug_stream = sys.stderr def warn(*args): print(\n, file=debug_stream, *args) @@ -124,6 +121,12 @@ # not an argument completion invocation return +global debug_stream +try: +debug_stream = os.fdopen(9, 'w') +except: +debug_stream = sys.stderr + if output_stream is None: try: output_stream = os.fdopen(8, 'wb') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'