From 327b05574f0dc1b1046c72401256ce5afd3e3247 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Tue, 02 Apr 2024 11:21:42 +0200
Subject: [PATCH] python/PyNUTClient: update to 2.8.2

---
 tools/generate-history |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/generate-history b/tools/generate-history
index ee48d7a..13ec1f3 100644
--- a/tools/generate-history
+++ b/tools/generate-history
@@ -3,7 +3,7 @@
 # s|/|---| on $1 matches TARGET, we generate a manifest.
 {
   if (substr($1, 1, 1) == "#") { # Skip comments.
-    continue
+    next
   }
   fmri=$1
   split(fmri, a, "@")
@@ -11,14 +11,14 @@
   target = sprintf("%s.p5m", a[1])
   if (FUNCTION == "name") {
     printf "%s\n", target
-    continue
+    next
   }
   if (target != TARGET) {
-    continue
+    next
   }
   printf "set name=pkg.fmri value=pkg:/%s\n", fmri
   
-  if (NF >= 2) {
+  if (NF == 3 || (NF ==2  && $2 != "noincorporate")) {
     print "set name=pkg.renamed value=true"
     printf "depend type=require fmri=%s\n", $2
   } else {

--
Gitblit v1.9.3