Date: Tuesday, December 13, 2022 @ 18:36:04
  Author: alerque
Revision: 1358945

upgpkg: python-isort 5.11.1-2; drop files installed in bogus location

Modified:
  python-isort/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-13 18:27:28 UTC (rev 1358944)
+++ PKGBUILD    2022-12-13 18:36:04 UTC (rev 1358945)
@@ -5,7 +5,7 @@
 _pyname=isort
 pkgname=python-$_pyname
 pkgver=5.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A Python utility / library to sort Python imports'
 arch=(any)
 url="https://github.com/PyCQA/$_pyname";
@@ -90,5 +90,6 @@
 package() {
        cd "$_archive"
        python -m installer -d "$pkgdir" dist/*.whl
+       rm -f "$pkgdir"/usr/lib/python*/site-packages/{LICENSE,CHANGELOG.md}
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }

Reply via email to