pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-bake: rename to py-mbake to match PYPI name and update to 1.2.2
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Jun 24 16:50:02 2025 +0200
Changeset: f8926ec7f8a012e3fb2f90b421875b4c26ab5f32
Modified Files:
Makefile
Added Files:
py-mbake/ALTERNATIVES
py-mbake/DESCR
py-mbake/Makefile
py-mbake/PLIST
py-mbake/distinfo
Removed Files:
py-bake/ALTERNATIVES
py-bake/DESCR
py-bake/Makefile
py-bake/PLIST
py-bake/distinfo
Log Message:
py-bake: rename to py-mbake to match PYPI name and update to 1.2.2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f8926ec7f8a012e3fb2f90b421875b4c26ab5f32
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 +-
py-bake/ALTERNATIVES | 2 --
py-bake/DESCR | 10 ------
py-bake/Makefile | 35 ---------------------
py-bake/PLIST | 80 -----------------------------------------------
py-bake/distinfo | 5 ---
py-mbake/ALTERNATIVES | 2 ++
py-mbake/DESCR | 10 ++++++
py-mbake/Makefile | 40 ++++++++++++++++++++++++
py-mbake/PLIST | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++
py-mbake/distinfo | 5 +++
11 files changed, 144 insertions(+), 133 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 52d64f9b27..f4f9304022 100644
--- a/Makefile
+++ b/Makefile
@@ -3464,7 +3464,6 @@ SUBDIR+= py-backoff
SUBDIR+= py-backports.csv
SUBDIR+= py-backports.tarfile
SUBDIR+= py-badges
-SUBDIR+= py-bake
SUBDIR+= py-bandicoot
SUBDIR+= py-bannock
SUBDIR+= py-baron
@@ -4133,6 +4132,7 @@ SUBDIR+= py-mathpad
SUBDIR+= py-matplottheme
SUBDIR+= py-matrix-angular-sdk
SUBDIR+= py-mave
+SUBDIR+= py-mbake
SUBDIR+= py-mcerp
SUBDIR+= py-mcint
SUBDIR+= py-mcview
diff --git a/py-bake/ALTERNATIVES b/py-bake/ALTERNATIVES
deleted file mode 100644
index e16aeef451..0000000000
--- a/py-bake/ALTERNATIVES
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/bake @PREFIX@/bin/bake-@PYVERSSUFFIX@
-bin/mbake @PREFIX@/bin/mbake-@PYVERSSUFFIX@
diff --git a/py-bake/DESCR b/py-bake/DESCR
deleted file mode 100644
index bc2c8515f1..0000000000
--- a/py-bake/DESCR
+++ /dev/null
@@ -1,10 +0,0 @@
-mbake is a Makefile formatter and linter.
-
-Features:
-
-- Configurable rules via ~/.bake.toml
-- CI/CD integration with check mode
-- Extensible plugin architecture
-- Rich terminal output with progress indicators
-- Syntax validation before and after formatting
-- Smart .PHONY detection with automatic insertion
diff --git a/py-bake/Makefile b/py-bake/Makefile
deleted file mode 100644
index b7f64f7d23..0000000000
--- a/py-bake/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD$
-
-DISTNAME= bake-1.1.3
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GITHUB:=EbodShojaei/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/EbodShojaei/bake/
-COMMENT= Makefile formatter and linter
-LICENSE= mit
-
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
-DEPENDS+= ${PYPKGPREFIX}-typer>=0.9.0:../../wip/py-typer
-DEPENDS+= ${PYPKGPREFIX}-rich>=13.0.0:../../comms/py-rich
-
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
-WHEEL_NAME= m${DISTNAME}
-
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} < 311
-DEPENDS+= ${PYPKGPREFIX}-tomli>=1.2.0:../../textproc/py-tomli
-.endif
-
-USE_LANGUAGES= # none
-
-post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} bake bake-${PYVERSSUFFIX} || ${TRUE}
- cd ${DESTDIR}${PREFIX}/bin && ${MV} mbake mbake-${PYVERSSUFFIX} || ${TRUE}
-
-.include "../../lang/python/wheel.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-bake/PLIST b/py-bake/PLIST
deleted file mode 100644
index e768b97bd0..0000000000
--- a/py-bake/PLIST
+++ /dev/null
@@ -1,80 +0,0 @@
-@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/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/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
diff --git a/py-bake/distinfo b/py-bake/distinfo
deleted file mode 100644
index f302c6259b..0000000000
--- a/py-bake/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (bake-1.1.3.tar.gz) = 9c725e5c17516a930e5bd02c717ea419b7a3e311dd1cd060dc02c733eec82be3
-SHA512 (bake-1.1.3.tar.gz) = f3600f8092a0fbeecb9f27cfc81bc8a97ddcaaac98980f8a529ad05387499f0f1be2e3bf89af224dfb0e269574cafa8be72fc69c16a8d27a9ada9e0c1783a2ea
-Size (bake-1.1.3.tar.gz) = 2738449 bytes
diff --git a/py-mbake/ALTERNATIVES b/py-mbake/ALTERNATIVES
new file mode 100644
index 0000000000..e16aeef451
--- /dev/null
+++ b/py-mbake/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/bake @PREFIX@/bin/bake-@PYVERSSUFFIX@
+bin/mbake @PREFIX@/bin/mbake-@PYVERSSUFFIX@
diff --git a/py-mbake/DESCR b/py-mbake/DESCR
new file mode 100644
index 0000000000..bc2c8515f1
--- /dev/null
+++ b/py-mbake/DESCR
@@ -0,0 +1,10 @@
+mbake is a Makefile formatter and linter.
+
+Features:
+
+- Configurable rules via ~/.bake.toml
+- CI/CD integration with check mode
+- Extensible plugin architecture
+- Rich terminal output with progress indicators
+- Syntax validation before and after formatting
+- Smart .PHONY detection with automatic insertion
diff --git a/py-mbake/Makefile b/py-mbake/Makefile
new file mode 100644
index 0000000000..e874cf3140
--- /dev/null
+++ b/py-mbake/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD$
+
+DISTNAME= mbake-1.2.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/mbake/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/EbodShojaei/bake/
+COMMENT= Makefile formatter and linter
+LICENSE= mit
+
+USE_TOOLS+= gmake:run
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
+DEPENDS+= ${PYPKGPREFIX}-typer>=0.9.0:../../wip/py-typer
+DEPENDS+= ${PYPKGPREFIX}-rich>=13.0.0:../../comms/py-rich
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+SUBST_CLASSES+= make
+SUBST_FILES.make+= bake/cli.py
+SUBST_SED.make+= -e 's,"make","'${GMAKE}'",'
+SUBST_STAGE.make= pre-build
+SUBST_MESSAGE.make= Fix to use GNU make.
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-tomli>=1.2.0:../../textproc/py-tomli
+.endif
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} bake bake-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} mbake mbake-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-mbake/PLIST b/py-mbake/PLIST
new file mode 100644
index 0000000000..67d77f1c64
--- /dev/null
+++ b/py-mbake/PLIST
@@ -0,0 +1,86 @@
+@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
diff --git a/py-mbake/distinfo b/py-mbake/distinfo
new file mode 100644
index 0000000000..1cf1b5cc83
--- /dev/null
+++ b/py-mbake/distinfo
@@ -0,0 +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
Home |
Main Index |
Thread Index |
Old Index