Files
2026-03-24 20:47:38 -04:00

52 lines
1.7 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 python 1.0
name py-keras
version 2.13.1
revision 0
categories-append devel math
license MIT
supported_archs noarch
platforms {darwin any}
python.versions 310 311
maintainers nomaintainer
description Deep Learning library for Theano and TensorFlow
long_description {*}${description}
homepage https://github.com/keras-team/keras
master_sites https://files.pythonhosted.org/packages/2e/f3/19da7511b45e80216cbbd9467137b2d28919c58ba1ccb971435cb631e470/
distname ${python.rootname}-${version}-py3-none-any
extract.suffix .whl
extract.only
checksums rmd160 dceedb37d03dde27231e1b500a7c79e28d999cdd \
sha256 5ce5f706f779fa7330e63632f327b75ce38144a120376b2ae1917c00fa6136af \
size 1703632
python.pep517 yes
python.pep517_backend
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
port:py${python.version}-yaml \
port:py${python.version}-h5py \
port:py${python.version}-six \
port:py${python.version}-keras_applications \
port:py${python.version}-keras_preprocessing
build {}
destroot.target ${distpath}/${distfiles}
notes-append "Please do not forget to install one of Keras backends: py${python.version}-theano or tensorflow."
}