Files
macports-ports/python/py-eli5/Portfile
T
Joshua Root aae924f304 python/py-[a-i]*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-27 02:48:23 +11:00

55 lines
2.0 KiB
Tcl

# -*- 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 github 1.0
PortGroup python 1.0
github.setup TeamHG-Memex eli5 0.10.1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name py-${github.project}
revision 1
categories-append math
platforms {darwin any}
supported_archs noarch
license MIT
maintainers nomaintainer
description A library for debugging/inspecting machine learning\
classifiers and explaining their predictions
long_description {*}${description}.\
It provides support for the following machine\
learning frameworks and packages: scikit-learn,\
Keras, xgboost, LightGBM, CatBoost, lightning,\
and sklearn-crfsuite. ELI5 also implements several\
algorithms for inspecting black-box models:\
TextExplainer and Permutation.
checksums rmd160 cbdd276878809cd586e3f93e759dd8eab5cfe155 \
sha256 8e5e8ea78978137715e707c07df335647601bea65365e8b12b907cf0f5f69c21 \
size 6821953
python.versions 39
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-attrs \
port:py${python.version}-graphviz \
port:py${python.version}-jinja2 \
port:py${python.version}-numpy \
port:py${python.version}-scikit-learn \
port:py${python.version}-scipy \
port:py${python.version}-six \
port:py${python.version}-tabulate
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d \
${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
${destroot}${docdir}
}
}