Skip to content

Commit 135c317

Browse files
committed
py-sunpy: update to 8.0.0; update variants
1 parent 9999d7e commit 135c317

1 file changed

Lines changed: 23 additions & 13 deletions

File tree

python/py-sunpy/Portfile

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PortSystem 1.0
44
PortGroup python 1.0
55

66
name py-sunpy
7-
version 7.1.2
7+
version 8.0.0
88
revision 0
99

1010
categories-append science
@@ -15,9 +15,9 @@ description SunPy is an open-source Python library for Solar Physics dat
1515
long_description {*}${description}
1616
homepage https://sunpy.org
1717

18-
checksums rmd160 2e027cb2068cc39fc8700b417296e09b5713ab67 \
19-
sha256 f6b47f2b6284daa6e561addf174473b2edf1d6faf637066cf51632fc6f53b101 \
20-
size 4490987
18+
checksums rmd160 c372c9923c2e22a7b982ad57d1524d1c33a8313d \
19+
sha256 a675c184d5dbe455495242e446e7c10db0bbe78bbed8920e327d293ae1fb689d \
20+
size 4962896
2121

2222
python.versions 310 311 312 313 314
2323

@@ -31,7 +31,8 @@ if {${name} ne ${subport}} {
3131
port:py${python.version}-fsspec \
3232
port:py${python.version}-numpy \
3333
port:py${python.version}-packaging \
34-
port:py${python.version}-parfive
34+
port:py${python.version}-parfive \
35+
port:py${python.version}-pyerfa
3536

3637
if {${python.version} < 311} {
3738
version 6.0.5
@@ -64,15 +65,17 @@ if {${name} ne ${subport}} {
6465
port:py${python.version}-sqlalchemy
6566
}
6667

67-
variant image {
68+
variant image {}
69+
70+
variant jpeg2000 {
6871
depends_lib-append \
69-
port:py${python.version}-scikit-image
72+
port:py${python.version}-glymur
7073
}
7174

72-
variant map {
75+
variant jupyter {
7376
depends_lib-append \
74-
port:py${python.version}-contourpy \
75-
port:py${python.version}-reproject
77+
port:py${python.version}-itables \
78+
port:py${python.version}-ipywidgets
7679
}
7780

7881
variant net {
@@ -89,6 +92,11 @@ if {${name} ne ${subport}} {
8992
port:py${python.version}-opencv4
9093
}
9194

95+
variant scikit_image {
96+
depends_lib-append \
97+
port:py${python.version}-scikit-image
98+
}
99+
92100
# Note:
93101
# the spice variant is only available for the x86_64 platform
94102
variant spice {
@@ -98,8 +106,9 @@ if {${name} ne ${subport}} {
98106

99107
variant timeseries {
100108
depends_lib-append \
101-
port:py${python.version}-h5netcdf
102-
}
109+
port:py${python.version}-cdflib \
110+
port:py${python.version}-h5netcdf \
111+
port:py${python.version}-h5py }
103112

104113
variant visualization {}
105114

@@ -124,5 +133,6 @@ if {${name} ne ${subport}} {
124133
port:py${python.version}-scipy
125134
}
126135

127-
default_variants +database +image +map +net +timeseries +visualization
136+
default_variants +database +image +jpeg2000 +jupyter +map +net +scikit_image \
137+
+timeseries +visualization
128138
}

0 commit comments

Comments
 (0)