ports/devel/py-rq/Makefile
Po-Chuan Hsieh f1933fcdfd
devel/py-rq: Fix a62983b180
- Fix version requirement of RUN_DEPENDS
- Fix CONFLICTS_INSTALL

from pyproject.toml:
dependencies = [
  "click>=5",
  "redis>=3.5",
]

Approved by:	portmgr (blanket)
Reference:	https://github.com/rq/rq/blob/v2.0/pyproject.toml#L48-L51
2024-11-27 10:37:10 +08:00

25 lines
670 B
Makefile

PORTNAME= rq
PORTVERSION= 2.0.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=5:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}redis>=3.5:databases/py-redis@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}rq1
NO_ARCH= yes
.include <bsd.port.mk>