Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2013-09-23 10:56:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2013-09-03 
22:03:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new/python-cmd2.changes     
2013-09-23 11:17:49.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Sep 17 13:28:58 UTC 2013 - [email protected]
+
+- Add cmd2-pyparsing201.patch: Allow running with pyparsing>=2.0.1
+
+-------------------------------------------------------------------

New:
----
  cmd2-pyparsing201.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.3ozCzw/_old  2013-09-23 11:17:50.000000000 +0200
+++ /var/tmp/diff_new_pack.3ozCzw/_new  2013-09-23 11:17:50.000000000 +0200
@@ -24,8 +24,10 @@
 Group:          Development/Languages/Python
 Url:            http://packages.python.org/cmd2/
 Source:         
http://pypi.python.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM [email protected] -- Relax pyparsing requirements again
+Patch0:         cmd2-pyparsing201.patch
 BuildRequires:  python-devel
-Requires:       python-pyparsing == 1.5.7
+Requires:       python-pyparsing >= 2.0.1
 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()")}
@@ -54,6 +56,7 @@
 
 %prep
 %setup -q -n cmd2-%{version}
+%patch0 -p1
 chmod -x README.txt
 sed -i "s/\r//g" README.txt
 

++++++ cmd2-pyparsing201.patch ++++++
diff -ruN a/setup.py b/setup.py
--- a/setup.py  2013-08-14 22:38:59.000000000 +0200
+++ b/setup.py  2013-09-17 15:25:23.778695646 +0200
@@ -7,10 +7,6 @@
         return ['sqlpython']
 import sys
 
-if sys.version_info < (3, 0, 0):
-    install_requires = ['pyparsing == 1.5.7']
-else:
-    install_requires = ['pyparsing >= 2.0.0']
 
 setup(
     name="cmd2",
@@ -25,7 +21,7 @@
     license = 'MIT',
     keywords = 'command prompt console cmd',
     url = 'http://packages.python.org/cmd2/',
-    install_requires = install_requires,
+    install_requires = 'pyparsing >= 2.0.1',
     long_description = """Enhancements for standard library's cmd module.
 
 Drop-in replacement adds several features for command-prompt tools:
Binary files a/.setup.py.swp and b/.setup.py.swp differ
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to