Files
2021-02-14 13:35:44 -05:00

49 lines
1.4 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-libsass
version 0.20.1
revision 0
categories-append devel
platforms darwin
license MIT
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description Python binding for libsass
long_description ${description}
homepage https://sass.github.io/libsass-python/
checksums sha256 e0e60836eccbf2d9e24ec978a805cd6642fa92515fbd95e3493fee276af76f8a \
rmd160 a061652e0ab69b2a2a96eb1e2c5c10586626800c \
size 316227
python.versions 27 35 36 37 38 39
if {${name} ne ${subport}} {
if {${python.version} == 35} {
version 0.19.4
revision 0
checksums sha256 8b5b6d1a7c4ea1d954e0982b04474cc076286493f6af2d0a13c2e950fbe0be95 \
rmd160 330cb0f547a0b555c73be00ea0bf0af38924a441 \
size 315525
}
depends_build-append \
port:py${python.version}-setuptools
patchfiles-append patch-darwin_flags.diff
post-patch {
reinplace "s|@CXX_STDLIB@|${configure.cxx_stdlib}|g" ${worksrcpath}/setup.py
}
compiler.cxx_standard \
2011
livecheck.type none
}