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 +# $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 + 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/