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.000000000 +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 - [email protected]
+
+- 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.py 2017-01-26 21:58:24.000000000 +0100
+++ test/test.py 2017-07-20 11:36:11.820934599 +0200
@@ -1041,6 +1041,7 @@
self.assertEqual(self.sh.run_command('python ./prog basic f\t'),
'foo\r\n')
[email protected]
class TestTcsh(_TestSh, unittest.TestCase):
expected_failures = [
'test_unquoted_space',