pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bmaptool: add replacement candidate for bmap-tools



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Jan 8 16:58:50 2026 +0100
Changeset:	6a319a63fcfe89c13ed435807d9a498c62f53deb

Modified Files:
	Makefile
Added Files:
	bmaptool/DESCR
	bmaptool/Makefile
	bmaptool/PLIST
	bmaptool/distinfo

Log Message:
bmaptool: add replacement candidate for bmap-tools

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6a319a63fcfe89c13ed435807d9a498c62f53deb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |  3 ++-
 bmaptool/DESCR    |  5 +++++
 bmaptool/Makefile | 27 +++++++++++++++++++++++++++
 bmaptool/PLIST    | 31 +++++++++++++++++++++++++++++++
 bmaptool/distinfo |  5 +++++
 5 files changed, 70 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 1b664868e1..3e775a1517 100644
--- a/Makefile
+++ b/Makefile
@@ -353,6 +353,7 @@ SUBDIR+=	bluez-hciemu
 SUBDIR+=	bluez-libs
 SUBDIR+=	bluez-utils
 SUBDIR+=	bmap
+SUBDIR+=	bmaptool
 SUBDIR+=	bmp-docklet
 SUBDIR+=	boa
 SUBDIR+=	bogomips
@@ -6181,8 +6182,8 @@ SUBDIR+=	xmms-skins
 SUBDIR+=	xmms-volnorm
 SUBDIR+=	xmms2
 SUBDIR+=	xmoto
-SUBDIR+=	xnee
 SUBDIR+=	xnecview
+SUBDIR+=	xnee
 SUBDIR+=	xoo
 SUBDIR+=	xoreos
 SUBDIR+=	xoreos-tools
diff --git a/bmaptool/DESCR b/bmaptool/DESCR
new file mode 100644
index 0000000000..83226fa687
--- /dev/null
+++ b/bmaptool/DESCR
@@ -0,0 +1,5 @@
+Bmaptool is a generic tool for creating the block map (bmap) for
+a file and copying files using the block map. The idea is that
+large files, like raw system image files, can be copied or flashed
+a lot faster and more reliably with bmaptool than with traditional
+tools, like "dd" or "cp".
diff --git a/bmaptool/Makefile b/bmaptool/Makefile
new file mode 100644
index 0000000000..5d983a0088
--- /dev/null
+++ b/bmaptool/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.9 2025/11/25 07:03:07 wiz Exp $
+
+DISTNAME=	bmaptool-3.9.0
+CATEGORIES=	archivers sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=yoctoproject/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/yoctoproject/bmaptool
+COMMENT=	Block map tools
+LICENSE=	gnu-gpl-v2
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TEST_DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+USE_LANGUAGES=	# none
+
+WHEEL_NAME=	bmaptool-${PKGVERSION_NOREV}
+
+CONFLICTS+=	bmap-tools-[0-9]*
+SUPERSEDES=	bmap-tools-[0-9]*
+
+# as of 3.9.0
+# 4 failed, 10 passed, 8 skipped
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/bmaptool/PLIST b/bmaptool/PLIST
new file mode 100644
index 0000000000..01a2a4d9e3
--- /dev/null
+++ b/bmaptool/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+bin/bmaptool
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/bmaptool/BmapCopy.py
+${PYSITELIB}/bmaptool/BmapCopy.pyc
+${PYSITELIB}/bmaptool/BmapCopy.pyo
+${PYSITELIB}/bmaptool/BmapCreate.py
+${PYSITELIB}/bmaptool/BmapCreate.pyc
+${PYSITELIB}/bmaptool/BmapCreate.pyo
+${PYSITELIB}/bmaptool/BmapHelpers.py
+${PYSITELIB}/bmaptool/BmapHelpers.pyc
+${PYSITELIB}/bmaptool/BmapHelpers.pyo
+${PYSITELIB}/bmaptool/CLI.py
+${PYSITELIB}/bmaptool/CLI.pyc
+${PYSITELIB}/bmaptool/CLI.pyo
+${PYSITELIB}/bmaptool/Filemap.py
+${PYSITELIB}/bmaptool/Filemap.pyc
+${PYSITELIB}/bmaptool/Filemap.pyo
+${PYSITELIB}/bmaptool/TransRead.py
+${PYSITELIB}/bmaptool/TransRead.pyc
+${PYSITELIB}/bmaptool/TransRead.pyo
+${PYSITELIB}/bmaptool/__init__.py
+${PYSITELIB}/bmaptool/__init__.pyc
+${PYSITELIB}/bmaptool/__init__.pyo
+${PYSITELIB}/bmaptool/__main__.py
+${PYSITELIB}/bmaptool/__main__.pyc
+${PYSITELIB}/bmaptool/__main__.pyo
diff --git a/bmaptool/distinfo b/bmaptool/distinfo
new file mode 100644
index 0000000000..440d7d9c4d
--- /dev/null
+++ b/bmaptool/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.3 2021/10/26 09:57:05 nia Exp $
+
+BLAKE2s (bmaptool-3.9.0.tar.gz) = 24020e2ef71a89c19a2a846191dde391df659a6eaa28e2b536513cebe74762fe
+SHA512 (bmaptool-3.9.0.tar.gz) = 5992e26ec54de5b0ec7992c5fe30acafbd8c5817fdaf992816804c6c0a033cb4357e30a581af85835d9e3fe640d06a77a68602b52499def8761de5c2038df017
+Size (bmaptool-3.9.0.tar.gz) = 104321 bytes


Home | Main Index | Thread Index | Old Index