python-vint: fix enum34 check to work with us
This commit is contained in:
parent
98800a6092
commit
f585f12c12
2 changed files with 15 additions and 1 deletions
14
srcpkgs/python-vint/patches/outdateddeps.patch
Normal file
14
srcpkgs/python-vint/patches/outdateddeps.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- setup.py.bck 2017-01-20 17:36:52.666818102 -0500
|
||||
+++ setup.py 2017-01-20 17:37:23.204501483 -0500
|
||||
@@ -12,9 +12,9 @@
|
||||
requires = load_requires_from_file('requirements.txt')
|
||||
if sys.version_info < (3, 4):
|
||||
# To enable Enum in Python < 3.4
|
||||
- requires.append('enum34 == 1.0.4')
|
||||
+ requires.append('enum34 >= 1.0.4')
|
||||
# To enable pathlib in Python < 3.4
|
||||
- requires.append('pathlib == 1.0.1')
|
||||
+ requires.append('pathlib >= 1.0.1')
|
||||
return requires
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-vint'
|
||||
pkgname=python-vint
|
||||
version=0.3.11
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="vint-${version}"
|
||||
build_style=python-module
|
||||
|
|
Loading…
Reference in a new issue