Accepting request 201200 from home:dirkmueller:branches:devel:languages:python

- update to 0.6.7:
  * various python 3.x compat fixes
- remove cmd2-pyparsing201.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/201200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=17
This commit is contained in:
Sascha Peilicke 2013-09-30 07:18:22 +00:00 committed by Git OBS Bridge
parent 5d03892b2b
commit 1302ac276d
5 changed files with 11 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b051e6b5f4500f823f996c77991363fe1d5c0b790002eb9922c7b39921cd981
size 20538

3
cmd2-0.6.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e98c7a1cfd106183559240b269e7cd9fe97e8342b5c05295f591aab6fd2f4f0
size 20558

View File

@ -1,24 +0,0 @@
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 27 13:51:06 UTC 2013 - dmueller@suse.com
- update to 0.6.7:
* various python 3.x compat fixes
- remove cmd2-pyparsing201.patch, merged upstream
-------------------------------------------------------------------
Tue Sep 17 13:28:58 UTC 2013 - speilicke@suse.com

View File

@ -17,15 +17,13 @@
Name: python-cmd2
Version: 0.6.6.1
Version: 0.6.7
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT
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 speilicke@suse.com -- Relax pyparsing requirements again
Patch0: cmd2-pyparsing201.patch
BuildRequires: python-devel
Requires: python-pyparsing >= 2.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -56,7 +54,6 @@ Drop-in replacement adds several features for command-prompt tools:
%prep
%setup -q -n cmd2-%{version}
%patch0 -p1
chmod -x README.txt
sed -i "s/\r//g" README.txt