Date: Mon, 11 Jan 2016 01:18:02 +0000 (UTC) From: Roman Bogorodskiy <novel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405762 - in head/devel: . py-monotonic Message-ID: <201601110118.u0B1I2Pb040096@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: novel Date: Mon Jan 11 01:18:02 2016 New Revision: 405762 URL: https://svnweb.freebsd.org/changeset/ports/405762 Log: New port: devel/py-monotonic This module provides a monotonic() function which returns the value (in fractional seconds) of a clock which never goes backwards. It is compatible with Python 2 and Python 3. Submitted by: alfred Reviewed by: sunpoet, koobs Differential Revision: D3802, D4845 Added: head/devel/py-monotonic/ head/devel/py-monotonic/Makefile (contents, props changed) head/devel/py-monotonic/distinfo (contents, props changed) head/devel/py-monotonic/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 11 00:29:33 2016 (r405761) +++ head/devel/Makefile Mon Jan 11 01:18:02 2016 (r405762) @@ -4145,6 +4145,7 @@ SUBDIR += py-mock SUBDIR += py-mongoengine SUBDIR += py-mongokit + SUBDIR += py-monotonic SUBDIR += py-more-itertools SUBDIR += py-mox SUBDIR += py-msgpack Added: head/devel/py-monotonic/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monotonic/Makefile Mon Jan 11 01:18:02 2016 (r405762) @@ -0,0 +1,19 @@ +# Created by: Alfred Perlstein <alfred@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= monotonic +PORTVERSION= 0.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= alfred@FreeBSD.org +COMMENT= Python 3 monotonic time module for Python 2 + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> Added: head/devel/py-monotonic/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monotonic/distinfo Mon Jan 11 01:18:02 2016 (r405762) @@ -0,0 +1,2 @@ +SHA256 (monotonic-0.5.tar.gz) = 8c1f882aa66c41daffa701cbf7121d8d264d0cb7722bbb78a6eccd2d8b12c880 +SIZE (monotonic-0.5.tar.gz) = 6493 Added: head/devel/py-monotonic/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monotonic/pkg-descr Mon Jan 11 01:18:02 2016 (r405762) @@ -0,0 +1,9 @@ +This module provides a monotonic() function which returns the value +(in fractional seconds) of a clock which never goes backwards. It +is compatible with Python 2 and Python 3. + +On Python 3.3 or newer, monotonic will be an alias of time.monotonic +from the standard library. On older versions, it will fall back to +an equivalent implementation: + +WWW: https://github.com/atdt/monotonic
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601110118.u0B1I2Pb040096>