You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
44 lines
1.2 KiB
Tcl
44 lines
1.2 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
|
|
PortGroup compilers 1.0
|
|
|
|
name py-gacode
|
|
version 0.57
|
|
python.rootname pygacode
|
|
|
|
|
|
compilers.setup default_fortran
|
|
|
|
python.versions 37 38
|
|
|
|
categories-append science
|
|
platforms darwin
|
|
maintainers {fusion.gat.com:smithsp @smithsp} openmaintainer
|
|
description python bindings for the GACODE suite
|
|
long_description ${description}
|
|
|
|
license MIT
|
|
homepage https://gacode.io
|
|
checksums rmd160 aa5658f0251374b9b005fc3a9eba6619200dc857 \
|
|
sha256 566a6f4ff3c07eddefd60bf119b4c0beb6b37317f6b2f0d7c3582940281211e2 \
|
|
size 82852
|
|
|
|
patchfiles patch-setup.py.diff
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-numpy
|
|
|
|
pre-test {
|
|
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
|
|
}
|
|
|
|
test.run yes
|
|
test.cmd ${python.bin} -c 'from pygacode.test import test_install'
|
|
test.target
|
|
|
|
livecheck.type none
|
|
}
|