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

Jan Steffens heftig at archlinux.org
Thu Feb 27 12:49:36 UTC 2020


    Date: Thursday, February 27, 2020 @ 12:49:35
  Author: heftig
Revision: 583969

0.8.1-2: add missing compiled python files

needs a command like this to clear out the untracked ones: 
sudo find /usr/lib/python3.8/site-packages/firewall -name '*.pyc' -delete

Modified:
  firewalld/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-27 12:37:26 UTC (rev 583968)
+++ PKGBUILD	2020-02-27 12:49:35 UTC (rev 583969)
@@ -4,7 +4,7 @@
 
 pkgname=firewalld
 pkgver=0.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Firewall daemon with D-Bus interface'
 arch=(any)
 url=https://firewalld.org/
@@ -78,6 +78,8 @@
 
 package() {
   make DESTDIR="${pkgdir}" -C firewalld install
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list