From owner-svn-ports-all@FreeBSD.ORG Tue Jun 2 10:20:58 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E1FA416; Tue, 2 Jun 2015 10:20:58 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E8F4178B; Tue, 2 Jun 2015 10:20:58 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t52AKvGg021448; Tue, 2 Jun 2015 10:20:57 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t52AKvQp021442; Tue, 2 Jun 2015 10:20:57 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201506021020.t52AKvQp021442@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 2 Jun 2015 10:20:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388318 - in head/devel: . py-freezegun X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 10:20:58 -0000 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 +# $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 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