diff options
author | lilac | 2020-12-02 17:25:44 +0800 |
---|---|---|
committer | lilac | 2020-12-02 17:25:44 +0800 |
commit | fb1562391c22779eae01e85f1dc6795cac8c93ae (patch) | |
tree | 63ec3379c4188ee75a3eca833e2d8cf044511cd5 | |
parent | 7897db89695b605a7ac88bd96b37c8f33ca9e66b (diff) | |
download | aur-fb1562391c22779eae01e85f1dc6795cac8c93ae.tar.gz |
[lilac] updated to 0.20.1-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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/" |