pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-wasm py-wasm: import version 1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/777386339271
branches:  trunk
changeset: 439800:777386339271
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Sep 29 01:36:09 2020 +0000

description:
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.

diffstat:

 devel/py-wasm/ALTERNATIVES |   1 +
 devel/py-wasm/DESCR        |   8 ++++++++
 devel/py-wasm/Makefile     |  25 +++++++++++++++++++++++++
 devel/py-wasm/PLIST        |  38 ++++++++++++++++++++++++++++++++++++++
 devel/py-wasm/distinfo     |   6 ++++++
 5 files changed, 78 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r b8974cf307f0 -r 777386339271 devel/py-wasm/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-wasm/ALTERNATIVES        Tue Sep 29 01:36:09 2020 +0000
@@ -0,0 +1,1 @@
+bin/wasmdump @PREFIX@/bin/wasmdump-@PYVERSSUFFIX@
diff -r b8974cf307f0 -r 777386339271 devel/py-wasm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-wasm/DESCR       Tue Sep 29 01:36:09 2020 +0000
@@ -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.
diff -r b8974cf307f0 -r 777386339271 devel/py-wasm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-wasm/Makefile    Tue Sep 29 01:36:09 2020 +0000
@@ -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"
diff -r b8974cf307f0 -r 777386339271 devel/py-wasm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-wasm/PLIST       Tue Sep 29 01:36:09 2020 +0000
@@ -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
diff -r b8974cf307f0 -r 777386339271 devel/py-wasm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-wasm/distinfo    Tue Sep 29 01:36:09 2020 +0000
@@ -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