aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-06-22 03:34:47 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-06-22 03:36:27 +0000
commit9cb731e74e34231c2f38abd707125cf19e2c46c1 (patch)
tree3d5f216fb72b47d8d897ecc2aec63e85a4baa23f
parentaf1507a44fe025f32d31a9a7226d9e6f722bd39e (diff)
downloadports-9cb731e74e34231c2f38abd707125cf19e2c46c1.tar.gz
ports-9cb731e74e34231c2f38abd707125cf19e2c46c1.zip
devel/py-scheduler: New port: Python scheduler library
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-scheduler/Makefile20
-rw-r--r--devel/py-scheduler/distinfo3
-rw-r--r--devel/py-scheduler/pkg-descr6
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 49877d5e12a8..a493b405f4eb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5300,6 +5300,7 @@
SUBDIR += py-sarge
SUBDIR += py-sarif-om
SUBDIR += py-schedule
+ SUBDIR += py-scheduler
SUBDIR += py-schema
SUBDIR += py-schematics-patched
SUBDIR += py-scikit-build
diff --git a/devel/py-scheduler/Makefile b/devel/py-scheduler/Makefile
new file mode 100644
index 000000000000..b42a16dfef60
--- /dev/null
+++ b/devel/py-scheduler/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= scheduler
+DISTVERSION= 0.7.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python scheduler library
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typeguard>=2.6.0:devel/py-typeguard@${PY_FLAVOR}
+
+USES= python:3.9+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-scheduler/distinfo b/devel/py-scheduler/distinfo
new file mode 100644
index 000000000000..059611b26555
--- /dev/null
+++ b/devel/py-scheduler/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655866361
+SHA256 (scheduler-0.7.4.tar.gz) = 283f23957b309a1216fbf68a8cc01ee84b7b9155bd2602cfba3c71c10c296c94
+SIZE (scheduler-0.7.4.tar.gz) = 29013
diff --git a/devel/py-scheduler/pkg-descr b/devel/py-scheduler/pkg-descr
new file mode 100644
index 000000000000..db9913797058
--- /dev/null
+++ b/devel/py-scheduler/pkg-descr
@@ -0,0 +1,6 @@
+scheduler is a simple in-process python scheduler library with
+asyncio, threading and timezone support. Schedule tasks by their time
+cycles, fixed times, weekdays, dates, weights, offsets and execution
+counts and automate jobs.
+
+WWW: https://gitlab.com/DigonIO/scheduler