git: 7a2b1705fd9d - main - math/py-pynauty: Update 1.0.2 -> 1.1.1; Add test target

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 May 2022 23:45:04 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a2b1705fd9d00a7732ce58389396f86bc025de9

commit 7a2b1705fd9d00a7732ce58389396f86bc025de9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-07 23:41:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-07 23:45:01 +0000

    math/py-pynauty: Update 1.0.2 -> 1.1.1; Add test target
---
 math/py-pynauty/Makefile | 6 +++++-
 math/py-pynauty/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/math/py-pynauty/Makefile b/math/py-pynauty/Makefile
index d67dff7e6e9b..1e511b2f9989 100644
--- a/math/py-pynauty/Makefile
+++ b/math/py-pynauty/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pynauty
-DISTVERSION=	1.0.2
+DISTVERSION=	1.1.1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,6 +10,7 @@ COMMENT=	Isomorphism testing and automorphisms of graphs
 LICENSE=	GPLv3
 
 BUILD_DEPENDS=	gmake:devel/gmake
+TEST_DEPENDS=	pytest:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.6+ shebangfix
 USE_PYTHON=	distutils autoplist
@@ -21,4 +22,7 @@ BINARY_ALIAS=	make=${GMAKE} python3=${PYTHON_CMD}
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pynauty/nautywrap*.so
 
+do-test: install
+	@cd ${WRKSRC} && pytest
+
 .include <bsd.port.mk>
diff --git a/math/py-pynauty/distinfo b/math/py-pynauty/distinfo
index fd7f06b8dc6d..4589046e0fe3 100644
--- a/math/py-pynauty/distinfo
+++ b/math/py-pynauty/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629593014
-SHA256 (pynauty-1.0.2.tar.gz) = 771c6254fd89760ed5ad057676fbe59d9abb898352652e9774a0d43dd6c50096
-SIZE (pynauty-1.0.2.tar.gz) = 1862748
+TIMESTAMP = 1651966586
+SHA256 (pynauty-1.1.1.tar.gz) = 960e013c00dd035eb3cf5bec56e1d6ec76a849f86e961b1fc8b6a6745ce2199e
+SIZE (pynauty-1.1.1.tar.gz) = 1893705