You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
py-sunpy: update to 8.0.0; update variants
This commit is contained in:
+23
-13
@@ -4,7 +4,7 @@ PortSystem 1.0
|
||||
PortGroup python 1.0
|
||||
|
||||
name py-sunpy
|
||||
version 7.1.2
|
||||
version 8.0.0
|
||||
revision 0
|
||||
|
||||
categories-append science
|
||||
@@ -15,9 +15,9 @@ description SunPy is an open-source Python library for Solar Physics dat
|
||||
long_description {*}${description}
|
||||
homepage https://sunpy.org
|
||||
|
||||
checksums rmd160 2e027cb2068cc39fc8700b417296e09b5713ab67 \
|
||||
sha256 f6b47f2b6284daa6e561addf174473b2edf1d6faf637066cf51632fc6f53b101 \
|
||||
size 4490987
|
||||
checksums rmd160 c372c9923c2e22a7b982ad57d1524d1c33a8313d \
|
||||
sha256 a675c184d5dbe455495242e446e7c10db0bbe78bbed8920e327d293ae1fb689d \
|
||||
size 4962896
|
||||
|
||||
python.versions 310 311 312 313 314
|
||||
|
||||
@@ -31,7 +31,8 @@ if {${name} ne ${subport}} {
|
||||
port:py${python.version}-fsspec \
|
||||
port:py${python.version}-numpy \
|
||||
port:py${python.version}-packaging \
|
||||
port:py${python.version}-parfive
|
||||
port:py${python.version}-parfive \
|
||||
port:py${python.version}-pyerfa
|
||||
|
||||
if {${python.version} < 311} {
|
||||
version 6.0.5
|
||||
@@ -64,15 +65,17 @@ if {${name} ne ${subport}} {
|
||||
port:py${python.version}-sqlalchemy
|
||||
}
|
||||
|
||||
variant image {
|
||||
variant image {}
|
||||
|
||||
variant jpeg2000 {
|
||||
depends_lib-append \
|
||||
port:py${python.version}-scikit-image
|
||||
port:py${python.version}-glymur
|
||||
}
|
||||
|
||||
variant map {
|
||||
variant jupyter {
|
||||
depends_lib-append \
|
||||
port:py${python.version}-contourpy \
|
||||
port:py${python.version}-reproject
|
||||
port:py${python.version}-itables \
|
||||
port:py${python.version}-ipywidgets
|
||||
}
|
||||
|
||||
variant net {
|
||||
@@ -89,6 +92,11 @@ if {${name} ne ${subport}} {
|
||||
port:py${python.version}-opencv4
|
||||
}
|
||||
|
||||
variant scikit_image {
|
||||
depends_lib-append \
|
||||
port:py${python.version}-scikit-image
|
||||
}
|
||||
|
||||
# Note:
|
||||
# the spice variant is only available for the x86_64 platform
|
||||
variant spice {
|
||||
@@ -98,8 +106,9 @@ if {${name} ne ${subport}} {
|
||||
|
||||
variant timeseries {
|
||||
depends_lib-append \
|
||||
port:py${python.version}-h5netcdf
|
||||
}
|
||||
port:py${python.version}-cdflib \
|
||||
port:py${python.version}-h5netcdf \
|
||||
port:py${python.version}-h5py }
|
||||
|
||||
variant visualization {}
|
||||
|
||||
@@ -124,5 +133,6 @@ if {${name} ne ${subport}} {
|
||||
port:py${python.version}-scipy
|
||||
}
|
||||
|
||||
default_variants +database +image +map +net +timeseries +visualization
|
||||
default_variants +database +image +jpeg2000 +jupyter +map +net +scikit_image \
|
||||
+timeseries +visualization
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user