aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-12 05:54:03 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-26 23:46:17 +0000
commit2cadd95dd62aa71ad52477f68e04376d2db71ff3 (patch)
tree895d22ffb2d23424f687440e043efcc3e859040a /devel
parent9305e2ef2b09ad6ed5017d26159d477abd87b48e (diff)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-oncalendar/Makefile20
-rw-r--r--devel/py-oncalendar/distinfo3
-rw-r--r--devel/py-oncalendar/pkg-descr9
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 20e5240130de..59a5d7964e46 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5332,6 +5332,7 @@
SUBDIR += py-olefile
SUBDIR += py-omnijson
SUBDIR += py-omniorb
+ SUBDIR += py-oncalendar
SUBDIR += py-onigurumacffi
SUBDIR += py-opcodes
SUBDIR += py-openapi-codec
diff --git a/devel/py-oncalendar/Makefile b/devel/py-oncalendar/Makefile
new file mode 100644
index 000000000000..ff2cd398b8f8
--- /dev/null
+++ b/devel/py-oncalendar/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= oncalendar
+DISTVERSION= 1.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Systemd OnCalendar expression parser and evaluator
+WWW= https://pypi.org/project/${PORTNAME} \
+ https://github.com/cuu508/${PORTNAME}
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-oncalendar/distinfo b/devel/py-oncalendar/distinfo
new file mode 100644
index 000000000000..331c53fb3330
--- /dev/null
+++ b/devel/py-oncalendar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749600049
+SHA256 (oncalendar-1.1.tar.gz) = 3122aa811786c313568a53745015729aa650e35054b689c08b6db4b1ee891287
+SIZE (oncalendar-1.1.tar.gz) = 8650
diff --git a/devel/py-oncalendar/pkg-descr b/devel/py-oncalendar/pkg-descr
new file mode 100644
index 000000000000..b8beefc8f079
--- /dev/null
+++ b/devel/py-oncalendar/pkg-descr
@@ -0,0 +1,9 @@
+OnCalendar is a systemd expression parser and evaluator written for
+and being used in Healthchecks (a scheduled task monitoring service).
+
+This package provides three iterators:
+
+- base: supports expressions without timezone.
+- tz: supports expressions with and without timezone.
+- oncalendar: supports multiple expressions with or without timezones,
+ separated by newlines.