diff options
author | Narrat | 2023-05-11 19:52:58 +0200 |
---|---|---|
committer | Narrat | 2023-05-11 19:52:58 +0200 |
commit | f31614f345107e9431d2fd8e35ef5b743f3d1109 (patch) | |
tree | 984464843b59513a98e7e34b247a48a0444bee07 | |
parent | 998178ea27d3bbe9e0f1b064204c72d340bcd924 (diff) | |
download | aur-f31614f345107e9431d2fd8e35ef5b743f3d1109.tar.gz |
altair: remove wrongly placed files
Currently there are three files which get installed into the python site-packages dir.
Which shouldn't be.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-altair pkgdesc = Declarative statistical visualization library for Python pkgver = 5.0.0 - pkgrel = 1 + pkgrel = 2 url = https://altair-viz.github.io/ arch = any license = BSD3 @@ -5,7 +5,7 @@ pkgbase=python-altair _pyname=altair pkgname=('python-altair') pkgver=5.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Declarative statistical visualization library for Python" arch=('any') url="https://altair-viz.github.io/" @@ -27,6 +27,9 @@ package() { python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" + + # Remove unnecessary and wrongly installed files + rm -v "$pkgdir"/usr/lib/python3.11/site-packages/{README.md,LICENSE,pyproject.toml} } # vim:set et sw=2 ts=2 tw=79: |