devel/py-oncalendar: New port: Systemd OnCalendar expression parser and evaluator

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.

Approved by:	acm (mentor)
This commit is contained in:
Jesús Daniel Colmenares Oviedo 2025-06-12 01:54:03 -04:00
parent 9305e2ef2b
commit 2cadd95dd6
4 changed files with 33 additions and 0 deletions

View File

@ -5332,6 +5332,7 @@
SUBDIR += py-olefile SUBDIR += py-olefile
SUBDIR += py-omnijson SUBDIR += py-omnijson
SUBDIR += py-omniorb SUBDIR += py-omniorb
SUBDIR += py-oncalendar
SUBDIR += py-onigurumacffi SUBDIR += py-onigurumacffi
SUBDIR += py-opcodes SUBDIR += py-opcodes
SUBDIR += py-openapi-codec SUBDIR += py-openapi-codec

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1749600049
SHA256 (oncalendar-1.1.tar.gz) = 3122aa811786c313568a53745015729aa650e35054b689c08b6db4b1ee891287
SIZE (oncalendar-1.1.tar.gz) = 8650

View File

@ -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.