diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-08-04 12:04:32 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-08-04 12:04:32 +0000 |
commit | 3f51de60558dcd773d1e501140d13ceeaf0f98c7 (patch) | |
tree | 7bc3841fce085849addba05a5d1416b0813659a4 /sysutils/py-uptime | |
parent | 5ba1251d1b03cfbfbfb09a2eacf257b14a916408 (diff) |
Notes
Diffstat (limited to 'sysutils/py-uptime')
-rw-r--r-- | sysutils/py-uptime/Makefile | 21 | ||||
-rw-r--r-- | sysutils/py-uptime/distinfo | 3 | ||||
-rw-r--r-- | sysutils/py-uptime/pkg-descr | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/py-uptime/Makefile b/sysutils/py-uptime/Makefile new file mode 100644 index 000000000000..026debcba75b --- /dev/null +++ b/sysutils/py-uptime/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= uptime +PORTVERSION= 3.0.1 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= uros@gruber.si +COMMENT= Cross-platform uptime library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING.txt + +USES= python:2.5+ +USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/uptime/_posix.so + +.include <bsd.port.mk> diff --git a/sysutils/py-uptime/distinfo b/sysutils/py-uptime/distinfo new file mode 100644 index 000000000000..30df0d538cb6 --- /dev/null +++ b/sysutils/py-uptime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1470309859 +SHA256 (uptime-3.0.1.tar.gz) = 7c300254775b807ce46e3dcbcda30aa3b9a204b9c57a7ac1e79ee6dbe3942973 +SIZE (uptime-3.0.1.tar.gz) = 6630 diff --git a/sysutils/py-uptime/pkg-descr b/sysutils/py-uptime/pkg-descr new file mode 100644 index 000000000000..2e9e50da4364 --- /dev/null +++ b/sysutils/py-uptime/pkg-descr @@ -0,0 +1,5 @@ +This module provides a cross-platform way to retrieve system uptime and boot +time. See documentation for a full list of supported platforms (yours is likely +one of them). + +WWW: https://github.com/Cairnarvon/uptime |