aboutsummaryrefslogblamecommitdiff
path: root/misc/py-pyEDFlib/Makefile
blob: 4bad136d05a655f19db545b83c4edc4bd4174595 (plain) (tree)
1
2
3
4
5
6
7
8
9
                        
                         
                      
                    
                                                                                         



                                                                            
                                                   






                                 
                                   

                                          



                        


                                                                                               
                                                                                             

                      
PORTNAME=	pyEDFlib
DISTVERSIONPREFIX=	v
DISTVERSION=	0.1.30
CATEGORIES=	misc
#MASTER_SITES=	PYPI # PyPI version fails: https://github.com/holgern/pyedflib/issues/168
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Python library to read/write EDF+/BDF+ files based on EDFlib
WWW=		https://github.com/holgern/pyedflib

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY}

USES=		fortran python:3.6+
USE_PYTHON=	distutils cython autoplist

USE_GITHUB=	yes
GH_ACCOUNT=	holgern
GH_PROJECT=	pyedflib

USE_GCC=	yes # fails to build with clang: https://github.com/holgern/pyedflib/issues/104

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyedflib/_extensions/_pyedflib*.so

.include <bsd.port.mk>