ports/devel/py-sanetime/files/patch-setup.py
Kubilay Kocak 8b5096dd43 - Update to 4.2.3
- Add TEST_DEPENDS and regression-test target
- Add OPTIONS (TESTS)
- Limit USE_PYTHON version
- Tweak setup.py to allow use with dateutil > 2.0 (with comment)

Approved by:    rm (mentor)
2013-02-12 12:24:28 +00:00

20 lines
593 B
Python

--- ./setup.py.orig 2013-01-23 18:34:56.000000000 +1100
+++ ./setup.py 2013-02-10 17:59:21.880891462 +1100
@@ -18,7 +18,7 @@
long_description=open('README.markdown').read(),
install_requires=[
'pytz>=2010',
- 'python-dateutil>=1.5,<2.0', # we're not compatible with python 3.0 yet
+ 'python-dateutil>=1.5', # py-dateutil >2.1 is Python 2/3 compat
'unittest2'
],
classifiers=[
@@ -54,6 +54,7 @@
],
include_package_data=True,
test_suite='sanetime.test',
- platforms=['any']
+ platforms=['any'],
+ zip_safe=False
)