View | Details | Raw Unified | Return to bug 211768 | Differences between
and this patch

Collapse All | Expand All

(-)net/py-mpi4py-openmpi/Makefile (+49 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME?=	mpi4py-openmpi
4
PORTVERSION=	2.0.0
5
CATEGORIES=	net parallel python
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
8
MAINTAINER=	mike.d.ft402@gmail.com
9
COMMENT=	MPI for Python - Python bindings for MPI
10
11
LICENSE=	BSD3CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE.rst
13
14
BUILD_DEPENDS=	cython:lang/cython
15
LIB_DEPENDS?=	libmpi.so:net/openmpi
16
RUN_DEPENDS=	${PYNUMPY} \
17
		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	mpi4py
21
GH_PROJECT=	mpi4py
22
23
USES=		python
24
USE_PYTHON=	autoplist distutils
25
NO_ARCH=	yes
26
27
CONFLICTS?=	py*-mpi4py-mpich-*
28
29
PORTDOCS=	*
30
PORTEXAMPLES=	*
31
32
.if ${PORTNAME} == "mpi4py-openmpi"
33
do-patch:
34
	${CP} ${FILESDIR}/mpi.cfg ${WRKSRC}/
35
.endif
36
37
do-install-DOCS-on:
38
	${MKDIR} ${STAGEDIR}${DOCSDIR}
39
	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
40
	${COPYTREE_SHARE} ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR}
41
42
do-install-EXAMPLES-on:
43
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
44
	${COPYTREE_SHARE} ${WRKSRC}/examples ${STAGEDIR}${EXAMPLESDIR}
45
46
do-test:
47
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
48
49
.include <bsd.port.mk>
(-)net/py-mpi4py-openmpi/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1470929543
2
SHA256 (mpi4py-mpi4py-2.0.0_GH0.tar.gz) = b24bd3c60a04e2df4556a3c572436e59f0f3aaafb0ad03a3dc688885ae6a8a28
3
SIZE (mpi4py-mpi4py-2.0.0_GH0.tar.gz) = 264023
(-)net/py-mpi4py-openmpi/files/mpi.cfg (+6 lines)
Line 0 Link Here
1
[mpi]
2
mpi_dir              = /usr/local/mpi/openmpi
3
mpicc                = %(mpi_dir)s/bin/mpicc
4
mpicxx               = %(mpi_dir)s/bin/mpicxx
5
library_dirs         = %(mpi_dir)s/lib
6
runtime_library_dirs = %(library_dirs)s
(-)net/py-mpi4py-openmpi/pkg-descr (+5 lines)
Line 0 Link Here
1
This package provides Python bindings for the Message Passing Interface (MPI)
2
standard. It is implemented on top of the MPI-1/MPI-2 specification and
3
exposes an API which grounds on the standard MPI-2 C++ bindings
4
5
WWW: https://bitbucket.org/mpi4py/mpi4py/

Return to bug 211768