<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/11cf4bf49d1447c06d52274aa6006350a11b4708">https://github.com/macports/macports-ports/commit/11cf4bf49d1447c06d52274aa6006350a11b4708</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 11cf4bf49d1447c06d52274aa6006350a11b4708
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Mar 23 05:57:48 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-libsass: new port
</span>---
python/py-libsass/Portfile | 30 +++++++++++++++++++++++++
python/py-libsass/files/patch-darwin_flags.diff | 20 +++++++++++++++++
2 files changed, 50 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libsass/Portfile b/python/py-libsass/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..33c7fb7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libsass/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,30 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-libsass
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.19.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python binding for libsass
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://sass.github.io/libsass-python/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha256 8b5b6d1a7c4ea1d954e0982b04474cc076286493f6af2d0a13c2e950fbe0be95 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 330cb0f547a0b555c73be00ea0bf0af38924a441 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 315525
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-darwin_flags.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libsass/files/patch-darwin_flags.diff b/python/py-libsass/files/patch-darwin_flags.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6f4c835
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libsass/files/patch-darwin_flags.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2019-11-03 19:39:06.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2020-03-22 13:31:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,13 +14,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from setuptools import Extension, setup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-MACOS_FLAG = ['-mmacosx-version-min=10.7']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++MACOS_FLAG = []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FLAGS_POSIX = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '-fPIC', '-std=gnu++0x', '-Wall', '-Wno-parentheses', '-Werror=switch',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-FLAGS_CLANG = ['-c', '-O3'] + FLAGS_POSIX + ['-stdlib=libc++']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LFLAGS_POSIX = ['-fPIC', '-lstdc++']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LFLAGS_CLANG = ['-fPIC', '-stdlib=libc++']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++FLAGS_CLANG = ['-c'] + FLAGS_POSIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LFLAGS_POSIX = ['-fPIC']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LFLAGS_CLANG = ['-fPIC']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sources = ['pysass.cpp']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ headers = []
</span></pre><pre style='margin:0'>
</pre>