diff --git a/astro/Makefile b/astro/Makefile index 030c70e37c40..2dc25b13dc44 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -1,145 +1,146 @@ COMMENT = Astronomical ports SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry SUBDIR += calcmysky SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio SUBDIR += erfa SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += gnuastro SUBDIR += gpsbabel SUBDIR += gpsbabel14 SUBDIR += gpscorrelate SUBDIR += gpsd SUBDIR += gpsman SUBDIR += gpsprune SUBDIR += gpstk SUBDIR += gpxloggerd SUBDIR += indiwebmanagerapp SUBDIR += jday SUBDIR += josm SUBDIR += kosmindoormap SUBDIR += kosmorro SUBDIR += kstars SUBDIR += libgal SUBDIR += libnova SUBDIR += libosmium SUBDIR += libosmpbf SUBDIR += luna SUBDIR += marble SUBDIR += match SUBDIR += mepo SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += mymoon SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS SUBDIR += p5-Astro-App-Satpass2 SUBDIR += p5-Astro-Catalog SUBDIR += p5-Astro-Constants SUBDIR += p5-Astro-Coords SUBDIR += p5-Astro-DSS SUBDIR += p5-Astro-FITS-CFITSIO SUBDIR += p5-Astro-FITS-Header SUBDIR += p5-Astro-Flux SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase SUBDIR += p5-Astro-PAL SUBDIR += p5-Astro-SIMBAD SUBDIR += p5-Astro-SIMBAD-Client SUBDIR += p5-Astro-SpaceTrack SUBDIR += p5-Astro-SunTime SUBDIR += p5-Astro-Sunrise SUBDIR += p5-Astro-Telescope SUBDIR += p5-Astro-WaveBand SUBDIR += p5-Astro-satpass SUBDIR += p5-GPS SUBDIR += p5-GPS-Babel SUBDIR += p5-GPS-OID SUBDIR += p5-GPS-Point SUBDIR += p5-Geo-METAR SUBDIR += p5-Misc-Quality SUBDIR += p5-Net-GPSD3 SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground SUBDIR += pal SUBDIR += phd2 SUBDIR += phoon SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-astlib SUBDIR += py-astral + SUBDIR += py-astroML SUBDIR += py-astropy SUBDIR += py-astropy-helpers SUBDIR += py-ephem SUBDIR += py-extension-helpers SUBDIR += py-horoscopegenerator SUBDIR += py-indiweb SUBDIR += py-jplephem SUBDIR += py-kosmorrolib SUBDIR += py-metar SUBDIR += py-metpy SUBDIR += py-pyerfa SUBDIR += py-pykep SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa SUBDIR += py-pywapi SUBDIR += py-ro SUBDIR += py-sgp4 SUBDIR += py-skyfield SUBDIR += py-skyfield-data SUBDIR += py-spacetrack SUBDIR += py-spktype01 SUBDIR += py-spktype21 SUBDIR += pykep SUBDIR += pyweather SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += routino SUBDIR += sextractor SUBDIR += siril SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starfetch SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += stellarsolver SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xeartk SUBDIR += xephem SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include diff --git a/astro/py-astroML/Makefile b/astro/py-astroML/Makefile new file mode 100644 index 000000000000..22692a7b4f29 --- /dev/null +++ b/astro/py-astroML/Makefile @@ -0,0 +1,26 @@ +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 diff --git a/astro/py-astroML/distinfo b/astro/py-astroML/distinfo new file mode 100644 index 000000000000..46d4afef4433 --- /dev/null +++ b/astro/py-astroML/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677925316 +SHA256 (astroML-1.0.2.post1.tar.gz) = 45188a7a88a36ca3ec5a3aa04e5fa227f42d17415a6e168fb523375c1aabe291 +SIZE (astroML-1.0.2.post1.tar.gz) = 115119 diff --git a/astro/py-astroML/pkg-descr b/astro/py-astroML/pkg-descr new file mode 100644 index 000000000000..cbd4133440ff --- /dev/null +++ b/astro/py-astroML/pkg-descr @@ -0,0 +1,6 @@ +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.