svn commit: r419607 - in head/sysutils: . py-uptime
Kubilay Kocak
koobs at FreeBSD.org
Thu Aug 4 12:04:34 UTC 2016
Author: koobs
Date: Thu Aug 4 12:04:32 2016
New Revision: 419607
URL: https://svnweb.freebsd.org/changeset/ports/419607
Log:
[NEW] sysutils/py-uptime: Cross-platform uptime library
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
PR: 208560
Submitted by: Uros <uros.gruber gmail com>
Added:
head/sysutils/py-uptime/
head/sysutils/py-uptime/Makefile (contents, props changed)
head/sysutils/py-uptime/distinfo (contents, props changed)
head/sysutils/py-uptime/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Thu Aug 4 10:24:57 2016 (r419606)
+++ head/sysutils/Makefile Thu Aug 4 12:04:32 2016 (r419607)
@@ -859,6 +859,7 @@
SUBDIR += py-stdiff
SUBDIR += py-supervisor
SUBDIR += py-tmuxp
+ SUBDIR += py-uptime
SUBDIR += py-zdaemon
SUBDIR += py-zfs
SUBDIR += pydf
Added: head/sysutils/py-uptime/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-uptime/Makefile Thu Aug 4 12:04:32 2016 (r419607)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= uptime
+PORTVERSION= 3.0.1
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= uros at 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>
Added: head/sysutils/py-uptime/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-uptime/distinfo Thu Aug 4 12:04:32 2016 (r419607)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470309859
+SHA256 (uptime-3.0.1.tar.gz) = 7c300254775b807ce46e3dcbcda30aa3b9a204b9c57a7ac1e79ee6dbe3942973
+SIZE (uptime-3.0.1.tar.gz) = 6630
Added: head/sysutils/py-uptime/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-uptime/pkg-descr Thu Aug 4 12:04:32 2016 (r419607)
@@ -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
More information about the svn-ports-all
mailing list