Ticket #68224: py-jupyterlab.Portfile.diff
File py-jupyterlab.Portfile.diff, 3.3 KB (added by johankytt, 12 months ago) |
---|
-
py-jupyterlab/Portfile
old new 4 4 PortGroup python 1.0 5 5 6 6 name py-jupyterlab 7 version 3.0.137 version 4.0.5 8 8 revision 0 9 9 categories-append devel 10 10 license BSD 11 11 supported_archs noarch 12 12 platforms {darwin any} 13 13 14 python.versions 37 38 39 310 311 14 python.versions 38 39 310 311 15 python.pep517 yes 16 python.pep517_backend hatch 15 17 16 18 maintainers {stromnov @stromnov} openmaintainer 17 19 … … 24 26 25 27 homepage https://jupyter.org/ 26 28 27 checksums rmd160 60908e7b6ec964f1c9a159f8423837b0297cef7d\28 sha256 6aefaf11251309ffdd66ef20025f5165aeec26d59a83c76e4d02cc8f593bc9dc\29 size 984320029 checksums rmd160 ba5e36f3c20202a3b4dd9e3efe87eed08f9fc561 \ 30 sha256 de49deb75f9b9aec478ed04754cbefe9c5d22fd796a5783cdc65e212983d3611 \ 31 size 18235811 30 32 31 33 if {${name} ne ${subport}} { 32 python.pep517 no 33 depends_build-append \ 34 port:py${python.version}-jupyter_packaging 35 depends_lib-append port:py${python.version}-setuptools \ 36 port:py${python.version}-ipython \ 37 port:py${python.version}-packaging \ 38 port:py${python.version}-tornado \ 34 depends_build-append port:py${python.version}-hatch_jupyter_builder 35 36 depends_lib-append port:py${python.version}-async-lru \ 37 port:py${python.version}-ipykernel \ 38 port:py${python.version}-jinja2 \ 39 39 port:py${python.version}-jupyter_core \ 40 port:py${python.version}-jupyter_packaging \ 41 port:py${python.version}-jupyterlab_server \ 40 port:py${python.version}-jupyter-lsp \ 42 41 port:py${python.version}-jupyter_server \ 43 port:py${python.version}-nbclassic \ 44 port:py${python.version}-jinja2 42 port:py${python.version}-jupyterlab_server \ 43 port:py${python.version}-notebook_shim \ 44 port:py${python.version}-packaging \ 45 port:py${python.version}-traitlets \ 46 port:py${python.version}-tornado 45 47 46 post-patch { 47 # relax package requirements 48 reinplace "s|jupyter_packaging~=0.7.3|jupyter_packaging|" ${worksrcpath}/setup.py 49 reinplace "s|jupyterlab_server~=2.3|jupyterlab_server|" ${worksrcpath}/setup.py 50 reinplace "s|jupyter_server~=1.4|jupyter_server|" ${worksrcpath}/setup.py 51 reinplace "s|nbclassic~=0.2|nbclassic|" ${worksrcpath}/setup.py 48 if {${python.version} < 311} { 49 depends_lib-append port:py${python.version}-tomli 52 50 } 53 51 54 build.args-append --skip-npm 52 if {${python.version} < 310} { 53 depends_lib-append port:py${python.version}-importlib-metadata 54 } 55 55 56 destroot.args-append \ 57 --skip-npm 56 if {${python.version} < 39} { 57 depends_lib-append port:py${python.version}-importlib-resources 58 } 58 59 }