python-vint: fix enum34 check to work with us

This commit is contained in:
Toyam Cox 2017-01-20 17:39:30 -05:00
parent 98800a6092
commit f585f12c12
2 changed files with 15 additions and 1 deletions

View 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

View file

@ -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