# -*- 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               github 1.0

github.setup            jensengroup propka 3.5.1 v
github.tarball_from     tarball
revision                1

categories              science python
supported_archs         noarch
platforms               {darwin any}
license                 LGPL-2.1
maintainers             {gmail.com:howarth.at.macports @jwhowarth} openmaintainer

description             Heuristic pKa calculations with ligands
long_description        {*}${description}

checksums               rmd160  c4654d7cff915449bc4bb33c90357da9f2e5f025 \
                        sha256  9f25ba5e57ecbc138692a87dd73c777af53acb544606a9d6a34478997abb0b18 \
                        size    376314

python.default_version  314

patchfiles-append       patch-python314-compatibility-diff

depends_test-append     port:py${python.version}-numpy

test.run                yes

post-destroot {
    move ${destroot}${python.pkgd}/tests ${destroot}${python.pkgd}/${python.rootname}

    ln -fs ${python.prefix}/bin/propka3 ${destroot}/${prefix}/bin/propka
}
