From nobody Thu Jun 26 23:47:45 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bSwNL2FCKz5yy1r; Thu, 26 Jun 2025 23:47:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bSwNK49Nlz3d5b; Thu, 26 Jun 2025 23:47:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750981665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KplHScim9pGNqzA7MYPZJtRl/glT2QcKOlvD/Be/crU=; b=FCLAtwuCR8135Kw4l3Z+x3dy6MSFfAS6xjn8EcO+vLX87Kh/Rg7VnXpg6PxRVOLSckvmFy Zo/PTKTq1EEeg7yWBK/dnpvbJ6oIXySj039+DZIDgFN9M8H/qREagQnJgwMrKDXn12rHPf RUI4C9rolCU6mc2NLiqQA7vVgZFjXx3oi9uOlbtNrbZ376S+2R74T05NCAUxvv/LcpqT6S iSCQw606B53G6gTEJg4uEBwwp7HgKA5CoaT/y2wOmRD2JY2G8iqV1SY+p2s28k6N+OWp4q Um2NzB/6heYwGxg9KeMNq5g90FmKkhBdC+r3EiM77vo/fFhq4o78adKZlkCErg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750981665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KplHScim9pGNqzA7MYPZJtRl/glT2QcKOlvD/Be/crU=; b=oLrJKEvmt3lBP8+2T7SG/JBYj44IFYcr09JVL9FmPxSH13hjIfyPEWAuaetoMnaFYcPbWC RkzJwFBb+XChT8x6/xOw2hKT5b+Xwbba7j0Qxd5lyFWx7Y9v/qJ1TdkD5y46CdFKj6aok+ jk6tlOmgLKkgw4JUluxWcGnR02M/l3hWfUUQE8T07t+fF9X377ebHG5MrNlMIUeCzXJMJX 6UsZuKXs9VprGpVEI2rBJYVW73YbVdr4XDnUh/QoN1qWfJSRVAKN3zQbvHyg9V5dWRH8Wj nROjfL7XAKXKglsopFVzeEAS9EKrhaNnL+nLm3mC63bc0he/FWsYhvYmGhPP/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750981665; a=rsa-sha256; cv=none; b=qPcB2TsFDM372hUtaRPNVZi7hdeyI0JNfFtTPVw6jLdzPwM3RjKr5uR+3vjr4h0mcofaUf 7kjhS0kKwggya0e/U3lOcvaM7W3gkTiDeZRBs1sbOgypuIeENEt668q/WeNFc86gicFOXC xa2il2+C93ekxCzYVU2KYDJZHW8ZoyFJddf2TBce9eLzf58pTmEchhnj4/Lo4LJF7NsakF KNnVSmb71Y1sFalKSx/XWrYKP3dYniVgjsHVhV/sfW5bE00C4CLbG7tm02MzgCuoWRZqdJ H7TtYDBIOto/25t59exzTBX4ia6ZZ/Qkdh8gIgKAm/miiubbKDT1CaG2Vm8s4g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bSwNK3T32z7qg; Thu, 26 Jun 2025 23:47:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55QNljm3010036; Thu, 26 Jun 2025 23:47:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55QNlj80010033; Thu, 26 Jun 2025 23:47:45 GMT (envelope-from git) Date: Thu, 26 Jun 2025 23:47:45 GMT Message-Id: <202506262347.55QNlj80010033@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo Subject: git: 2cadd95dd62a - main - devel/py-oncalendar: New port: Systemd OnCalendar expression parser and evaluator List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dtxdf X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2cadd95dd62aa71ad52477f68e04376d2db71ff3 Auto-Submitted: auto-generated The branch main has been updated by dtxdf: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cadd95dd62aa71ad52477f68e04376d2db71ff3 commit 2cadd95dd62aa71ad52477f68e04376d2db71ff3 Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2025-06-12 05:54:03 +0000 Commit: Jesús Daniel Colmenares Oviedo CommitDate: 2025-06-26 23:46:17 +0000 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) --- devel/Makefile | 1 + devel/py-oncalendar/Makefile | 20 ++++++++++++++++++++ devel/py-oncalendar/distinfo | 3 +++ devel/py-oncalendar/pkg-descr | 9 +++++++++ 4 files changed, 33 insertions(+) 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 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.