Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2020 02:46:31 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522358 - in head/sysutils: . py-cron-descriptor
Message-ID:  <202001080246.0082kVYr040876@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader
Date: Wed Jan  8 02:46:31 2020
New Revision: 522358
URL: https://svnweb.freebsd.org/changeset/ports/522358

Log:
  [NEW PORT] sysutils/py-cron-descriptor: Converts cron expressions into human readable strings
  
  A Python library that converts cron expressions into human
  readable strings. Ported to Python from
  https://github.com/bradyholt/cron-expression-descriptor.
  
  WWW: https://github.com/Salamek/cron-descriptor
  
  Reviewed by:	koobs
  Approved by:	koobs (ports)
  Differential Revision:	https://reviews.freebsd.org/D23018

Added:
  head/sysutils/py-cron-descriptor/
  head/sysutils/py-cron-descriptor/Makefile   (contents, props changed)
  head/sysutils/py-cron-descriptor/distinfo   (contents, props changed)
  head/sysutils/py-cron-descriptor/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Jan  7 23:04:19 2020	(r522357)
+++ head/sysutils/Makefile	Wed Jan  8 02:46:31 2020	(r522358)
@@ -961,6 +961,7 @@
     SUBDIR += py-borgmatic
     SUBDIR += py-cdmi
     SUBDIR += py-cpuinfo
+    SUBDIR += py-cron-descriptor
     SUBDIR += py-croniter
     SUBDIR += py-crontab
     SUBDIR += py-diffoscope

Added: head/sysutils/py-cron-descriptor/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-cron-descriptor/Makefile	Wed Jan  8 02:46:31 2020	(r522358)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	cron-descriptor
+PORTVERSION=	1.2.24
+CATEGORIES=	sysutils python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	loader@FreeBSD.org
+COMMENT=	Converts cron expressions into human readable strings
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pep8>0:devel/pep8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pep8-naming>0:devel/py-pep8-naming@${PY_FLAVOR}
+
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	autoplist concurrent distutils
+
+GH_ACCOUNT=	Salamek
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>

Added: head/sysutils/py-cron-descriptor/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-cron-descriptor/distinfo	Wed Jan  8 02:46:31 2020	(r522358)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577866351
+SHA256 (Salamek-cron-descriptor-1.2.24_GH0.tar.gz) = 9b47d2e169f52293941bc64f57b3f6fef2e35f478c5bca5542388f7f6ed3d628
+SIZE (Salamek-cron-descriptor-1.2.24_GH0.tar.gz) = 32140

Added: head/sysutils/py-cron-descriptor/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-cron-descriptor/pkg-descr	Wed Jan  8 02:46:31 2020	(r522358)
@@ -0,0 +1,5 @@
+A Python library that converts cron expressions into human
+readable strings. Ported to Python from
+https://github.com/bradyholt/cron-expression-descriptor.
+
+WWW: https://github.com/Salamek/cron-descriptor



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