diff --git a/python/py-holoviews/Portfile b/python/py-holoviews/Portfile new file mode 100644 index 00000000000..77914a17ffe --- /dev/null +++ b/python/py-holoviews/Portfile @@ -0,0 +1,46 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 + +PortSystem 1.0 +PortGroup python 1.0 + +name py-holoviews +version 1.22.1 +revision 0 + +categories-prepend science +license BSD +maintainers {mps @Schamschula} openmaintainer +description HoloViews is an open-source Python library designed to make data \ + analysis and visualization seamless and simple. +long_description {*}${description} With HoloViews, you can usually express what you \ + want to do in very few lines of code, letting you focus on what you \ + are trying to explore and convey, not on the process of plotting. +homepage https://github.com/holoviz/holoviews + +supported_archs noarch +platforms {darwin any} + +checksums rmd160 3a945a33a657ac3be9f7d3cf0215ba2cd403709d \ + sha256 7dde3a10bb77aff0982e21786b4f5249c6a9d70c463f5604a49fcf30c0247756 \ + size 5509590 + +python.versions 310 311 312 313 314 + +python.pep517_backend \ + hatch + +if {${name} ne ${subport}} { + depends_build-append \ + port:py${python.version}-hatch-vcs + + depends_lib-append \ + port:py${python.version}-bokeh \ + port:py${python.version}-colorcet \ + port:py${python.version}-matplotlib \ + port:py${python.version}-notebook \ + port:py${python.version}-pandas \ + port:py${python.version}-panel \ + port:py${python.version}-param \ + port:py${python.version}-pyct \ + port:py${python.version}-pyviz_comms +} diff --git a/science/holoviews/Portfile b/science/holoviews/Portfile index d71695c47d4..04c638cb138 100644 --- a/science/holoviews/Portfile +++ b/science/holoviews/Portfile @@ -2,54 +2,13 @@ PortSystem 1.0 PortGroup python 1.0 +PortGroup obsolete 1.0 name holoviews +replaced_by py-holoviews version 1.22.1 -revision 0 +revision 1 categories-prepend science license BSD -maintainers {mps @Schamschula} openmaintainer -description HoloViews is an open-source Python library designed to make data \ - analysis and visualization seamless and simple. -long_description {*}${description} With HoloViews, you can usually express what you \ - want to do in very few lines of code, letting you focus on what you \ - are trying to explore and convey, not on the process of plotting. -supported_archs noarch -platforms {darwin any} -homepage https://github.com/holoviz/holoviews -checksums rmd160 3a945a33a657ac3be9f7d3cf0215ba2cd403709d \ - sha256 7dde3a10bb77aff0982e21786b4f5249c6a9d70c463f5604a49fcf30c0247756 \ - size 5509590 - -variant python310 conflicts python311 python312 python313 description {Use Python 3.10} {} -variant python311 conflicts python310 python312 python313 description {Use Python 3.11} {} -variant python312 conflicts python310 python311 python313 description {Use Python 3.12} {} -variant python313 conflicts python310 python311 python312 description {Use Python 3.13} {} - -if {![variant_isset python310] && ![variant_isset python311] && ![variant_isset python312]} { - default_variants +python313 -} - -foreach pv {313 312 311 310} { - if {[variant_isset python${pv}]} { - python.default_version ${pv} - break - } -} - -python.pep517_backend \ - hatch - -depends_build-append \ - port:py${python.version}-hatch-vcs - -depends_lib-append port:py${python.version}-bokeh \ - port:py${python.version}-colorcet \ - port:py${python.version}-matplotlib \ - port:py${python.version}-notebook \ - port:py${python.version}-pandas \ - port:py${python.version}-panel \ - port:py${python.version}-param \ - port:py${python.version}-pyct \ - port:py${python.version}-pyviz_comms +# remove after 2027-02-12