freebsd-ports/sysutils/py-python-crontab/Makefile
Yasuhiro Kimura 461373bf1f */*: Cleanup after the removal of lang/python36
* Remove codes that aren't necessary after the removal of lang/python36
* Mark ports that aren't necessary with Python 3.7 or later as
  DEPRECATED and set EXPIRATION_DATE.

PR:		261046
Approved by:	lwhsu (python)
2022-02-05 10:17:21 +09:00

29 lines
855 B
Makefile

# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
PORTNAME= python-crontab
PORTVERSION= 2.4.0
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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}cron-descriptor>0:sysutils/py-cron-descriptor@${PY_FLAVOR}
USES= python:3.6+ shebangfix
SHEBANG_FILES= ${WRKSRC}/tests/data/crontest
USE_PYTHON= autoplist distutils
USE_GITLAB= yes
GL_ACCOUNT= doctormo
GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>