pkgsrc-WIP-changes archive

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

py-wasm: import version 1.2



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Fri Sep 18 05:44:07 2020 +0200
Changeset:	8a9f235eb9e700c144f94f5b1f430f8c2fdda9cb

Modified Files:
	Makefile
Added Files:
	py-wasm/DESCR
	py-wasm/Makefile
	py-wasm/PLIST
	py-wasm/distinfo

Log Message:
py-wasm: import version 1.2

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

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

diffstat:
 Makefile         |  1 +
 py-wasm/DESCR    |  8 ++++++++
 py-wasm/Makefile | 23 +++++++++++++++++++++++
 py-wasm/PLIST    | 38 ++++++++++++++++++++++++++++++++++++++
 py-wasm/distinfo |  6 ++++++
 5 files changed, 76 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 188a49d6a7..de6b470f3c 100644
--- a/Makefile
+++ b/Makefile
@@ -4143,6 +4143,7 @@ SUBDIR+=	py-wafo
 SUBDIR+=	py-wahcade
 SUBDIR+=	py-wally
 SUBDIR+=	py-wasanbon
+SUBDIR+=	py-wasm
 SUBDIR+=	py-webapp2
 SUBDIR+=	py-webapp3
 SUBDIR+=	py-weberror
diff --git a/py-wasm/DESCR b/py-wasm/DESCR
new file mode 100644
index 0000000000..09ae4c8b2d
--- /dev/null
+++ b/py-wasm/DESCR
@@ -0,0 +1,8 @@
+wasm is a 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 --git a/py-wasm/Makefile b/py-wasm/Makefile
new file mode 100644
index 0000000000..6a256742ec
--- /dev/null
+++ b/py-wasm/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	wasm
+GITHUB_TAG=	v1.2
+DISTNAME=	v1.2
+PKGNAME=	${PYPKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=athre0z/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/athre0z/wasm
+COMMENT=	WebAssembly decoder & disassembler
+LICENSE=	mit
+
+DEPENDS+=	py-setuptools>=0:../../devel/py-setuptools
+
+WRKSRC=		${WRKDIR}/wasm-1.2
+USE_LANGUAGES=	c++
+
+# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-wasm/PLIST b/py-wasm/PLIST
new file mode 100644
index 0000000000..bef2e39507
--- /dev/null
+++ b/py-wasm/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+bin/wasmdump
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/entry_points.txt
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/wasm-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/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 --git a/py-wasm/distinfo b/py-wasm/distinfo
new file mode 100644
index 0000000000..542f591406
--- /dev/null
+++ b/py-wasm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (wasm/v1.2.tar.gz) = 3d76ca8849426042bd22ee7b3bf1bbf59b28ee24
+RMD160 (wasm/v1.2.tar.gz) = bdbd86694715ad7d7f10774f0086e3aa7ac2c784
+SHA512 (wasm/v1.2.tar.gz) = 010983d95abc3c0286710679b36b4b158c2c42bec66a5a52f7b043a1dc755be3e65865e9fdb24a01a88e071ac84f7938b78c3e17d649b263e438e8e5fd658c11
+Size (wasm/v1.2.tar.gz) = 1398527 bytes


Home | Main Index | Thread Index | Old Index