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.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-argcomplete.new/python-argcomplete.changes
2014-01-23 15:53:50.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Jan 17 15:50:53 UTC 2014 - [email protected]
+
+- 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.000000000 +0100
+++ /var/tmp/diff_new_pack.JUrDR6/_new 2014-01-23 15:53:51.000000000 +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.000000000 +0200
+++ new/argcomplete-0.6.7/PKG-INFO 2014-01-06 07:56:08.000000000 +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.rst 2013-09-11 18:34:07.000000000 +0200
+++ new/argcomplete-0.6.7/README.rst 2013-12-27 05:52:02.000000000 +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.000000000 +0200
+++ new/argcomplete-0.6.7/argcomplete/__init__.py 2013-12-15
22:51:41.000000000 +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'
'--exclude=.svnignore'
old/argcomplete-0.6.3/argcomplete/bash_completion.d/python-argcomplete.sh
new/argcomplete-0.6.7/argcomplete/bash_completion.d/python-argcomplete.sh
--- old/argcomplete-0.6.3/argcomplete/bash_completion.d/python-argcomplete.sh
2013-09-11 18:18:44.000000000 +0200
+++ new/argcomplete-0.6.7/argcomplete/bash_completion.d/python-argcomplete.sh
2013-12-27 06:06:10.000000000 +0100
@@ -15,7 +15,7 @@
fi
if (head -c 1024 "$SCRIPT_NAME" | grep --quiet
"PYTHON_ARGCOMPLETE_OK") >/dev/null 2>&1; then
local ARGCOMPLETE=1
- elif (head -c 1024 "$SCRIPT_NAME" | egrep --quiet
"(EASY-INSTALL-SCRIPT|EASY-INSTALL-ENTRY-SCRIPT)" \
+ elif (head -c 1024 "$SCRIPT_NAME" | egrep --quiet
"EASY-INSTALL-(SCRIPT|ENTRY-SCRIPT|DEV-SCRIPT)" \
&& python-argcomplete-check-easy-install-script "$SCRIPT_NAME")
>/dev/null 2>&1; then
local ARGCOMPLETE=1
fi
@@ -36,4 +36,4 @@
type -t _completion_loader | grep -q 'function' && _completion_loader
"$@"
fi
}
-complete -o default -D -F _python_argcomplete_global
+complete -o default -o bashdefault -D -F _python_argcomplete_global
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/argcomplete-0.6.3/argcomplete.egg-info/PKG-INFO
new/argcomplete-0.6.7/argcomplete.egg-info/PKG-INFO
--- old/argcomplete-0.6.3/argcomplete.egg-info/PKG-INFO 2013-09-11
18:44:10.000000000 +0200
+++ new/argcomplete-0.6.7/argcomplete.egg-info/PKG-INFO 2014-01-06
07:56:08.000000000 +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/argcomplete.egg-info/top_level.txt
new/argcomplete-0.6.7/argcomplete.egg-info/top_level.txt
--- old/argcomplete-0.6.3/argcomplete.egg-info/top_level.txt 2013-09-11
18:44:10.000000000 +0200
+++ new/argcomplete-0.6.7/argcomplete.egg-info/top_level.txt 2014-01-06
07:56:08.000000000 +0100
@@ -1,2 +1 @@
-test
argcomplete
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/argcomplete-0.6.3/scripts/activate-global-python-argcomplete
new/argcomplete-0.6.7/scripts/activate-global-python-argcomplete
--- old/argcomplete-0.6.3/scripts/activate-global-python-argcomplete
2013-05-10 06:18:03.000000000 +0200
+++ new/argcomplete-0.6.7/scripts/activate-global-python-argcomplete
2013-12-15 23:30:13.000000000 +0100
@@ -20,8 +20,12 @@
if args.user:
args.dest = os.path.expanduser("~/.bash_completion.d/")
-
-if not os.path.exists(args.dest) and args.dest != '-':
+ if not os.path.exists(args.dest):
+ try:
+ os.mkdir(args.dest)
+ except Exception as e:
+ parser.error("Path {d} does not exist and could not be created:
{e}".format(d=args.dest, e=e))
+elif not os.path.exists(args.dest) and args.dest != '-':
parser.error("Path {d} does not exist".format(d=args.dest))
activator = os.path.join(os.path.dirname(argcomplete.__file__),
'bash_completion.d', 'python-argcomplete.sh')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/argcomplete-0.6.3/scripts/python-argcomplete-check-easy-install-script
new/argcomplete-0.6.7/scripts/python-argcomplete-check-easy-install-script
--- old/argcomplete-0.6.3/scripts/python-argcomplete-check-easy-install-script
2013-07-28 02:32:39.000000000 +0200
+++ new/argcomplete-0.6.7/scripts/python-argcomplete-check-easy-install-script
2013-12-27 06:01:02.000000000 +0100
@@ -18,8 +18,8 @@
line1, lines = fh.read(1024).split("\n", 1)[:2]
assert(line1.startswith('#') and 'py' in line1)
for line in lines.split("\n", 10):
- if line.startswith("# EASY-INSTALL-SCRIPT"):
- dist, script = re.match("# EASY-INSTALL-SCRIPT: '(.+)','(.+)'",
line).groups()
+ if line.startswith("# EASY-INSTALL-SCRIPT") or line.startswith("#
EASY-INSTALL-DEV-SCRIPT"):
+ wt, dist, script = re.match("# EASY-INSTALL-(SCRIPT|DEV-SCRIPT):
'(.+)','(.+)'", line).groups()
if "PYTHON_ARGCOMPLETE_OK" in
pkg_resources.get_distribution(dist).get_metadata('scripts/'+script):
exit(0)
elif line.startswith("# EASY-INSTALL-ENTRY-SCRIPT"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/argcomplete-0.6.3/setup.py
new/argcomplete-0.6.7/setup.py
--- old/argcomplete-0.6.3/setup.py 2013-09-11 18:43:02.000000000 +0200
+++ new/argcomplete-0.6.7/setup.py 2014-01-06 07:55:35.000000000 +0100
@@ -12,7 +12,7 @@
setup(
name='argcomplete',
- version='0.6.3',
+ version='0.6.7',
url='https://github.com/kislyuk/argcomplete',
license='Apache Software License',
author='Andrey Kislyuk',
@@ -20,7 +20,7 @@
description='Bash tab completion for argparse',
long_description=open('README.rst').read(),
install_requires=install_requires,
- packages = find_packages(),
+ packages = ['argcomplete'],
scripts = glob.glob('scripts/*'),
package_data={'argcomplete': ['bash_completion.d/python-argcomplete.sh']},
zip_safe=False,
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]