-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-freezegun: Update to 0.3.6, Modernize
- 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] spulec/freezegun#139 [2] spulec/freezegun#134
- Loading branch information
Showing
3 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (freezegun-0.3.3.tar.gz) = aa36a5ca26be474fc706c6a8153d027510e2c5ffdd3c4a4fdb3b7e52cb70df97 | ||
SIZE (freezegun-0.3.3.tar.gz) = 41913 | ||
SHA256 (freezegun-0.3.6.tar.gz) = 44cef08c4b34be212534aec8ab61eccdc75ba9e4d908f99d1fcc7f778b4cbaf8 | ||
SIZE (freezegun-0.3.6.tar.gz) = 45838 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- 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=[ |