git: 11108429e3d3 - main - math/py-lrcalc: adding lrcalc_python 2.1

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 07 May 2023 20:55:13 UTC
The branch main has been updated by thierry:

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

commit 11108429e3d334a8bfc08ae70aed64ed275d7349
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-05-07 20:53:55 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-05-07 20:53:55 +0000

    math/py-lrcalc: adding lrcalc_python 2.1
---
 math/Makefile            |  1 +
 math/py-lrcalc/Makefile  | 25 +++++++++++++++++++++++++
 math/py-lrcalc/distinfo  |  3 +++
 math/py-lrcalc/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

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/