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.
This commit is contained in:
kamil 2016-06-11 21:06:48 +00:00
parent 04d1ce45a2
commit d8c9c784c6
3 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,17 @@
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.

View file

@ -0,0 +1,15 @@
# $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"

View file

@ -0,0 +1,35 @@
@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