You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.5 KiB
Tcl
50 lines
1.5 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 10.0
|
|
revision 0
|
|
categories-append devel
|
|
platforms darwin
|
|
license MIT
|
|
|
|
python.versions 39 310 311
|
|
|
|
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 5739859e93fa8f94fdaf8152e2a66908e5653140 \
|
|
sha256 6fe69db1178b69305c40836953b6f7731574e211cea53ced52bbc45b9fff2a1d \
|
|
size 5661226
|
|
|
|
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: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}"
|
|
}
|