summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-cronsim/Makefile23
-rw-r--r--devel/py-cronsim/distinfo3
-rw-r--r--devel/py-cronsim/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d7eca7166105..20e5240130de 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4739,6 +4739,7 @@
SUBDIR += py-crc32c
SUBDIR += py-crcmod
SUBDIR += py-crick
+ SUBDIR += py-cronsim
SUBDIR += py-crontab
SUBDIR += py-crosshair-tool
SUBDIR += py-cson
diff --git a/devel/py-cronsim/Makefile b/devel/py-cronsim/Makefile
new file mode 100644
index 000000000000..0d2ac9f6aef2
--- /dev/null
+++ b/devel/py-cronsim/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= cronsim
+DISTVERSION= 2.6
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Cron expression parser and evaluator
+WWW= https://pypi.org/project/${PORTNAME} \
+ https://github.com/cuu508/${PORTNAME}
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-cronsim/distinfo b/devel/py-cronsim/distinfo
new file mode 100644
index 000000000000..1bb42373616f
--- /dev/null
+++ b/devel/py-cronsim/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749597413
+SHA256 (cronsim-2.6.tar.gz) = 5aab98716ef90ab5ac6be294b2c3965dbf76dc869f048846a0af74ebb506c10d
+SIZE (cronsim-2.6.tar.gz) = 20315
diff --git a/devel/py-cronsim/pkg-descr b/devel/py-cronsim/pkg-descr
new file mode 100644
index 000000000000..ea3b77e79b56
--- /dev/null
+++ b/devel/py-cronsim/pkg-descr
@@ -0,0 +1,3 @@
+Cron Sim(ulator), a cron expression parser and evaluator. Works
+with Python 3.9+. CronSim is written for and being used in Healthchecks
+(a cron job monitoring service).