You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
51 lines
1.6 KiB
Tcl
51 lines
1.6 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-networkit
|
|
version 11.2
|
|
revision 0
|
|
categories-append devel
|
|
platforms darwin
|
|
license MIT
|
|
|
|
python.versions 310 311 312 313
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description NetworKit is a toolbox for high-performance network analysis
|
|
long_description ${description}
|
|
|
|
homepage https://networkit.iti.kit.edu/
|
|
|
|
checksums rmd160 d6dfe93f2f805791dbda93156887b707aed77908 \
|
|
sha256 6dad0625bd795591ad46820a69c927b749c9ac34368b8100dbfb818d2d20b08d \
|
|
size 7043208
|
|
|
|
if {${name} ne ${subport}} {
|
|
compiler.cxx_standard 2017
|
|
compiler.openmp_version 2.5
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-cython \
|
|
path:bin/cmake:cmake
|
|
|
|
depends_lib-append port:py${python.version}-scipy \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-tabulate \
|
|
port:libomp
|
|
|
|
patchfiles-append patch-setup.py.diff \
|
|
patch-CMakeLists.txt.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@PYTHONBIN@|${python.bin}|g" ${worksrcpath}/setup.py
|
|
}
|
|
|
|
build.env-append "CXX=${configure.cxx}"
|
|
|
|
destroot.env-append "CXX=${configure.cxx}"
|
|
}
|