# -*- 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 tensorflow kfac 3ee1bec8dcd851d50618cd542a8d1aff92512f7c # no official release; version from setup.py plus github commit date version 0.2.3.20200929 revision 0 name py-${github.project} platforms {darwin any} supported_archs noarch license Apache-2 maintainers nomaintainer description K-FAC for TensorFlow long_description K-FAC in TensorFlow is an implementation of K-FAC, \ an approximate second-order optimization method, \ in TensorFlow. homepage https://github.com/tensorflow/kfac distname ${github.project}-${version} checksums rmd160 dd72ba0076f11a418b15f20faa49ad943d671851 \ sha256 691951f6c97bc9e729d84f37e1ac5f3fe596564312d07f734e0e69ae74d16102 \ size 1359727 python.versions 39 if {${name} ne ${subport}} { depends_run-append \ port:py${python.version}-numpy \ port:py${python.version}-six \ port:py${python.version}-tensorflow-probability depends_test-append \ port:py${python.version}-tabulate test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \ ${destroot}${docdir} } }