git: ede72b18b3dc - main - devel/py-cron-converter: Add py-cron-converter 1.2.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 00:01:35 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ede72b18b3dc4cf5c07379f4d2272507a770414a

commit ede72b18b3dc4cf5c07379f4d2272507a770414a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-18 23:45:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-18 23:45:50 +0000

    devel/py-cron-converter: Add py-cron-converter 1.2.2
    
    Cron-converter provides a Cron string parser (from string/lists to string/lists)
    and iteration for the datetime object with a cron like format.
---
 devel/Makefile                    |  1 +
 devel/py-cron-converter/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-cron-converter/distinfo  |  3 +++
 devel/py-cron-converter/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index ffcc8706a1d5..34937bd861ec 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4745,6 +4745,7 @@
     SUBDIR += py-crc32c
     SUBDIR += py-crcmod
     SUBDIR += py-crick
+    SUBDIR += py-cron-converter
     SUBDIR += py-cronsim
     SUBDIR += py-crontab
     SUBDIR += py-crosshair-tool
diff --git a/devel/py-cron-converter/Makefile b/devel/py-cron-converter/Makefile
new file mode 100644
index 000000000000..5e90a791c01c
--- /dev/null
+++ b/devel/py-cron-converter/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	cron-converter
+PORTVERSION=	1.2.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	cron_converter-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Cron string parser and scheduler for Python
+WWW=		https://github.com/Sonic0/cron-converter
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-cron-converter/distinfo b/devel/py-cron-converter/distinfo
new file mode 100644
index 000000000000..489f818add4b
--- /dev/null
+++ b/devel/py-cron-converter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759774499
+SHA256 (cron_converter-1.2.2.tar.gz) = b987525ddf7d5ad28286620622f00dde61c73833d1f05c332a26c389a9c512c3
+SIZE (cron_converter-1.2.2.tar.gz) = 14509
diff --git a/devel/py-cron-converter/pkg-descr b/devel/py-cron-converter/pkg-descr
new file mode 100644
index 000000000000..83dfc1abe706
--- /dev/null
+++ b/devel/py-cron-converter/pkg-descr
@@ -0,0 +1,2 @@
+Cron-converter provides a Cron string parser (from string/lists to string/lists)
+and iteration for the datetime object with a cron like format.