1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

math/py-pynauty: New port: Isomorphism testing and automorphisms of graphs

This commit is contained in:
Yuri Victorovich 2021-08-21 18:00:58 -07:00
parent 1dde2b2d5f
commit ce3a02091d
4 changed files with 34 additions and 0 deletions

View File

@ -873,6 +873,7 @@
SUBDIR += py-pyhull SUBDIR += py-pyhull
SUBDIR += py-pyipopt SUBDIR += py-pyipopt
SUBDIR += py-pymc3 SUBDIR += py-pymc3
SUBDIR += py-pynauty
SUBDIR += py-pyneqsys SUBDIR += py-pyneqsys
SUBDIR += py-pynleq2 SUBDIR += py-pynleq2
SUBDIR += py-pynndescent SUBDIR += py-pynndescent

24
math/py-pynauty/Makefile Normal file
View File

@ -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>

3
math/py-pynauty/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1629593014
SHA256 (pynauty-1.0.2.tar.gz) = 771c6254fd89760ed5ad057676fbe59d9abb898352652e9774a0d43dd6c50096
SIZE (pynauty-1.0.2.tar.gz) = 1862748

View File

@ -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