git: 0fef529538a4 - main - devel/py-scheduler: update 0.8.5 → 0.8.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 10 Nov 2024 20:13:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0fef529538a4e1749e8b68800fa302b6daf11bdd

commit 0fef529538a4e1749e8b68800fa302b6daf11bdd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 20:10:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 20:13:35 +0000

    devel/py-scheduler: update 0.8.5 → 0.8.7
---
 devel/py-scheduler/Makefile | 11 ++++++++---
 devel/py-scheduler/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/devel/py-scheduler/Makefile b/devel/py-scheduler/Makefile
index e847e533e16f..236254545722 100644
--- a/devel/py-scheduler/Makefile
+++ b/devel/py-scheduler/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	scheduler
-DISTVERSION=	0.8.5
+DISTVERSION=	0.8.7
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +11,16 @@ WWW=		https://gitlab.com/DigonIO/scheduler
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typeguard>=3.0.0:devel/py-typeguard@${PY_FLAVOR}
 
-USES=		python:3.9+
-USE_PYTHON=	distutils autoplist
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest # tests fail to run, see https://gitlab.com/DigonIO/scheduler/-/issues/28
 
 NO_ARCH=	yes
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
+
 .include <bsd.port.mk>
diff --git a/devel/py-scheduler/distinfo b/devel/py-scheduler/distinfo
index df44f9d1cd03..f5ead329899e 100644
--- a/devel/py-scheduler/distinfo
+++ b/devel/py-scheduler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712340709
-SHA256 (scheduler-0.8.5.tar.gz) = f2dd4051b0fa7291134a8aa863cf1b4999a3ec5b9a17a73eee4243257d8ba789
-SIZE (scheduler-0.8.5.tar.gz) = 28449
+TIMESTAMP = 1731264476
+SHA256 (scheduler-0.8.7.tar.gz) = ab54d6474649650c5d040b0cc0ae314c636b110fd0dd83254a0481bc93415ee5
+SIZE (scheduler-0.8.7.tar.gz) = 32031