pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-mbake: update to 1.3.1.post1.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sun Jul 27 10:41:36 2025 +0200
Changeset: de94f8873a7e69669e08e722942a76f85c25d165
Modified Files:
py-mbake/ALTERNATIVES
py-mbake/Makefile
py-mbake/PLIST
py-mbake/distinfo
Log Message:
py-mbake: update to 1.3.1.post1.
1.3.1
- Added --stdin flag to bake format command for editor integration (#20)
- Fixed shell variable assignment spacing (#35) and indentation in shell recipes (#36)
1.3.0
- Breaking Change: Version v1.3.0 introduces a module rename from bake to mbake for consistency. See #37
1.2.4.post1
- Patch for issues with production indentations #24
- targets flush left, recipes use tabs
1.2.4
- Disabling formatting on a piece of code to turn off formatting within a region.
- Resolve `typer` install error (reproduced on version `0.16.0`)
1.2.3
- Provides error when config is explicitly specified but not found.
- Adaptive indentation for define blocks matches the indentation style within each block (Issue #24).
- Centralized define block tracking, error formatting, and standard rule processing into utility functions.
- Added support for Make patterns: `$< $@, $^ $@, command $@`.
- Improved file vs. phony target identification (Issue #23).
- Avoids assumptions (e.g., removing hard-coded extensions).
- Variable references (e.g., `$(foo)`) are not incorrectly marked as .PHONY.
- Avoids comment interference when parsing (Issue #24).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de94f8873a7e69669e08e722942a76f85c25d165
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-mbake/ALTERNATIVES | 1 -
py-mbake/Makefile | 4 +-
py-mbake/PLIST | 175 +++++++++++++++++++++++++++-----------------------
py-mbake/distinfo | 6 +-
4 files changed, 101 insertions(+), 85 deletions(-)
diffs:
diff --git a/py-mbake/ALTERNATIVES b/py-mbake/ALTERNATIVES
index e16aeef451..d2dc7d0f54 100644
--- a/py-mbake/ALTERNATIVES
+++ b/py-mbake/ALTERNATIVES
@@ -1,2 +1 @@
-bin/bake @PREFIX@/bin/bake-@PYVERSSUFFIX@
bin/mbake @PREFIX@/bin/mbake-@PYVERSSUFFIX@
diff --git a/py-mbake/Makefile b/py-mbake/Makefile
index e874cf3140..38008c1ee0 100644
--- a/py-mbake/Makefile
+++ b/py-mbake/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= mbake-1.2.2
+DISTNAME= mbake-1.3.1.post1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mbake/}
@@ -19,7 +19,7 @@ DEPENDS+= ${PYPKGPREFIX}-rich>=13.0.0:../../comms/py-rich
WRKSRC= ${WRKDIR}/${DISTNAME}
SUBST_CLASSES+= make
-SUBST_FILES.make+= bake/cli.py
+SUBST_FILES.make+= mbake/cli.py
SUBST_SED.make+= -e 's,"make","'${GMAKE}'",'
SUBST_STAGE.make= pre-build
SUBST_MESSAGE.make= Fix to use GNU make.
diff --git a/py-mbake/PLIST b/py-mbake/PLIST
index 67d77f1c64..38c685c6c7 100644
--- a/py-mbake/PLIST
+++ b/py-mbake/PLIST
@@ -1,86 +1,103 @@
@comment $NetBSD$
-bin/bake-${PYVERSSUFFIX}
bin/mbake-${PYVERSSUFFIX}
-${PYSITELIB}/bake/__init__.py
-${PYSITELIB}/bake/__init__.pyc
-${PYSITELIB}/bake/__init__.pyo
-${PYSITELIB}/bake/__main__.py
-${PYSITELIB}/bake/__main__.pyc
-${PYSITELIB}/bake/__main__.pyo
-${PYSITELIB}/bake/cli.py
-${PYSITELIB}/bake/cli.pyc
-${PYSITELIB}/bake/cli.pyo
-${PYSITELIB}/bake/config.py
-${PYSITELIB}/bake/config.pyc
-${PYSITELIB}/bake/config.pyo
-${PYSITELIB}/bake/core/__init__.py
-${PYSITELIB}/bake/core/__init__.pyc
-${PYSITELIB}/bake/core/__init__.pyo
-${PYSITELIB}/bake/core/formatter.py
-${PYSITELIB}/bake/core/formatter.pyc
-${PYSITELIB}/bake/core/formatter.pyo
-${PYSITELIB}/bake/core/rules/__init__.py
-${PYSITELIB}/bake/core/rules/__init__.pyc
-${PYSITELIB}/bake/core/rules/__init__.pyo
-${PYSITELIB}/bake/core/rules/assignment_spacing.py
-${PYSITELIB}/bake/core/rules/assignment_spacing.pyc
-${PYSITELIB}/bake/core/rules/assignment_spacing.pyo
-${PYSITELIB}/bake/core/rules/conditionals.py
-${PYSITELIB}/bake/core/rules/conditionals.pyc
-${PYSITELIB}/bake/core/rules/conditionals.pyo
-${PYSITELIB}/bake/core/rules/continuation.py
-${PYSITELIB}/bake/core/rules/continuation.pyc
-${PYSITELIB}/bake/core/rules/continuation.pyo
-${PYSITELIB}/bake/core/rules/duplicate_targets.py
-${PYSITELIB}/bake/core/rules/duplicate_targets.pyc
-${PYSITELIB}/bake/core/rules/duplicate_targets.pyo
-${PYSITELIB}/bake/core/rules/final_newline.py
-${PYSITELIB}/bake/core/rules/final_newline.pyc
-${PYSITELIB}/bake/core/rules/final_newline.pyo
-${PYSITELIB}/bake/core/rules/pattern_spacing.py
-${PYSITELIB}/bake/core/rules/pattern_spacing.pyc
-${PYSITELIB}/bake/core/rules/pattern_spacing.pyo
-${PYSITELIB}/bake/core/rules/phony.py
-${PYSITELIB}/bake/core/rules/phony.pyc
-${PYSITELIB}/bake/core/rules/phony.pyo
-${PYSITELIB}/bake/core/rules/phony_detection.py
-${PYSITELIB}/bake/core/rules/phony_detection.pyc
-${PYSITELIB}/bake/core/rules/phony_detection.pyo
-${PYSITELIB}/bake/core/rules/phony_insertion.py
-${PYSITELIB}/bake/core/rules/phony_insertion.pyc
-${PYSITELIB}/bake/core/rules/phony_insertion.pyo
-${PYSITELIB}/bake/core/rules/recipe_validation.py
-${PYSITELIB}/bake/core/rules/recipe_validation.pyc
-${PYSITELIB}/bake/core/rules/recipe_validation.pyo
-${PYSITELIB}/bake/core/rules/shell.py
-${PYSITELIB}/bake/core/rules/shell.pyc
-${PYSITELIB}/bake/core/rules/shell.pyo
-${PYSITELIB}/bake/core/rules/tabs.py
-${PYSITELIB}/bake/core/rules/tabs.pyc
-${PYSITELIB}/bake/core/rules/tabs.pyo
-${PYSITELIB}/bake/core/rules/target_spacing.py
-${PYSITELIB}/bake/core/rules/target_spacing.pyc
-${PYSITELIB}/bake/core/rules/target_spacing.pyo
-${PYSITELIB}/bake/core/rules/whitespace.py
-${PYSITELIB}/bake/core/rules/whitespace.pyc
-${PYSITELIB}/bake/core/rules/whitespace.pyo
-${PYSITELIB}/bake/plugins/base.py
-${PYSITELIB}/bake/plugins/base.pyc
-${PYSITELIB}/bake/plugins/base.pyo
-${PYSITELIB}/bake/utils/__init__.py
-${PYSITELIB}/bake/utils/__init__.pyc
-${PYSITELIB}/bake/utils/__init__.pyo
-${PYSITELIB}/bake/utils/line_utils.py
-${PYSITELIB}/bake/utils/line_utils.pyc
-${PYSITELIB}/bake/utils/line_utils.pyo
-${PYSITELIB}/bake/utils/pattern_utils.py
-${PYSITELIB}/bake/utils/pattern_utils.pyc
-${PYSITELIB}/bake/utils/pattern_utils.pyo
-${PYSITELIB}/bake/utils/version_utils.py
-${PYSITELIB}/bake/utils/version_utils.pyc
-${PYSITELIB}/bake/utils/version_utils.pyo
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/mbake/__init__.py
+${PYSITELIB}/mbake/__init__.pyc
+${PYSITELIB}/mbake/__init__.pyo
+${PYSITELIB}/mbake/__main__.py
+${PYSITELIB}/mbake/__main__.pyc
+${PYSITELIB}/mbake/__main__.pyo
+${PYSITELIB}/mbake/cli.py
+${PYSITELIB}/mbake/cli.pyc
+${PYSITELIB}/mbake/cli.pyo
+${PYSITELIB}/mbake/completions.py
+${PYSITELIB}/mbake/completions.pyc
+${PYSITELIB}/mbake/completions.pyo
+${PYSITELIB}/mbake/config.py
+${PYSITELIB}/mbake/config.pyc
+${PYSITELIB}/mbake/config.pyo
+${PYSITELIB}/mbake/constants/__init__.py
+${PYSITELIB}/mbake/constants/__init__.pyc
+${PYSITELIB}/mbake/constants/__init__.pyo
+${PYSITELIB}/mbake/constants/makefile_targets.py
+${PYSITELIB}/mbake/constants/makefile_targets.pyc
+${PYSITELIB}/mbake/constants/makefile_targets.pyo
+${PYSITELIB}/mbake/constants/phony_targets.py
+${PYSITELIB}/mbake/constants/phony_targets.pyc
+${PYSITELIB}/mbake/constants/phony_targets.pyo
+${PYSITELIB}/mbake/constants/shell_commands.py
+${PYSITELIB}/mbake/constants/shell_commands.pyc
+${PYSITELIB}/mbake/constants/shell_commands.pyo
+${PYSITELIB}/mbake/core/__init__.py
+${PYSITELIB}/mbake/core/__init__.pyc
+${PYSITELIB}/mbake/core/__init__.pyo
+${PYSITELIB}/mbake/core/formatter.py
+${PYSITELIB}/mbake/core/formatter.pyc
+${PYSITELIB}/mbake/core/formatter.pyo
+${PYSITELIB}/mbake/core/rules/__init__.py
+${PYSITELIB}/mbake/core/rules/__init__.pyc
+${PYSITELIB}/mbake/core/rules/__init__.pyo
+${PYSITELIB}/mbake/core/rules/assignment_spacing.py
+${PYSITELIB}/mbake/core/rules/assignment_spacing.pyc
+${PYSITELIB}/mbake/core/rules/assignment_spacing.pyo
+${PYSITELIB}/mbake/core/rules/conditionals.py
+${PYSITELIB}/mbake/core/rules/conditionals.pyc
+${PYSITELIB}/mbake/core/rules/conditionals.pyo
+${PYSITELIB}/mbake/core/rules/continuation.py
+${PYSITELIB}/mbake/core/rules/continuation.pyc
+${PYSITELIB}/mbake/core/rules/continuation.pyo
+${PYSITELIB}/mbake/core/rules/duplicate_targets.py
+${PYSITELIB}/mbake/core/rules/duplicate_targets.pyc
+${PYSITELIB}/mbake/core/rules/duplicate_targets.pyo
+${PYSITELIB}/mbake/core/rules/final_newline.py
+${PYSITELIB}/mbake/core/rules/final_newline.pyc
+${PYSITELIB}/mbake/core/rules/final_newline.pyo
+${PYSITELIB}/mbake/core/rules/pattern_spacing.py
+${PYSITELIB}/mbake/core/rules/pattern_spacing.pyc
+${PYSITELIB}/mbake/core/rules/pattern_spacing.pyo
+${PYSITELIB}/mbake/core/rules/phony.py
+${PYSITELIB}/mbake/core/rules/phony.pyc
+${PYSITELIB}/mbake/core/rules/phony.pyo
+${PYSITELIB}/mbake/core/rules/phony_detection.py
+${PYSITELIB}/mbake/core/rules/phony_detection.pyc
+${PYSITELIB}/mbake/core/rules/phony_detection.pyo
+${PYSITELIB}/mbake/core/rules/phony_insertion.py
+${PYSITELIB}/mbake/core/rules/phony_insertion.pyc
+${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/shell.py
+${PYSITELIB}/mbake/core/rules/shell.pyc
+${PYSITELIB}/mbake/core/rules/shell.pyo
+${PYSITELIB}/mbake/core/rules/tabs.py
+${PYSITELIB}/mbake/core/rules/tabs.pyc
+${PYSITELIB}/mbake/core/rules/tabs.pyo
+${PYSITELIB}/mbake/core/rules/target_spacing.py
+${PYSITELIB}/mbake/core/rules/target_spacing.pyc
+${PYSITELIB}/mbake/core/rules/target_spacing.pyo
+${PYSITELIB}/mbake/core/rules/whitespace.py
+${PYSITELIB}/mbake/core/rules/whitespace.pyc
+${PYSITELIB}/mbake/core/rules/whitespace.pyo
+${PYSITELIB}/mbake/plugins/base.py
+${PYSITELIB}/mbake/plugins/base.pyc
+${PYSITELIB}/mbake/plugins/base.pyo
+${PYSITELIB}/mbake/utils/__init__.py
+${PYSITELIB}/mbake/utils/__init__.pyc
+${PYSITELIB}/mbake/utils/__init__.pyo
+${PYSITELIB}/mbake/utils/format_disable.py
+${PYSITELIB}/mbake/utils/format_disable.pyc
+${PYSITELIB}/mbake/utils/format_disable.pyo
+${PYSITELIB}/mbake/utils/line_utils.py
+${PYSITELIB}/mbake/utils/line_utils.pyc
+${PYSITELIB}/mbake/utils/line_utils.pyo
+${PYSITELIB}/mbake/utils/pattern_utils.py
+${PYSITELIB}/mbake/utils/pattern_utils.pyc
+${PYSITELIB}/mbake/utils/pattern_utils.pyo
+${PYSITELIB}/mbake/utils/version_utils.py
+${PYSITELIB}/mbake/utils/version_utils.pyc
+${PYSITELIB}/mbake/utils/version_utils.pyo
diff --git a/py-mbake/distinfo b/py-mbake/distinfo
index 1cf1b5cc83..5df614ffae 100644
--- a/py-mbake/distinfo
+++ b/py-mbake/distinfo
@@ -1,5 +1,5 @@
$NetBSD$
-BLAKE2s (mbake-1.2.2.tar.gz) = da17b75b3824371435f2add4c171f1fa135a2ebfd0034f168b438620bbdbeeb9
-SHA512 (mbake-1.2.2.tar.gz) = c2e633603a61f56789a70746bd4927ce67ed282dc6ac1d7dbc5f08e50410135bcb792370cee487c16da330fd92b19b55ddab260ea901d0f686d599511e353734
-Size (mbake-1.2.2.tar.gz) = 2748478 bytes
+BLAKE2s (mbake-1.3.1.post1.tar.gz) = 0ec6b3388e70899d7e3d1039e0ced4c13fabc229ceb1e0cb078418184e8bb24b
+SHA512 (mbake-1.3.1.post1.tar.gz) = 4dc92dfce70e521fc5596620fd4eef5a75dbed2332b578aa7e63259e3f3dcfefccca3ee7ebe6960b3fa816fa1c0b114df62f748baa5cfca61675d2f9f966548d
+Size (mbake-1.3.1.post1.tar.gz) = 2773367 bytes
Home |
Main Index |
Thread Index |
Old Index