pkgsrc-Changes archive

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

Re: 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"

Why didn't you use MASTER_SITE_PYPI?

Adam




Home | Main Index | Thread Index | Old Index