pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-wasm
Module Name: pkgsrc
Committed By: khorben
Date: Tue Sep 29 01:36:09 UTC 2020
Added Files:
pkgsrc/devel/py-wasm: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
py-wasm: import version 1.2
Python module capable of decoding and disassembling WebAssembly modules
and bytecode, according to the MVP specification of the WASM binary
format.
As there is no official text format defined yet, the text format
implemented doesn't correspond to any existing definition and is a
simple `mnemonic op1, op2, ...` format. Functions are formatted in a
way similar to how Google Chrome does in the debug console.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-wasm/ALTERNATIVES \
pkgsrc/devel/py-wasm/DESCR pkgsrc/devel/py-wasm/Makefile \
pkgsrc/devel/py-wasm/PLIST pkgsrc/devel/py-wasm/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-wasm/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-wasm/ALTERNATIVES:1.1
--- /dev/null Tue Sep 29 01:36:09 2020
+++ pkgsrc/devel/py-wasm/ALTERNATIVES Tue Sep 29 01:36:09 2020
@@ -0,0 +1 @@
+bin/wasmdump @PREFIX@/bin/wasmdump-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-wasm/DESCR
diff -u /dev/null pkgsrc/devel/py-wasm/DESCR:1.1
--- /dev/null Tue Sep 29 01:36:09 2020
+++ pkgsrc/devel/py-wasm/DESCR Tue Sep 29 01:36:09 2020
@@ -0,0 +1,8 @@
+Python module capable of decoding and disassembling WebAssembly modules
+and bytecode, according to the MVP specification of the WASM binary
+format.
+
+As there is no official text format defined yet, the text format
+implemented doesn't correspond to any existing definition and is a
+simple `mnemonic op1, op2, ...` format. Functions are formatted in a
+way similar to how Google Chrome does in the debug console.
Index: pkgsrc/devel/py-wasm/Makefile
diff -u /dev/null pkgsrc/devel/py-wasm/Makefile:1.1
--- /dev/null Tue Sep 29 01:36:09 2020
+++ pkgsrc/devel/py-wasm/Makefile Tue Sep 29 01:36:09 2020
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/09/29 01:36:09 khorben Exp $
+
+DISTNAME= wasm-1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=athre0z/}
+GITHUB_PROJECT= wasm
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= khorben%defora.org@localhost
+HOMEPAGE= https://github.com/athre0z/wasm
+COMMENT= WebAssembly decoder & disassembler
+LICENSE= mit
+
+DEPENDS+= py-setuptools>=0:../../devel/py-setuptools
+
+USE_LANGUAGES= c++
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/wasmdump \
+ ${DESTDIR}${PREFIX}/bin/wasmdump-${PYVERSSUFFIX}
+
+# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-wasm/PLIST
diff -u /dev/null pkgsrc/devel/py-wasm/PLIST:1.1
--- /dev/null Tue Sep 29 01:36:09 2020
+++ pkgsrc/devel/py-wasm/PLIST Tue Sep 29 01:36:09 2020
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/29 01:36:09 khorben Exp $
+bin/wasmdump-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/wasm/__init__.py
+${PYSITELIB}/wasm/__init__.pyc
+${PYSITELIB}/wasm/__init__.pyo
+${PYSITELIB}/wasm/__main__.py
+${PYSITELIB}/wasm/__main__.pyc
+${PYSITELIB}/wasm/__main__.pyo
+${PYSITELIB}/wasm/compat.py
+${PYSITELIB}/wasm/compat.pyc
+${PYSITELIB}/wasm/compat.pyo
+${PYSITELIB}/wasm/decode.py
+${PYSITELIB}/wasm/decode.pyc
+${PYSITELIB}/wasm/decode.pyo
+${PYSITELIB}/wasm/formatter.py
+${PYSITELIB}/wasm/formatter.pyc
+${PYSITELIB}/wasm/formatter.pyo
+${PYSITELIB}/wasm/immtypes.py
+${PYSITELIB}/wasm/immtypes.pyc
+${PYSITELIB}/wasm/immtypes.pyo
+${PYSITELIB}/wasm/modtypes.py
+${PYSITELIB}/wasm/modtypes.pyc
+${PYSITELIB}/wasm/modtypes.pyo
+${PYSITELIB}/wasm/opcodes.py
+${PYSITELIB}/wasm/opcodes.pyc
+${PYSITELIB}/wasm/opcodes.pyo
+${PYSITELIB}/wasm/types.py
+${PYSITELIB}/wasm/types.pyc
+${PYSITELIB}/wasm/types.pyo
+${PYSITELIB}/wasm/wasmtypes.py
+${PYSITELIB}/wasm/wasmtypes.pyc
+${PYSITELIB}/wasm/wasmtypes.pyo
Index: pkgsrc/devel/py-wasm/distinfo
diff -u /dev/null pkgsrc/devel/py-wasm/distinfo:1.1
--- /dev/null Tue Sep 29 01:36:09 2020
+++ pkgsrc/devel/py-wasm/distinfo Tue Sep 29 01:36:09 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/09/29 01:36:09 khorben Exp $
+
+SHA1 (wasm-1.2.tar.gz) = 3d76ca8849426042bd22ee7b3bf1bbf59b28ee24
+RMD160 (wasm-1.2.tar.gz) = bdbd86694715ad7d7f10774f0086e3aa7ac2c784
+SHA512 (wasm-1.2.tar.gz) = 010983d95abc3c0286710679b36b4b158c2c42bec66a5a52f7b043a1dc755be3e65865e9fdb24a01a88e071ac84f7938b78c3e17d649b263e438e8e5fd658c11
+Size (wasm-1.2.tar.gz) = 1398527 bytes
Home |
Main Index |
Thread Index |
Old Index