Index: sysutils/py-crontab/Makefile =================================================================== --- sysutils/py-crontab/Makefile +++ sysutils/py-crontab/Makefile @@ -2,21 +2,37 @@ # $FreeBSD$ PORTNAME= crontab -PORTVERSION= 1.9.5 +PORTVERSION= 2.4.0 CATEGORIES= sysutils python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Read and write crontab files using a direct API LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}croniter>0:sysutils/py-croniter@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}croniter>0:sysutils/py-croniter@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cron-descriptor>0:sysutils/py-cron-descriptor@${PY_FLAVOR} -USES= python +USES= python shebangfix +SHEBANG_FILES= ${WRKSRC}/tests/data/crontest USE_PYTHON= autoplist distutils -.include +USE_GITLAB= yes +GL_ACCOUNT= doctormo +GL_PROJECT= python-crontab +GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0 + +.include + +# The UTF-8 mode is enabled by default when the locale is C since Python 3.7. +.if ${PYTHON_REL} < 3700 +TEST_ENV+= LC_ALL=C.UTF-8 +.endif + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Index: sysutils/py-crontab/distinfo =================================================================== --- sysutils/py-crontab/distinfo +++ sysutils/py-crontab/distinfo @@ -1,2 +1,3 @@ -SHA256 (python-crontab-1.9.5.tar.gz) = 7c96916dcef835f02ab62b3f648285658700aa916ae663bf37952faf5eea9b2c -SIZE (python-crontab-1.9.5.tar.gz) = 31765 +TIMESTAMP = 1582976298 +SHA256 (doctormo-python-crontab-ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0_GL0.tar.gz) = 1d1b744ff3ee337c229e992813d2c43829c2b58228e22ec19444a6fd19340805 +SIZE (doctormo-python-crontab-ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0_GL0.tar.gz) = 45416 Index: sysutils/py-crontab/pkg-descr =================================================================== --- sysutils/py-crontab/pkg-descr +++ sysutils/py-crontab/pkg-descr @@ -1,4 +1,4 @@ Module for reading and writing crontab files and accessing the system cron automatically and simply using a direct API. -WWW: https://pypi.org/project/crontab/ +WWW: https://gitlab.com/doctormo/python-crontab