Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (39 sloc) 1.66 KB
# -*- 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-llvmmath
version 0.1.1
revision 1
categories-append devel
platforms darwin
license BSD
python.versions 27 34 35 36
maintainers {stromnov @stromnov} openmaintainer
description LLVM math library
long_description ${description}
homepage https://pypi.python.org/pypi/llvmmath
master_sites pypi:l/llvmmath/
distname llvmmath-${version}
checksums rmd160 83122b865efffc88de2a3bcd6a22d1d803d68069 \
sha256 383a380ee0f7984f50201dc6b0e25ccd291a952ca1afacb850d50dae85810b75
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-llvmpy \
port:py${python.version}-numpy
# Keep in sync with py-llvmpy
depends_lib-append port:clang-3.3
configure.compiler macports-clang-3.3
patchfiles-append patch-setup.py.diff \
patch-llvmmath_build.py.diff
post-patch {
reinplace "s|@clang@|${prefix}/bin/clang-mp-3.3|g" ${worksrcpath}/llvmmath/build.py
}
build.env-append CC=${configure.cc} CXX=${configure.cxx}
destroot.env-append CC=${configure.cc} CXX=${configure.cxx}
livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/llvmmath/json
livecheck.regex {llvmmath-(\d+(?:\.\d+)*)\.[tz]}
}
You can’t perform that action at this time.