Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2016 12:04:32 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419607 - in head/sysutils: . py-uptime
Message-ID:  <201608041204.u74C4WSh007151@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608041204.u74C4WSh007151>