summaryrefslogtreecommitdiff
path: root/devel/py-oncalendar
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-oncalendar')
-rw-r--r--devel/py-oncalendar/Makefile20
-rw-r--r--devel/py-oncalendar/distinfo3
-rw-r--r--devel/py-oncalendar/pkg-descr9
3 files changed, 32 insertions, 0 deletions
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.