Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2022 09:15:27 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: fdeb11a438e2 - main - math/py-slepc4py: New port: SLEPc for Python
Message-ID:  <202212230915.2BN9FRUq084114@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=fdeb11a438e2d3851b2689aa9ec82b4a99b19e88

commit fdeb11a438e2d3851b2689aa9ec82b4a99b19e88
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-23 09:14:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-23 09:15:18 +0000

    math/py-slepc4py: New port: SLEPc for Python
---
 MOVED                      |  1 -
 math/Makefile              |  1 +
 math/py-slepc4py/Makefile  | 31 +++++++++++++++++++++++++++++++
 math/py-slepc4py/distinfo  |  3 +++
 math/py-slepc4py/pkg-descr |  2 ++
 5 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 023a8498196d..77dec04e5972 100644
--- a/MOVED
+++ b/MOVED
@@ -15703,7 +15703,6 @@ security/py-pyptlib||2020-12-29|Has expired: Uses deprecated version of python
 japanese/py-zinnia||2020-12-29|Has expired: Uses deprecated version of python
 www/py-pastescript||2020-12-29|Has expired: Uses deprecated version of python
 databases/ldb14||2020-12-29|Has expired: Uses deprecated version of python
-math/py-slepc4py||2020-12-29|Has expired: Depends on broken and expiring math/slepc
 multimedia/py-kaa-base||2020-12-29|Has expired: Uses deprecated version of python
 devel/py-ydbf||2020-12-29|Has expired: Uses deprecated version of python
 devel/py-SymbolType||2020-12-29|Has expired: Uses deprecated version of python
diff --git a/math/Makefile b/math/Makefile
index 61959da31c75..072c44ca5f1d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1012,6 +1012,7 @@
     SUBDIR += py-secp256k1
     SUBDIR += py-seriate
     SUBDIR += py-simhash
+    SUBDIR += py-slepc4py
     SUBDIR += py-snuggs
     SUBDIR += py-spectral
     SUBDIR += py-spglm
diff --git a/math/py-slepc4py/Makefile b/math/py-slepc4py/Makefile
new file mode 100644
index 000000000000..b1f9aefdcd62
--- /dev/null
+++ b/math/py-slepc4py/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	slepc4py
+DISTVERSION=	3.18.1
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	SLEPc for Python
+WWW=		https://bitbucket.org/slepc/slepc4py
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+PY_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}petsc4py>0:math/py-petsc4py@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+LIB_DEPENDS=	libmpich.so:net/mpich \
+		libpetsc.so:science/PETSc \
+		libslepc.so:math/slepc
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		fortran python:3.6+
+USE_PYTHON=	distutils autoplist
+
+MAKE_ENV=	PETSC_DIR=${LOCALBASE} SLEPC_DIR=${LOCALBASE}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/slepc4py/lib/SLEPc${PYTHON_EXT_SUFFIX}.so
+
+.include <bsd.port.mk>
diff --git a/math/py-slepc4py/distinfo b/math/py-slepc4py/distinfo
new file mode 100644
index 000000000000..6aaea9429b05
--- /dev/null
+++ b/math/py-slepc4py/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671779456
+SHA256 (slepc4py-3.18.1.tar.gz) = 4c2bc0947d6a9cdb209e3174b7f54fe7b029220e2c90106f52844e8f8795f8f0
+SIZE (slepc4py-3.18.1.tar.gz) = 1183611
diff --git a/math/py-slepc4py/pkg-descr b/math/py-slepc4py/pkg-descr
new file mode 100644
index 000000000000..cd3d288e1c6a
--- /dev/null
+++ b/math/py-slepc4py/pkg-descr
@@ -0,0 +1,2 @@
+Python bindings for SLEPc, the Scalable Library for Eigenvalue Problem
+Computations.



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