forked from pool/python-cmd2
- Add cmd2-pyparsing201.patch: Allow running with pyparsing>=2.0.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
9c8d23f586
commit
5d03892b2b
24
cmd2-pyparsing201.patch
Normal file
24
cmd2-pyparsing201.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
Reference in New Issue
Block a user