summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorkamil <kamil>2016-06-11 21:06:48 +0000
committerkamil <kamil>2016-06-11 21:06:48 +0000
commit8715030d9b1d92762ff8097ab6daf3329cf9e3f6 (patch)
tree535bd592f8b1be1eb3de85747acdc361e8e790c7 /emulators
parent162e0eb3e3d59b9d7a7447ae99709103996d2b15 (diff)
downloadpkgsrc-8715030d9b1d92762ff8097ab6daf3329cf9e3f6.tar.gz
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.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/py-keystone/DESCR17
-rw-r--r--emulators/py-keystone/Makefile15
-rw-r--r--emulators/py-keystone/PLIST35
3 files changed, 67 insertions, 0 deletions
diff --git a/emulators/py-keystone/DESCR b/emulators/py-keystone/DESCR
new file mode 100644
index 00000000000..826559665b0
--- /dev/null
+++ b/emulators/py-keystone/DESCR
@@ -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.
diff --git a/emulators/py-keystone/Makefile b/emulators/py-keystone/Makefile
new file mode 100644
index 00000000000..55b865b3587
--- /dev/null
+++ b/emulators/py-keystone/Makefile
@@ -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"
diff --git a/emulators/py-keystone/PLIST b/emulators/py-keystone/PLIST
new file mode 100644
index 00000000000..25545736dd8
--- /dev/null
+++ b/emulators/py-keystone/PLIST
@@ -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