svn commit: r405762 - in head/devel: . py-monotonic

Roman Bogorodskiy novel at FreeBSD.org
Mon Jan 11 01:18:04 UTC 2016


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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	monotonic
+PORTVERSION=	0.5
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	alfred at 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


More information about the svn-ports-head mailing list