aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-05-07 20:53:55 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-05-07 20:53:55 +0000
commit11108429e3d334a8bfc08ae70aed64ed275d7349 (patch)
treea65ca326495039967f2b46f01019bf9a34483348
parent04967636d20cf4fda401d5cfc9f589784c702665 (diff)
math/py-lrcalc: adding lrcalc_python 2.1
-rw-r--r--math/Makefile1
-rw-r--r--math/py-lrcalc/Makefile25
-rw-r--r--math/py-lrcalc/distinfo3
-rw-r--r--math/py-lrcalc/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 8c959da33f6d..17f1dddbe5de 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -948,6 +948,7 @@
SUBDIR += py-libpoly
SUBDIR += py-linearmodels
SUBDIR += py-lmfit
+ SUBDIR += py-lrcalc
SUBDIR += py-luminol
SUBDIR += py-mapbox-earcut
SUBDIR += py-mathics
diff --git a/math/py-lrcalc/Makefile b/math/py-lrcalc/Makefile
new file mode 100644
index 000000000000..3095f64e7fab
--- /dev/null
+++ b/math/py-lrcalc/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= lrcalc
+PORTVERSION= 2.1
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Python bindings for lrcal
+WWW= http://sites.math.rutgers.edu/~asbuch/lrcalc/
+
+LICENSE= GPLv3
+
+LIB_DEPENDS= liblrcalc.so:math/lrcalc
+
+USES= localbase python:3.6+
+
+USE_PYTHON= cython distutils
+
+.if !defined(WITH_DEBUG)
+LDFLAGS+= -s
+.endif
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/lrcalc%%PYTHON_EXT_SUFFIX%%.so
+
+.include <bsd.port.mk>
diff --git a/math/py-lrcalc/distinfo b/math/py-lrcalc/distinfo
new file mode 100644
index 000000000000..783b63c72042
--- /dev/null
+++ b/math/py-lrcalc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683491596
+SHA256 (lrcalc-2.1.tar.gz) = e3a0509aeda487b412b391a52e817ca36b5c063a8305e09fd54d53259dd6aaa9
+SIZE (lrcalc-2.1.tar.gz) = 16452
diff --git a/math/py-lrcalc/pkg-descr b/math/py-lrcalc/pkg-descr
new file mode 100644
index 000000000000..2f6006c4cbb0
--- /dev/null
+++ b/math/py-lrcalc/pkg-descr
@@ -0,0 +1,4 @@
+This package provides Python bindings for the Littlewood-Richardson Calculator
+library (see the port math/lrcalc).
+
+See also: https://bitbucket.org/asbuch/lrcalc/src/master/python/