[arch-commits] Commit in python-json5/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jun 29 08:30:18 UTC 2019


    Date: Saturday, June 29, 2019 @ 08:30:18
  Author: arojas
Revision: 485722

Remove tests

Modified:
  python-json5/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-29 07:56:05 UTC (rev 485721)
+++ PKGBUILD	2019-06-29 08:30:18 UTC (rev 485722)
@@ -2,7 +2,7 @@
 
 pkgname=python-json5
 pkgver=0.8.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python implementation of the JSON5 data format"
 arch=(any)
 url="https://pypi.org/project/json5/"
@@ -22,4 +22,5 @@
   cd pyjson5-$pkgver
 
   python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+  rm -r "$pkgdir"/usr/lib/*/site-packages/tests/ # Don't ship tests
 }


More information about the arch-commits mailing list