summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/Makefile1
-rw-r--r--math/elan/Makefile2
-rw-r--r--math/fend/Makefile2
-rw-r--r--math/kalc/Makefile2
-rw-r--r--math/kalker/Makefile2
-rw-r--r--math/py-clarabel/Makefile2
-rw-r--r--math/py-conway-polynomials/Makefile31
-rw-r--r--math/py-conway-polynomials/distinfo3
-rw-r--r--math/py-conway-polynomials/pkg-descr14
-rw-r--r--math/py-pcodec/Makefile2
-rw-r--r--math/py-rustworkx/Makefile2
-rw-r--r--math/savage/Makefile2
12 files changed, 57 insertions, 8 deletions
diff --git a/math/Makefile b/math/Makefile
index fa53616c10bc..18b42579ce7e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -962,6 +962,7 @@
SUBDIR += py-cmyt
SUBDIR += py-colormath
SUBDIR += py-contourpy
+ SUBDIR += py-conway-polynomials
SUBDIR += py-cryptominisat
SUBDIR += py-cvxopt
SUBDIR += py-cvxpy
diff --git a/math/elan/Makefile b/math/elan/Makefile
index fde287790f79..3fe8c3b54070 100644
--- a/math/elan/Makefile
+++ b/math/elan/Makefile
@@ -1,7 +1,7 @@
PORTNAME= elan
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
diff --git a/math/fend/Makefile b/math/fend/Makefile
index f381bc0a6dbd..e5f272026738 100644
--- a/math/fend/Makefile
+++ b/math/fend/Makefile
@@ -1,7 +1,7 @@
PORTNAME= fend
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
diff --git a/math/kalc/Makefile b/math/kalc/Makefile
index 283f792991c3..fcd9ee5cdde3 100644
--- a/math/kalc/Makefile
+++ b/math/kalc/Makefile
@@ -1,7 +1,7 @@
PORTNAME= kalc
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
PKGNAMESUFFIX= -calculator
diff --git a/math/kalker/Makefile b/math/kalker/Makefile
index 46c3130be522..ac7c57f96772 100644
--- a/math/kalker/Makefile
+++ b/math/kalker/Makefile
@@ -1,7 +1,7 @@
PORTNAME= kalker
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= math
MAINTAINER= ashish@FreeBSD.org
diff --git a/math/py-clarabel/Makefile b/math/py-clarabel/Makefile
index 421b79298308..01869fe044e1 100644
--- a/math/py-clarabel/Makefile
+++ b/math/py-clarabel/Makefile
@@ -1,7 +1,7 @@
PORTNAME= clarabel
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= math python
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/math/py-conway-polynomials/Makefile b/math/py-conway-polynomials/Makefile
new file mode 100644
index 000000000000..2d48fdfced10
--- /dev/null
+++ b/math/py-conway-polynomials/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= conway-polynomials
+DISTVERSION= 0.10
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python interface to Frank Lubeck's Conway polynomial database
+WWW= https://github.com/sagemath/conway-polynomials
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${TEST_WRKSRC} && \
+ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest --doctest-modules --doctest-glob='*.rst' ${WRKSRC}/README.rst ${WRKSRC}/src/conway_polynomials/__init__.py
+
+# tests as of 0.10: 2 passed in 2.99s
+
+.include <bsd.port.mk>
diff --git a/math/py-conway-polynomials/distinfo b/math/py-conway-polynomials/distinfo
new file mode 100644
index 000000000000..ea87f25007b9
--- /dev/null
+++ b/math/py-conway-polynomials/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759482386
+SHA256 (conway_polynomials-0.10.tar.gz) = 4f619f64f81a3eb16c4e26c5a284feeec27a6f4aad647643e79af289801ae0f3
+SIZE (conway_polynomials-0.10.tar.gz) = 307447
diff --git a/math/py-conway-polynomials/pkg-descr b/math/py-conway-polynomials/pkg-descr
new file mode 100644
index 000000000000..1a43461d9c06
--- /dev/null
+++ b/math/py-conway-polynomials/pkg-descr
@@ -0,0 +1,14 @@
+Python interface to Frank Luebeck's Conway polynomial database.
+
+Frank Luebeck maintains a list of pre-computed Conway polynomial coefficients.
+These are used in several computer algebra systems such as GAP and SageMath
+to provide quick access to those Conway polynomials.
+
+The package consists of a single module containing a single function that
+returns a dict of dicts, conway_polynomials.database(). The dictionary's
+format is {p: {n: coefficients}}, where p represents your prime and n your
+degree. The tuple of coefficients is returned in ascending order; that is,
+the first coefficient (at index zero) is for the constant (degree zero) term.
+
+This package is an evolution of the SageMath conway_polynomials package
+and is maintained by the same team of developers.
diff --git a/math/py-pcodec/Makefile b/math/py-pcodec/Makefile
index 2460ea891064..4d570e399794 100644
--- a/math/py-pcodec/Makefile
+++ b/math/py-pcodec/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pcodec
PORTVERSION= 0.3.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/math/py-rustworkx/Makefile b/math/py-rustworkx/Makefile
index b30f0fa69a0a..fc2696584065 100644
--- a/math/py-rustworkx/Makefile
+++ b/math/py-rustworkx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rustworkx
DISTVERSION= 0.17.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math python
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/math/savage/Makefile b/math/savage/Makefile
index 5701c13df0a7..8e92b20b8f8d 100644
--- a/math/savage/Makefile
+++ b/math/savage/Makefile
@@ -1,7 +1,7 @@
PORTNAME= savage
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
-PORTREVISION= 32
+PORTREVISION= 33
CATEGORIES= math
MAINTAINER= ashish@FreeBSD.org