Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -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 Index: head/sysutils/py-cron-descriptor/Makefile =================================================================== --- head/sysutils/py-cron-descriptor/Makefile +++ head/sysutils/py-cron-descriptor/Makefile @@ -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 Index: head/sysutils/py-cron-descriptor/distinfo =================================================================== --- head/sysutils/py-cron-descriptor/distinfo +++ head/sysutils/py-cron-descriptor/distinfo @@ -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 Index: head/sysutils/py-cron-descriptor/pkg-descr =================================================================== --- head/sysutils/py-cron-descriptor/pkg-descr +++ head/sysutils/py-cron-descriptor/pkg-descr @@ -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