summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2020-12-02 17:25:44 +0800
committerlilac2020-12-02 17:25:44 +0800
commitfb1562391c22779eae01e85f1dc6795cac8c93ae (patch)
tree63ec3379c4188ee75a3eca833e2d8cf044511cd5
parent7897db89695b605a7ac88bd96b37c8f33ca9e66b (diff)
downloadaur-fb1562391c22779eae01e85f1dc6795cac8c93ae.tar.gz
[lilac] updated to 0.20.1-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8da6c28d97d5..35dc931a430f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-libsass
pkgdesc = Sass for Python: A straightforward binding of libsass for Python.
pkgver = 0.20.1
- pkgrel = 1
+ pkgrel = 2
url = https://sass.github.io/libsass-python/
arch = x86_64
license = MIT License
diff --git a/PKGBUILD b/PKGBUILD
index 85f463d83f41..82093355bed7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
_name=libsass
pkgname=python-libsass
pkgver=0.20.1
-pkgrel=1
+pkgrel=2
pkgdesc="Sass for Python: A straightforward binding of libsass for Python."
arch=('x86_64')
url="https://sass.github.io/libsass-python/"
@@ -21,6 +21,11 @@ package() {
cd "$srcdir/libsass-0.20.1"
python3 setup.py install --root=$pkgdir --optimize=1 --skip-build
+ # make sure we don't install any world-writable or root-readable-only files
+ # we shouldn't need to fix ownership as we extract tarballs as a non-root user
+ # https://github.com/pypa/setuptools/issues/1328
+ # https://github.com/LonamiWebs/Telethon/issues/1605
+ chmod u=rwX,go=rX -R "$pkgdir"
# make sure we don't install annoying files
local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm -rf "$pkgdir/$_site_packages/tests/"