pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-mbake: update to 1.4.3.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Thu Oct 30 14:15:19 2025 +0100
Changeset: 13402897963f528538af0622bcd2ed3327d1eb8a
Modified Files:
py-mbake/Makefile
py-mbake/PLIST
py-mbake/distinfo
Log Message:
py-mbake: update to 1.4.3.
Add validation to detect common typos where assignment operators are reversed. The formatter now generates helpful warnings (see #63):
=? (should be ?=) for conditional assignment
=: (should be :=) for immediate assignment
=+ (should be +=) for append assignment
Resolves issue where suffix rules and file targets were incorrectly suggested as phony targets (see #62). Includes:
Fix PhonyAnalyzer to detect 'target name as last argument' pattern (e.g., cp input.txt clean)
Update phony detection to properly exclude suffix rules (.a.b:) and file targets (foo.b:)
Add comprehensive suffix validation with duplicate detection and pattern warnings
Add extensive test coverage for new validation features
Fix .POSIX and other special targets being incorrectly suggested as phony
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=13402897963f528538af0622bcd2ed3327d1eb8a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-mbake/Makefile | 6 +++---
py-mbake/PLIST | 9 +++++++++
py-mbake/distinfo | 6 +++---
3 files changed, 15 insertions(+), 6 deletions(-)
diffs:
diff --git a/py-mbake/Makefile b/py-mbake/Makefile
index 9159c3b23a..99320ab93b 100644
--- a/py-mbake/Makefile
+++ b/py-mbake/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= mbake-1.4.2.post1
+DISTNAME= mbake-1.4.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mbake/}
@@ -24,8 +24,8 @@ SUBST_SED.make+= -e 's,"make","'${GMAKE}'",'
SUBST_STAGE.make= pre-build
SUBST_MESSAGE.make= Fix to use GNU make.
-# as of 1.4.2.post1
-# 2 failed, 147 passed
+# as of 1.4.3
+# 2 failed, 170 passed
.include "../../lang/python/pyversion.mk"
diff --git a/py-mbake/PLIST b/py-mbake/PLIST
index 4511050d0a..630095326f 100644
--- a/py-mbake/PLIST
+++ b/py-mbake/PLIST
@@ -71,9 +71,18 @@ ${PYSITELIB}/mbake/core/rules/phony_insertion.pyo
${PYSITELIB}/mbake/core/rules/recipe_validation.py
${PYSITELIB}/mbake/core/rules/recipe_validation.pyc
${PYSITELIB}/mbake/core/rules/recipe_validation.pyo
+${PYSITELIB}/mbake/core/rules/rule_type_detection.py
+${PYSITELIB}/mbake/core/rules/rule_type_detection.pyc
+${PYSITELIB}/mbake/core/rules/rule_type_detection.pyo
${PYSITELIB}/mbake/core/rules/shell.py
${PYSITELIB}/mbake/core/rules/shell.pyc
${PYSITELIB}/mbake/core/rules/shell.pyo
+${PYSITELIB}/mbake/core/rules/special_target_validation.py
+${PYSITELIB}/mbake/core/rules/special_target_validation.pyc
+${PYSITELIB}/mbake/core/rules/special_target_validation.pyo
+${PYSITELIB}/mbake/core/rules/suffix_validation.py
+${PYSITELIB}/mbake/core/rules/suffix_validation.pyc
+${PYSITELIB}/mbake/core/rules/suffix_validation.pyo
${PYSITELIB}/mbake/core/rules/tabs.py
${PYSITELIB}/mbake/core/rules/tabs.pyc
${PYSITELIB}/mbake/core/rules/tabs.pyo
diff --git a/py-mbake/distinfo b/py-mbake/distinfo
index 03c09bcd9b..65023a831d 100644
--- a/py-mbake/distinfo
+++ b/py-mbake/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (mbake-1.4.2.post1.tar.gz) = 68cb5e32278fe967aa3511d3e4cc4982007606d0538b83f91884e440e042e1bc
-SHA512 (mbake-1.4.2.post1.tar.gz) = 7cf019ccd341b39804766de190b772ceca378bbf5488565d22fe77eb86677d4c3f3a295d4d38f5536136bfe195ac513a9de0f53fe9ee8bf12aa11612ea422e31
-Size (mbake-1.4.2.post1.tar.gz) = 2996603 bytes
+BLAKE2s (mbake-1.4.3.tar.gz) = 8ec39ad7f65a8f5c59c9e44ccb788e9c7a7688b01b8ddffc18c93c9d3309496e
+SHA512 (mbake-1.4.3.tar.gz) = 2dce523af621241cac4d68b6a77bd809c9568e47e65e1bdb7609984d5f7b2b78ef0723258e7baea6f80a94e1c5a688d6d0a418f093251cab820594d376cecc3b
+Size (mbake-1.4.3.tar.gz) = 3001136 bytes
Home |
Main Index |
Thread Index |
Old Index