git: 9b1c34f578f8 - main - devel/py-rq1: Add new port, copied from devel/py-rq
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Nov 2024 08:08:31 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9b1c34f578f8a689a52b942a9030002bda2ffcc4
commit 9b1c34f578f8a689a52b942a9030002bda2ffcc4
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:42:50 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:52:53 +0000
devel/py-rq1: Add new port, copied from devel/py-rq
RQ (Redis Queue) is a simple Python library for queueing jobs and
processing them in the background with workers. It is backed by Redis
and it is designed to have a low barrier to entry. It can be integrated
in your web stack easily.
This port serves as a transition for consumers of devel/py-rq which are
not yet ready for py-rq 2.0.0.
PR: 282649
Approved by: skreuzer (maintainer)
---
devel/Makefile | 1 +
devel/py-rq1/Makefile | 29 +++++++++++++++++++++++++++++
devel/py-rq1/distinfo | 3 +++
devel/py-rq1/pkg-descr | 3 +++
4 files changed, 36 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index a5e6504bfa4d..f0d35948fe16 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5822,6 +5822,7 @@
SUBDIR += py-rply
SUBDIR += py-rq
SUBDIR += py-rq-scheduler
+ SUBDIR += py-rq1
SUBDIR += py-rstr
SUBDIR += py-rtree
SUBDIR += py-rtslib-fb
diff --git a/devel/py-rq1/Makefile b/devel/py-rq1/Makefile
new file mode 100644
index 000000000000..cae00499cabb
--- /dev/null
+++ b/devel/py-rq1/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= rq
+PORTVERSION= 1.16.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 1
+
+MAINTAINER= skreuzer@FreeBSD.org
+COMMENT= Simple library for creating background jobs, and processing them
+WWW= https://python-rq.org
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=5.0.0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}redis>=4.0.0:databases/py-redis@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-rq
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^1.*
+
+.include <bsd.port.mk>
diff --git a/devel/py-rq1/distinfo b/devel/py-rq1/distinfo
new file mode 100644
index 000000000000..ee81cb9380c0
--- /dev/null
+++ b/devel/py-rq1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716816474
+SHA256 (rq-1.16.2.tar.gz) = 5c5b9ad5fbaf792b8fada25cc7627f4d206a9a4455aced371d4f501cc3f13b34
+SIZE (rq-1.16.2.tar.gz) = 629881
diff --git a/devel/py-rq1/pkg-descr b/devel/py-rq1/pkg-descr
new file mode 100644
index 000000000000..1746b3d9572b
--- /dev/null
+++ b/devel/py-rq1/pkg-descr
@@ -0,0 +1,3 @@
+RQ (Redis Queue) is a simple Python library for queueing jobs and processing
+them in the background with workers. It is backed by Redis and it is designed
+to have a low barrier to entry. It can be integrated in your web stack easily.