Page MenuHomeFreeBSD

D4845.diff
No OneTemporary

D4845.diff

Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -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
Index: devel/py-monotonic/Makefile
===================================================================
--- devel/py-monotonic/Makefile
+++ devel/py-monotonic/Makefile
@@ -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>
Index: devel/py-monotonic/distinfo
===================================================================
--- devel/py-monotonic/distinfo
+++ devel/py-monotonic/distinfo
@@ -0,0 +1,2 @@
+SHA256 (monotonic-0.5.tar.gz) = 8c1f882aa66c41daffa701cbf7121d8d264d0cb7722bbb78a6eccd2d8b12c880
+SIZE (monotonic-0.5.tar.gz) = 6493
Index: devel/py-monotonic/pkg-descr
===================================================================
--- devel/py-monotonic/pkg-descr
+++ devel/py-monotonic/pkg-descr
@@ -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

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 21, 2:56 AM (4 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41145990
Default Alt Text
D4845.diff (1 KB)

Event Timeline