1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

New port: math/py-petsc4py: PETSc for Python

This commit is contained in:
Yuri Victorovich 2018-06-09 16:20:43 +00:00
parent d95fd234c5
commit e53393acc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472067
5 changed files with 39 additions and 0 deletions

View File

@ -692,6 +692,7 @@
SUBDIR += py-pandas
SUBDIR += py-pandas-datareader
SUBDIR += py-patsy
SUBDIR += py-petsc4py
SUBDIR += py-piranha
SUBDIR += py-plastex
SUBDIR += py-probstat

28
math/py-petsc4py/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= petsc4py
DISTVERSION= 3.9.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PATCH_SITES= https://bitbucket.org/petsc/petsc4py/commits/
PATCHFILES= ab877906425e/raw:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= PETSc for Python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libmpich.so:net/mpich2 \
libpetsc.so:science/PETSc
RUN_DEPENDS= ${PYNUMPY}
USES= python
USE_PYTHON= distutils autoplist
MAKE_ENV= PETSC_DIR=${LOCALBASE}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1528554205
SHA256 (petsc4py-3.9.1.tar.gz) = 0ccee912216f100d9b08637e036df00e043a530303ff8afd7c3ac7c454681fb9
SIZE (petsc4py-3.9.1.tar.gz) = 1651526
SHA256 (ab877906425e/raw) = ef07a5622ce5a55dc555455aff5c59a6395bdef74b11aa576d58642db7c4ccfc
SIZE (ab877906425e/raw) = 2706

View File

@ -0,0 +1,4 @@
Python bindings for PETSc, the Portable, Extensible Toolkit for Scientific
Computation.
WWW: https://bitbucket.org/petsc/petsc4py

View File

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/petsc4py/lib/PETSc.so