git: 29ec6d22d557 - main - biology/py-resdk: Update 15.0.0 → 16.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 06:56:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=29ec6d22d557b9dac349cde0220db6b9e1180008

commit 29ec6d22d557b9dac349cde0220db6b9e1180008
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-28 06:56:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-28 06:56:38 +0000

    biology/py-resdk: Update 15.0.0 → 16.0.0
    
    Reported by:    portscout
---
 biology/py-resdk/Makefile                   | 13 ++++++++++---
 biology/py-resdk/distinfo                   |  6 +++---
 biology/py-resdk/files/patch-pyproject.toml | 10 ++++++++++
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/biology/py-resdk/Makefile b/biology/py-resdk/Makefile
index adbf39a03844..8bab7800ba6a 100644
--- a/biology/py-resdk/Makefile
+++ b/biology/py-resdk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	resdk
-DISTVERSION=	15.0.0
+DISTVERSION=	16.0.0
 CATEGORIES=	biology python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -8,8 +8,12 @@ MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Resolwe SDK to interact with Resolwe server and Resolwe Bioinformatics
 WWW=		https://github.com/genialis/resolwe-bio-py
 
-LICENSE=	BSD3CLAUSE
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4.0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	\
 		${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
@@ -24,10 +28,13 @@ RUN_DEPENDS=	\
 		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.5.1:devel/py-tzlocal@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xlrd>0:textproc/py-xlrd@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mypy-boto3-s3>0:devel/py-mypy-boto3-s3@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 .include <bsd.port.mk>
diff --git a/biology/py-resdk/distinfo b/biology/py-resdk/distinfo
index 24f5720f9018..2ea32f84eae1 100644
--- a/biology/py-resdk/distinfo
+++ b/biology/py-resdk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654554538
-SHA256 (resdk-15.0.0.tar.gz) = 8bdbda4877cb2452157019f711a318d1f20f74e46689e48461597d9f86d57fb3
-SIZE (resdk-15.0.0.tar.gz) = 246344
+TIMESTAMP = 1674884051
+SHA256 (resdk-16.0.0.tar.gz) = 6424cc0c7584f95f6738cbccc98e83902377438881d435776a7b19a6ea458f7a
+SIZE (resdk-16.0.0.tar.gz) = 250300
diff --git a/biology/py-resdk/files/patch-pyproject.toml b/biology/py-resdk/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a9e3f87ed2f2
--- /dev/null
+++ b/biology/py-resdk/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2023-01-28 05:39:12 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ requires = [
+-    "setuptools >= 64.0.0",
++    "setuptools >= 0",
+     "setuptools_scm >= 6.4.0",
+ ]
+ build-backend = "setuptools.build_meta"