Date: Tue, 2 Jun 2015 10:20:57 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388318 - in head/devel: . py-freezegun Message-ID: <201506021020.t52AKvQp021442@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Tue Jun 2 10:20:56 2015 New Revision: 388318 URL: https://svnweb.freebsd.org/changeset/ports/388318 Log: [NEW] devel/py-freezegun: Let your Python tests travel through time FreezeGun is a library that allows your python tests to travel through time by mocking the datetime module. WWW: https://github.com/spulec/freezegun Added: head/devel/py-freezegun/ head/devel/py-freezegun/Makefile (contents, props changed) head/devel/py-freezegun/distinfo (contents, props changed) head/devel/py-freezegun/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jun 2 10:17:28 2015 (r388317) +++ head/devel/Makefile Tue Jun 2 10:20:56 2015 (r388318) @@ -3864,6 +3864,7 @@ SUBDIR += py-foolscap SUBDIR += py-fortran SUBDIR += py-freebsd + SUBDIR += py-freezegun SUBDIR += py-fs SUBDIR += py-fsm SUBDIR += py-fudge Added: head/devel/py-freezegun/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-freezegun/Makefile Tue Jun 2 10:20:56 2015 (r388318) @@ -0,0 +1,27 @@ +# Created by: Kubilay Kocak <koobs@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= freezegun +PORTVERSION= 0.3.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Let your Python tests travel through time + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 + +USES= python +USE_PYTHON= autoplist distutils + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests + +.include <bsd.port.mk> Added: head/devel/py-freezegun/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-freezegun/distinfo Tue Jun 2 10:20:56 2015 (r388318) @@ -0,0 +1,2 @@ +SHA256 (freezegun-0.3.3.tar.gz) = aa36a5ca26be474fc706c6a8153d027510e2c5ffdd3c4a4fdb3b7e52cb70df97 +SIZE (freezegun-0.3.3.tar.gz) = 41913 Added: head/devel/py-freezegun/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-freezegun/pkg-descr Tue Jun 2 10:20:56 2015 (r388318) @@ -0,0 +1,4 @@ +FreezeGun is a library that allows your python tests to travel through time +by mocking the datetime module. + +WWW: https://github.com/spulec/freezegun
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506021020.t52AKvQp021442>