pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-hexdump: add finished package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Tue Dec 12 19:09:54 2023 +0100
Changeset: a05360bd66eba74af99030b4496a9ac005573c26
Modified Files:
Makefile
py-spsdk/Makefile
Added Files:
py-hexdump/DESCR
py-hexdump/Makefile
py-hexdump/PLIST
py-hexdump/distinfo
Log Message:
py-hexdump: add finished package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a05360bd66eba74af99030b4496a9ac005573c26
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-hexdump/DESCR | 4 ++++
py-hexdump/Makefile | 29 +++++++++++++++++++++++++++++
py-hexdump/PLIST | 8 ++++++++
py-hexdump/distinfo | 5 +++++
py-spsdk/Makefile | 2 +-
6 files changed, 48 insertions(+), 1 deletion(-)
diffs:
diff --git a/Makefile b/Makefile
index a0bdf1339f..2f0d64a0df 100644
--- a/Makefile
+++ b/Makefile
@@ -3730,6 +3730,7 @@ SUBDIR+= py-hdfs
SUBDIR+= py-helio
SUBDIR+= py-hepcrawl
SUBDIR+= py-hessianfree
+SUBDIR+= py-hexdump
SUBDIR+= py-hfk
SUBDIR+= py-hg-git-devel
SUBDIR+= py-hgapi
diff --git a/py-hexdump/DESCR b/py-hexdump/DESCR
new file mode 100644
index 0000000000..63b53dcbb6
--- /dev/null
+++ b/py-hexdump/DESCR
@@ -0,0 +1,4 @@
+What is it about?
+
+* dump binary to hex and restore it back
+* library and command line tool
diff --git a/py-hexdump/Makefile b/py-hexdump/Makefile
new file mode 100644
index 0000000000..f06699b6fa
--- /dev/null
+++ b/py-hexdump/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME= hexdump-3.3
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/hexdump/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://bitbucket.org/techtonik/hexdump/
+COMMENT= Dump binary data to hex format and restore from there
+LICENSE= public-domain
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} hexdump.py --test
+
+# test data only
+post-install:
+ ${RM} ${DESTDIR}${PREFIX}/data/hexfile.bin
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hexdump/PLIST b/py-hexdump/PLIST
new file mode 100644
index 0000000000..d1ef7c4e7c
--- /dev/null
+++ b/py-hexdump/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/hexdump.py
+${PYSITELIB}/hexdump.pyc
+${PYSITELIB}/hexdump.pyo
diff --git a/py-hexdump/distinfo b/py-hexdump/distinfo
new file mode 100644
index 0000000000..1c8fbb5728
--- /dev/null
+++ b/py-hexdump/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (hexdump-3.3.zip) = af1b81d6f9325524827fc818bef748fb2df626b71dd6545c5b48e156bece7fba
+SHA512 (hexdump-3.3.zip) = 3299f6a29dcf4293616c5ea652397429ee844ca30964ee0fc784fb2a93252b75eb28fb797640e26477eb6b291aa38e14ad5046d8b4488dc4e03bd79b9449898b
+Size (hexdump-3.3.zip) = 12658 bytes
diff --git a/py-spsdk/Makefile b/py-spsdk/Makefile
index 837f47cde4..537ed0883d 100644
--- a/py-spsdk/Makefile
+++ b/py-spsdk/Makefile
@@ -24,7 +24,7 @@ DEPENDS+= ${PYPKGPREFIX}-crcmod>=0:../../security/py-crcmod
DEPENDS+= ${PYPKGPREFIX}-cryptography>=3.4.4:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-deepmerge>=0:../../wip/py-deepmerge
DEPENDS+= ${PYPKGPREFIX}-fastjsonschema>=2.15.1:../../textproc/py-fastjsonschema
-DEPENDS+= # TODO: hexdump<3.4>=0
+DEPENDS+= ${PYPKGPREFIX}-hexdump>=0:../../wip/py-hexdump
DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.0:../../textproc/py-jinja2
DEPENDS+= # TODO: libusbsio>=2.1.11
DEPENDS+= # TODO: oscrypto<1.4>=0
Home |
Main Index |
Thread Index |
Old Index