Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108622103
D3802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3802.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -4095,6 +4095,7 @@
SUBDIR += py-minimongo
SUBDIR += py-mock
SUBDIR += py-mongoengine
+ SUBDIR += py-monotonic
SUBDIR += py-mongokit
SUBDIR += py-more-itertools
SUBDIR += py-mox
Index: devel/py-monotonic/Makefile
===================================================================
--- /dev/null
+++ devel/py-monotonic/Makefile
@@ -0,0 +1,19 @@
+# Created by: Alfred Perlstein <alfred@freebsd.org>
+# $FreeBSD$
+
+PORTNAME= monotonic
+PORTVERSION= 0.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alfred@FreeBSD.org
+COMMENT= Python 3 monotonic time module for python 2
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
+
Index: devel/py-monotonic/distinfo
===================================================================
--- /dev/null
+++ devel/py-monotonic/distinfo
@@ -0,0 +1,2 @@
+SHA256 (monotonic-0.3.tar.gz) = 2825ba5ded67b1a70d44529634d3f4ddfad67a5ed7fdcf026022a3ce175be07b
+SIZE (monotonic-0.3.tar.gz) = 6707
Index: devel/py-monotonic/pkg-descr
===================================================================
--- /dev/null
+++ 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://pypi.python.org/pypi/monotonic/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 10:58 PM (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16218923
Default Alt Text
D3802.diff (1 KB)
Attached To
Mode
D3802: New port: devel/py-monotonic
Attached
Detach File
Event Timeline
Log In to Comment