Sat Jun 11 21:06:48 2016 UTC ()
Import keystone-0.9 as emulators/py-keystone

Keystone is a lightweight multi-platform, multi-architecture assembler
framework.

It offers some unparalleled features:
 *   Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon,
     Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
 *   Clean/simple/lightweight/intuitive architecture-neutral API.
 *   Implemented in C/C++ languages, with bindings for Python, NodeJS, Ruby,
     Go & Rust available.
 *   Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
     confirmed).
 *   Thread-safe by design.
 *   Open source - with a dual license.

Keystone is based on LLVM, but it goes much further with a lot more to offer.

This package ships with Python bindings.

Originally packaged in pkgsrc-wip by myself.


(kamil)
diff -r0 -r1.1 pkgsrc/emulators/py-keystone/DESCR
diff -r0 -r1.1 pkgsrc/emulators/py-keystone/Makefile
diff -r0 -r1.1 pkgsrc/emulators/py-keystone/PLIST

File Added: pkgsrc/emulators/py-keystone/DESCR
Keystone is a lightweight multi-platform, multi-architecture assembler
framework.

It offers some unparalleled features:
 *   Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon,
     Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
 *   Clean/simple/lightweight/intuitive architecture-neutral API.
 *   Implemented in C/C++ languages, with bindings for Python, NodeJS, Ruby,
     Go & Rust available.
 *   Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
     confirmed).
 *   Thread-safe by design.
 *   Open source - with a dual license.

Keystone is based on LLVM, but it goes much further with a lot more to offer.

This package ships with Python bindings.

File Added: pkgsrc/emulators/py-keystone/Makefile
# $NetBSD: Makefile,v 1.1 2016/06/11 21:06:48 kamil Exp $

.include "../../emulators/keystone/Makefile.common"

PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES+=	python

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Python bindings for keystone
LICENSE=	modified-bsd

PYSETUPSUBDIR=	bindings/python

.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/emulators/py-keystone/PLIST
@comment $NetBSD: PLIST,v 1.1 2016/06/11 21:06:48 kamil Exp $
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/keystone/__init__.py
${PYSITELIB}/keystone/__init__.pyc
${PYSITELIB}/keystone/__init__.pyo
${PYSITELIB}/keystone/arm64_const.py
${PYSITELIB}/keystone/arm64_const.pyc
${PYSITELIB}/keystone/arm64_const.pyo
${PYSITELIB}/keystone/arm_const.py
${PYSITELIB}/keystone/arm_const.pyc
${PYSITELIB}/keystone/arm_const.pyo
${PYSITELIB}/keystone/hexagon_const.py
${PYSITELIB}/keystone/hexagon_const.pyc
${PYSITELIB}/keystone/hexagon_const.pyo
${PYSITELIB}/keystone/keystone.py
${PYSITELIB}/keystone/keystone.pyc
${PYSITELIB}/keystone/keystone.pyo
${PYSITELIB}/keystone/keystone_const.py
${PYSITELIB}/keystone/keystone_const.pyc
${PYSITELIB}/keystone/keystone_const.pyo
${PYSITELIB}/keystone/mips_const.py
${PYSITELIB}/keystone/mips_const.pyc
${PYSITELIB}/keystone/mips_const.pyo
${PYSITELIB}/keystone/ppc_const.py
${PYSITELIB}/keystone/ppc_const.pyc
${PYSITELIB}/keystone/ppc_const.pyo
${PYSITELIB}/keystone/sparc_const.py
${PYSITELIB}/keystone/sparc_const.pyc
${PYSITELIB}/keystone/sparc_const.pyo
${PYSITELIB}/keystone/systemz_const.py
${PYSITELIB}/keystone/systemz_const.pyc
${PYSITELIB}/keystone/systemz_const.pyo
${PYSITELIB}/keystone/x86_const.py
${PYSITELIB}/keystone/x86_const.pyc
${PYSITELIB}/keystone/x86_const.pyo