Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110669338
D23968.id69419.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D23968.id69419.diff
View Options
Index: sysutils/py-crontab/Makefile
===================================================================
--- sysutils/py-crontab/Makefile
+++ sysutils/py-crontab/Makefile
@@ -2,21 +2,38 @@
# $FreeBSD$
PORTNAME= crontab
-PORTVERSION= 1.9.5
+# DISTVERSIONPREFIX= v
+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 <bsd.port.mk>
+USE_GITLAB= yes
+GL_ACCOUNT= doctormo
+GL_PROJECT= python-crontab
+GL_COMMIT= ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0
+
+.include <bsd.port.pre.mk>
+
+# 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 <bsd.port.post.mk>
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 5:14 PM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16775551
Default Alt Text
D23968.id69419.diff (2 KB)
Attached To
Mode
D23968: sysutils/py-crontab: Rename to python-crontab, Update to 2.4.0
Attached
Detach File
Event Timeline
Log In to Comment