26 lines
541 B
Makefile
26 lines
541 B
Makefile
PORTNAME= spectral
|
|
DISTVERSION= 0.24
|
|
CATEGORIES= math
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Spectral Python is a Python module for hyperspectral image processing
|
|
WWW= https://www.spectralpython.net/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYNUMPY}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
# tests as of 0.24: 2 passed in 25.66s
|
|
|
|
.include <bsd.port.mk>
|