Skip to content

Commit 336a101

Browse files
committed
py-dash: update to 4.3.0; assume maintainership; add py31[0-2] subports
1 parent bea54fa commit 336a101

1 file changed

Lines changed: 45 additions & 15 deletions

File tree

python/py-dash/Portfile

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,71 @@ PortSystem 1.0
44
PortGroup python 1.0
55

66
name py-dash
7-
version 4.1.0
7+
version 4.3.0
88
revision 0
9+
910
categories-append graphics www
10-
platforms {darwin any}
11-
supported_archs noarch
1211
license MIT
13-
maintainers nomaintainer
14-
12+
maintainers {mps @Schamschula} openmaintainer
1513
description Data Apps & Dashboards for Python.
1614
long_description Built on top of Plotly.js, React and Flask, Dash \
1715
ties modern UI elements like dropdowns, sliders, \
1816
and graphs directly to your analytical Python code.
19-
2017
homepage https://plotly.com/dash
2118

22-
checksums rmd160 be2f84108fd77203d5a40a72b869cad0d30f3d16 \
23-
sha256 17a92a87b0c1eacc025079a705e44e72cd4c5794629c0a2909942b611faeb595 \
24-
size 6927689
19+
checksums rmd160 f39a6665312d2c945298f4bcd9000f98e70bcbe3 \
20+
sha256 1ec96641d5e3c06b7dfffad8241e345533d70327d96f722a8e13b827c287341b \
21+
size 8095642
2522

26-
python.versions 313 314
23+
python.versions 310 311 312 313 314
2724

2825
if {${name} ne ${subport}} {
29-
depends_build-append \
30-
port:py${python.version}-jupyter_packaging
26+
depends_build-append \
27+
port:py${python.version}-hatch-jupyter-builder \
28+
port:py${python.version}-jupyter_packaging
3129

3230
depends_lib-append \
3331
port:py${python.version}-flask \
3432
port:py${python.version}-importlib-metadata \
35-
port:py${python.version}-jupyterlab \
36-
port:py${python.version}-matplotlib \
33+
port:py${python.version}-janus \
3734
port:py${python.version}-nest_asyncio \
3835
port:py${python.version}-plotly \
36+
port:py${python.version}-pydantic \
3937
port:py${python.version}-requests \
4038
port:py${python.version}-retrying \
41-
port:py${python.version}-tenacity \
4239
port:py${python.version}-typing_extensions \
4340
port:py${python.version}-werkzeug
41+
42+
platform darwin {
43+
if {${os.major} > 21} {
44+
depends_lib-append \
45+
port:nodejs24
46+
}
47+
if {${os.major} > 18 && ${os.major} < 22} {
48+
depends_lib-append \
49+
port:nodejs22
50+
}
51+
if {${os.major} > 15 && ${os.major} < 19} {
52+
depends_lib-append \
53+
port:nodejs20
54+
}
55+
if {${os.major} > 10 && ${os.major} < 16} {
56+
depends_lib-append \
57+
port:nodejs16
58+
}
59+
60+
if {${os.major} > 15} {
61+
depends_build-append \
62+
port:npm11
63+
}
64+
if {${os.major} > 12 && ${os.major} < 16} {
65+
depends_build-append \
66+
port:npm9
67+
}
68+
if {${os.major} < 13} {
69+
depends_build-append \
70+
port:npm8
71+
}
72+
}
73+
4474
}

0 commit comments

Comments
 (0)