freebsd-ports/astro/py-astroML/Makefile
Wen Heping 781b4dae6f astro/py-astroML: Add new port
AstroML is a Python module for machine learning and data mining built on
numpy, scipy, scikit-learn, and matplotlib, and distributed under the BSD
license. It contains a growing library of statistical and machine learning
routines for analyzing astronomical data in python, loaders for several
open astronomical datasets, and a large suite of examples of analyzing and
visualizing astronomical datasets.
2023-03-04 18:37:21 +08:00

26 lines
797 B
Makefile

PORTNAME= astroML
PORTVERSION= 1.0.2
CATEGORIES= astro
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${PORTNAME}-${PORTVERSION}.post1.tar.gz
MAINTAINER= wen@FreeBSD.org
COMMENT= Tools for machine learning and data mining in Astronomy
WWW= https://www.astroml.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=3.0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}astropy>=3.0:astro/py-astropy@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist distutils
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.post1
.include <bsd.port.mk>