git: 5ee10020c891 - main - textproc/py-fingerprints: Update to 1.1.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 12:24:44 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ee10020c891a8f058de625061d54297ff981516

commit 5ee10020c891a8f058de625061d54297ff981516
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-21 12:15:14 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-21 12:23:17 +0000

    textproc/py-fingerprints: Update to 1.1.0
    
    * Sort USE_PYTHON and simplify "do-test" target by switching to
      USE_PYTHON=pytest
    
    Changelog since 1.0.1:
    
    https://github.com/alephdata/fingerprints/compare/1.0.1...1.1.0
---
 textproc/py-fingerprints/Makefile | 12 +++++-------
 textproc/py-fingerprints/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/textproc/py-fingerprints/Makefile b/textproc/py-fingerprints/Makefile
index 0d9ce4058ef5..e7c2c9a1a63a 100644
--- a/textproc/py-fingerprints/Makefile
+++ b/textproc/py-fingerprints/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fingerprints
-DISTVERSION=	1.0.1
+DISTVERSION=	1.1.0
 CATEGORIES=	textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,17 +10,15 @@ WWW=		https://github.com/alephdata/fingerprints
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}normality>=2.0.0:textproc/py-normality@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}normality>=2.0.0<3.0.0:textproc/py-normality@${PY_FLAVOR}
 
 USES=		python:3.5+
 USE_GITHUB=	yes
 GH_ACCOUNT=	alephdata
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils pytest
 
-NO_ARCH=	yes
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
-do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/textproc/py-fingerprints/distinfo b/textproc/py-fingerprints/distinfo
index 873a35a8f81d..db4f7bef3038 100644
--- a/textproc/py-fingerprints/distinfo
+++ b/textproc/py-fingerprints/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1607595648
-SHA256 (alephdata-fingerprints-1.0.1_GH0.tar.gz) = ad024a9424da05eb2bd5c8848268a4377b77a29eb623dea1aaae28af73c155ad
-SIZE (alephdata-fingerprints-1.0.1_GH0.tar.gz) = 75911
+TIMESTAMP = 1679234053
+SHA256 (alephdata-fingerprints-1.1.0_GH0.tar.gz) = 702055ab846b51d08be4ae5eee64bb01916d0b95ca52005506bad100d6c1953b
+SIZE (alephdata-fingerprints-1.1.0_GH0.tar.gz) = 84893