git: 3c2298632d42 - main - sysutils/py-croniter2: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Mar 2024 12:36:52 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3c2298632d4268e72358b6fd40910754fe43dc92
commit 3c2298632d4268e72358b6fd40910754fe43dc92
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-03-04 12:18:53 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-04 12:31:04 +0000
sysutils/py-croniter2: New port
Iteration support for datetime objects with cron like format(2.x)
Please note that when all ports dependent upon sysutils/py-croniter
supports this version sysutils/py-croniter should be updated and this
port should be removed.
---
sysutils/Makefile | 1 +
sysutils/py-croniter2/Makefile | 22 ++++++++++++++++++++++
sysutils/py-croniter2/distinfo | 3 +++
sysutils/py-croniter2/pkg-descr | 1 +
4 files changed, 27 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 4e8580ac8b35..4d69a0d3d2f4 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1095,6 +1095,7 @@
SUBDIR += py-concurrent-log-handler
SUBDIR += py-cron-descriptor
SUBDIR += py-croniter
+ SUBDIR += py-croniter2
SUBDIR += py-dict-toolbox
SUBDIR += py-diffoscope
SUBDIR += py-director
diff --git a/sysutils/py-croniter2/Makefile b/sysutils/py-croniter2/Makefile
new file mode 100644
index 000000000000..3e85711421eb
--- /dev/null
+++ b/sysutils/py-croniter2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= croniter
+PORTVERSION= 2.0.2
+CATEGORIES= sysutils python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 2
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Iteration support for datetime objects with cron like format(2.x)
+WWW= https://pypi.org/project/croniter/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytz>2021.1:devel/py-pytz@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-croniter2/distinfo b/sysutils/py-croniter2/distinfo
new file mode 100644
index 000000000000..fe0da19986d2
--- /dev/null
+++ b/sysutils/py-croniter2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1709554140
+SHA256 (croniter-2.0.2.tar.gz) = 8bff16c9af4ef1fb6f05416973b8f7cb54997c02f2f8365251f9bf1dded91866
+SIZE (croniter-2.0.2.tar.gz) = 42739
diff --git a/sysutils/py-croniter2/pkg-descr b/sysutils/py-croniter2/pkg-descr
new file mode 100644
index 000000000000..e88fc9f3c42f
--- /dev/null
+++ b/sysutils/py-croniter2/pkg-descr
@@ -0,0 +1 @@
+Croniter provides iteration for datetime object with cron like format.