1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

[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
This commit is contained in:
Fukang Chen 2020-01-08 02:46:31 +00:00
parent ea6d3477dc
commit 75f1e509dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522358
4 changed files with 37 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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