git » plasma-firewall.git » commit ddeb765

upgpkg: 6.0.1-2: Add missing python makedepends to fix the ufw backend

author Antonio Rojas
2024-03-10 10:17:24 UTC
committer Antonio Rojas
2024-03-10 10:17:24 UTC
parent 173b41fb44680a9086e936b8d057680db21c1139

upgpkg: 6.0.1-2: Add missing python makedepends to fix the ufw backend

.SRCINFO +3 -1
PKGBUILD +4 -2

diff --git a/.SRCINFO b/.SRCINFO
index b63d3b6..c33a029 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
 pkgbase = plasma-firewall
 	pkgdesc = Control Panel for your system firewall
 	pkgver = 6.0.1
-	pkgrel = 1
+	pkgrel = 2
 	url = https://kde.org/plasma-desktop/
 	arch = x86_64
 	groups = plasma
 	license = GPL-2.0-or-later
 	license = LGPL-2.0-or-later
 	makedepends = extra-cmake-modules
+	makedepends = python
 	depends = gcc-libs
 	depends = glibc
 	depends = kauth
@@ -20,6 +21,7 @@ pkgbase = plasma-firewall
 	depends = qt6-declarative
 	optdepends = firewalld: firewalld backend
 	optdepends = iproute2: netstat backend
+	optdepends = python: ufw backend
 	optdepends = ufw: ufw backend
 	source = https://download.kde.org/stable/plasma/6.0.1/plasma-firewall-6.0.1.tar.xz
 	source = https://download.kde.org/stable/plasma/6.0.1/plasma-firewall-6.0.1.tar.xz.sig
diff --git a/PKGBUILD b/PKGBUILD
index da3a795..1a8780b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=plasma-firewall
 pkgver=6.0.1
 _dirver=$(echo $pkgver | cut -d. -f1-3)
-pkgrel=1
+pkgrel=2
 pkgdesc='Control Panel for your system firewall'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -18,9 +18,11 @@ depends=(gcc-libs
          kirigami
          qt6-base
          qt6-declarative)
-makedepends=(extra-cmake-modules)
+makedepends=(extra-cmake-modules
+             python)
 optdepends=('firewalld: firewalld backend'
             'iproute2: netstat backend'
+            'python: ufw backend'
             'ufw: ufw backend')
 groups=(plasma)
 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})