BSD Ports

devel/py-monotonic 1.5_1 MidnightBSD

Python 3 monotonic time module for Python 2

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0
Categories
devel, python

Description

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:

In the other systems

The newest version among them is 1.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-monotonic1.5_1 newestno data-[email protected]-
FreeBSDdevel/py-monotonic1.5_1 newestnone known-[email protected]-
DragonFlydevel/py-monotonic1.5_1 newestnone known-[email protected]-
HardenedBSDdevel/py-monotonic1.5_1 newestno data-[email protected]-
GhostBSDdevel/py-monotonic1.5_1 newestno data-[email protected]-

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}monotonic

From mports:

cd /usr/mports/devel/py-monotonic && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}monotonic>0:devel/py-monotonic

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
monotonic-1.5.tar.gz752523953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0
Master sites 1
  • PYPI