diff --git a/net/py-celery/Makefile b/net/py-celery/Makefile index ea758880873d..a337f1e129e4 100644 --- a/net/py-celery/Makefile +++ b/net/py-celery/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:16 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2022/02/15 16:24:56 wiz Exp $ -DISTNAME= celery-5.1.2 +DISTNAME= celery-5.2.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=c/celery/} @@ -11,16 +10,26 @@ HOMEPAGE= https://docs.celeryproject.org/ COMMENT= Asynchronous task/job queue based on distributed message passing LICENSE= modified-bsd -DEPENDS+= ${PYPKGPREFIX}-billiard>=3.6.3.0:../../parallel/py-billiard -DEPENDS+= ${PYPKGPREFIX}-click>=7.0:../../devel/py-click +DEPENDS+= ${PYPKGPREFIX}-billiard>=3.6.4.0:../../parallel/py-billiard +DEPENDS+= ${PYPKGPREFIX}-click>=8.0.3:../../devel/py-click DEPENDS+= ${PYPKGPREFIX}-click-didyoumean>=0.0.3:../../devel/py-click-didyoumean DEPENDS+= ${PYPKGPREFIX}-click-plugins>=1.1.1:../../devel/py-click-plugins -DEPENDS+= ${PYPKGPREFIX}-click-repl>=0.1.6:../../devel/py-click-repl -DEPENDS+= ${PYPKGPREFIX}-kombu>=5.0.0:../../net/py-kombu -DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz +DEPENDS+= ${PYPKGPREFIX}-click-repl>=0.2.0:../../devel/py-click-repl +DEPENDS+= ${PYPKGPREFIX}-kombu>=5.2.3:../../net/py-kombu +DEPENDS+= ${PYPKGPREFIX}-pytz>=2021.3:../../time/py-pytz +DEPENDS+= ${PYPKGPREFIX}-setuptools>=59.1.1:../../devel/py-setuptools DEPENDS+= ${PYPKGPREFIX}-vine>=5.0.0:../../devel/py-vine -TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-boto3>=1.9.178:../../net/py-boto3 +TEST_DEPENDS+= ${PYPKGPREFIX}-moto>=2.2.6:../../net/py-moto +TEST_DEPENDS+= ${PYPKGPREFIX}-msgpack-[0-9]*:../../devel/py-msgpack +#TEST_DEPENDS+= ${PYPKGPREFIX}-pre-commit-[0-9]*:../../wip/py-pre-commit +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-celery-[0-9]*:../../devel/py-test-celery +TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests-[0-9]*:../../devel/py-test-subtests +TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout +# unlisted but needed +TEST_DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns +TEST_DEPENDS+= ${PYPKGPREFIX}-mongo-[0-9]*:../../databases/py-mongo USE_LANGUAGES= # none @@ -32,5 +41,8 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} celery celery-${PYVERSSUFFIX} || ${TRUE} +# test status as of 5.2.3 with py-pre-commit +# 1 failed, 2444 passed, 49 skipped, 3 xfailed, 30 warnings + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-celery/distinfo b/net/py-celery/distinfo index 2e8bb79eee95..4ff99eba855b 100644 --- a/net/py-celery/distinfo +++ b/net/py-celery/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.15 2021/10/26 11:06:35 nia Exp $ +$NetBSD: distinfo,v 1.16 2022/02/15 16:24:56 wiz Exp $ -BLAKE2s (celery-5.1.2.tar.gz) = 76e9de1de9188c50b411bda429ddc0296220b4d67c74fd12a6b96a2d0b7bfa68 -SHA512 (celery-5.1.2.tar.gz) = c8f8d8dd4cc23a62ed3eea9b5388865993aee940730d4c672ae24c1b017466b0de6f422c7cb3b1bb2a4e33459a0d2447f9a42e59ee949fda56f3032298402a71 -Size (celery-5.1.2.tar.gz) = 1457540 bytes +BLAKE2s (celery-5.2.3.tar.gz) = 7b69810bf388b118033cc909a0d6f79a4c37c0d5493eb70febdcd28bacce6098 +SHA512 (celery-5.2.3.tar.gz) = 9df7535b9a1e0120fe87f11f054c821e5f806b60833bda7dd37b850a3080b88798edfbeec1edcfb58aecc9c34406a32112f3e952e25cee3e5e79ae2f57ce0071 +Size (celery-5.2.3.tar.gz) = 1472455 bytes +SHA1 (patch-requirements_default.txt) = a878a8bbd3ecc6e305cbcb7c8de2777ab0da1697 +SHA1 (patch-requirements_test.txt) = 7ef7e9a6a72fc19b547d073f9d9bf327959412a7 diff --git a/net/py-celery/patches/patch-requirements_default.txt b/net/py-celery/patches/patch-requirements_default.txt new file mode 100644 index 000000000000..8ae963424e91 --- /dev/null +++ b/net/py-celery/patches/patch-requirements_default.txt @@ -0,0 +1,21 @@ +$NetBSD: patch-requirements_default.txt,v 1.1 2022/02/15 16:24:57 wiz Exp $ + +Relax restrictions. + +--- requirements/default.txt.orig 2021-12-29 05:23:30.000000000 +0000 ++++ requirements/default.txt +@@ -1,9 +1,9 @@ + pytz>=2021.3 +-billiard>=3.6.4.0,<4.0 +-kombu>=5.2.3,<6.0 +-vine>=5.0.0,<6.0 +-click>=8.0.3,<9.0 ++billiard>=3.6.4.0 ++kombu>=5.2.3 ++vine>=5.0.0 ++click>=8.0.3 + click-didyoumean>=0.0.3 + click-repl>=0.2.0 + click-plugins>=1.1.1 +-setuptools>=59.1.1,<59.7.0 ++setuptools>=59.1.1 diff --git a/net/py-celery/patches/patch-requirements_test.txt b/net/py-celery/patches/patch-requirements_test.txt new file mode 100644 index 000000000000..2280d599af4d --- /dev/null +++ b/net/py-celery/patches/patch-requirements_test.txt @@ -0,0 +1,16 @@ +$NetBSD: patch-requirements_test.txt,v 1.4 2022/02/15 16:24:57 wiz Exp $ + +Relax restrictions. + +--- requirements/test.txt.orig 2021-11-21 13:37:38.000000000 +0000 ++++ requirements/test.txt +@@ -1,7 +1,7 @@ +-pytest~=6.2 ++pytest + pytest-celery + pytest-subtests +-pytest-timeout~=1.4.2 ++pytest-timeout + boto3>=1.9.178 + moto>=2.2.6 + pre-commit