summaryrefslogtreecommitdiff
path: root/dev-python/libsass
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/libsass')
-rw-r--r--dev-python/libsass/libsass-0.21.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/libsass/libsass-0.21.0.ebuild b/dev-python/libsass/libsass-0.21.0.ebuild
index aaf64cec739a..83447302c25a 100644
--- a/dev-python/libsass/libsass-0.21.0.ebuild
+++ b/dev-python/libsass/libsass-0.21.0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
MY_P="libsass-python-${PV}"
DESCRIPTION="A straightforward binding of libsass for Python"
@@ -37,6 +37,10 @@ src_prepare() {
echo "${PV}" > .libsass-upstream-version || die
distutils-r1_src_prepare
export SYSTEM_SASS=1
+ # https://bugs.gentoo.org/730244
+ if tc-is-clang; then
+ sed -i -e 's/-std=gnu++0x//g' setup.py || die
+ fi
}
python_test() {