mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
- Update PORTVERSION and distinfo checksum (0.3.6) - Update dateutil RUN_DEPENDS version to match that in setup.py - Add mock to TEST_DEPENDS (requirements.txt) - post-extract: Remove binary files and cache dirs from WRKSRC [1] - Patch setup.py to add test depends and add support for test command - Update test target, using canonical setuptools test command - Enable NO_ARCH (architecture independent) Changes: https://github.com/spulec/freezegun/blob/0.3.6/CHANGELOG [1] https://github.com/spulec/freezegun/pull/139 [2] https://github.com/spulec/freezegun/issues/134
23 lines
519 B
Python
23 lines
519 B
Python
--- setup.py.orig 2016-03-03 08:44:23 UTC
|
|
+++ setup.py
|
|
@@ -11,6 +11,11 @@ else:
|
|
# Py3k
|
|
requires += ['python-dateutil>=2.0']
|
|
|
|
+tests_require = [
|
|
+ 'nose',
|
|
+ 'mock',
|
|
+]
|
|
+
|
|
setup(
|
|
name='freezegun',
|
|
version='0.3.6',
|
|
@@ -20,6 +25,8 @@ setup(
|
|
url='https://github.com/spulec/freezegun',
|
|
packages=['freezegun'],
|
|
install_requires=requires,
|
|
+ tests_require=tests_require,
|
|
+ test_suite='nose.collector',
|
|
include_package_data=True,
|
|
license='Apache 2.0',
|
|
classifiers=[
|