Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 2021 01:04:32 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce3a02091dce - main - math/py-pynauty: New port: Isomorphism testing and automorphisms of graphs
Message-ID:  <202108220104.17M14Wbs087290@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit ce3a02091dceed0036d56dfddead58232c04465c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-22 01:00:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-22 01:04:31 +0000

    math/py-pynauty: New port: Isomorphism testing and automorphisms of graphs
---
 math/Makefile             |  1 +
 math/py-pynauty/Makefile  | 24 ++++++++++++++++++++++++
 math/py-pynauty/distinfo  |  3 +++
 math/py-pynauty/pkg-descr |  6 ++++++
 4 files changed, 34 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 14eae18d0e39..b1509694da06 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -873,6 +873,7 @@
     SUBDIR += py-pyhull
     SUBDIR += py-pyipopt
     SUBDIR += py-pymc3
+    SUBDIR += py-pynauty
     SUBDIR += py-pyneqsys
     SUBDIR += py-pynleq2
     SUBDIR += py-pynndescent
diff --git a/math/py-pynauty/Makefile b/math/py-pynauty/Makefile
new file mode 100644
index 000000000000..d67dff7e6e9b
--- /dev/null
+++ b/math/py-pynauty/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	pynauty
+DISTVERSION=	1.0.2
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Isomorphism testing and automorphisms of graphs
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	gmake:devel/gmake
+
+USES=		python:3.6+ shebangfix
+USE_PYTHON=	distutils autoplist
+
+SHEBANG_FILES=	src/pynauty/tests/test_minimal.py
+
+BINARY_ALIAS=	make=${GMAKE} python3=${PYTHON_CMD}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pynauty/nautywrap*.so
+
+.include <bsd.port.mk>
diff --git a/math/py-pynauty/distinfo b/math/py-pynauty/distinfo
new file mode 100644
index 000000000000..fd7f06b8dc6d
--- /dev/null
+++ b/math/py-pynauty/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629593014
+SHA256 (pynauty-1.0.2.tar.gz) = 771c6254fd89760ed5ad057676fbe59d9abb898352652e9774a0d43dd6c50096
+SIZE (pynauty-1.0.2.tar.gz) = 1862748
diff --git a/math/py-pynauty/pkg-descr b/math/py-pynauty/pkg-descr
new file mode 100644
index 000000000000..5ad7b7a70959
--- /dev/null
+++ b/math/py-pynauty/pkg-descr
@@ -0,0 +1,6 @@
+Pynauty can be used to compare graphs for isomorphism and to determine their
+automorphism group in a Python programming environment. Pynauty is a Python/C
+extension module using library components from the Nauty package by Brendan
+McKay.
+
+WWW: https://github.com/pdobsan/pynauty



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108220104.17M14Wbs087290>