pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators Package the Python bindings for emulators/un...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c12eb8ccf1ba
branches: trunk
changeset: 376137:c12eb8ccf1ba
user: khorben <khorben%pkgsrc.org@localhost>
date: Mon Feb 26 02:25:28 2018 +0000
description:
Package the Python bindings for emulators/unicorn
No functional change intended for Unicorn itself.
Inspired by emulators/keystone and emulators/py-keystone.
Tested on NetBSD/amd64.
diffstat:
emulators/py-unicorn/DESCR | 15 +++++++++++++
emulators/py-unicorn/Makefile | 16 ++++++++++++++
emulators/py-unicorn/PLIST | 42 +++++++++++++++++++++++++++++++++++++++
emulators/unicorn/Makefile | 7 +----
emulators/unicorn/Makefile.common | 11 ++++++++++
emulators/unicorn/PLIST | 2 +-
emulators/unicorn/buildlink3.mk | 12 +++++++++++
emulators/unicorn/distinfo | 2 +-
8 files changed, 100 insertions(+), 7 deletions(-)
diffs (151 lines):
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/py-unicorn/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/py-unicorn/DESCR Mon Feb 26 02:25:28 2018 +0000
@@ -0,0 +1,15 @@
+Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
+framework based on QEMU.
+
+Unicorn offers some unparalleled features:
+ - Multi-architecture: ARM, AMM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
+ 64-bit)
+ - Clean/simple/lightweight/intuitive architecture-neutral API
+ - Implemented in pure C language, with bindings for Python, Java, and Go
+ - Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
+ confirmed)
+ - High performance via Just-In-Time compilation
+ - Support for fine-grained instrumentation at various levels
+ - Thread-safety by design
+
+This package contains the Python bindings for Unicorn.
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/py-unicorn/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/py-unicorn/Makefile Mon Feb 26 02:25:28 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2018/02/26 02:25:28 khorben Exp $
+
+.include "../../emulators/unicorn/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES+= python
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Python bindings for unicorn
+LICENSE= gnu-gpl-v2
+
+PYSETUPSUBDIR= bindings/python
+
+.include "../../emulators/unicorn/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/py-unicorn/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/py-unicorn/PLIST Mon Feb 26 02:25:28 2018 +0000
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/26 02:25:28 khorben Exp $
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
+${PYSITELIB}/${EGG_FILE}/zip-safe
+${PYSITELIB}/unicorn/__init__.py
+${PYSITELIB}/unicorn/__init__.pyc
+${PYSITELIB}/unicorn/__init__.pyo
+${PYSITELIB}/unicorn/arm64_const.py
+${PYSITELIB}/unicorn/arm64_const.pyc
+${PYSITELIB}/unicorn/arm64_const.pyo
+${PYSITELIB}/unicorn/arm_const.py
+${PYSITELIB}/unicorn/arm_const.pyc
+${PYSITELIB}/unicorn/arm_const.pyo
+${PYSITELIB}/unicorn/include/unicorn/arm.h
+${PYSITELIB}/unicorn/include/unicorn/arm64.h
+${PYSITELIB}/unicorn/include/unicorn/m68k.h
+${PYSITELIB}/unicorn/include/unicorn/mips.h
+${PYSITELIB}/unicorn/include/unicorn/sparc.h
+${PYSITELIB}/unicorn/include/unicorn/unicorn.h
+${PYSITELIB}/unicorn/include/unicorn/x86.h
+${PYSITELIB}/unicorn/lib/libunicorn.a
+${PYSITELIB}/unicorn/lib/libunicorn.so
+${PYSITELIB}/unicorn/m68k_const.py
+${PYSITELIB}/unicorn/m68k_const.pyc
+${PYSITELIB}/unicorn/m68k_const.pyo
+${PYSITELIB}/unicorn/mips_const.py
+${PYSITELIB}/unicorn/mips_const.pyc
+${PYSITELIB}/unicorn/mips_const.pyo
+${PYSITELIB}/unicorn/sparc_const.py
+${PYSITELIB}/unicorn/sparc_const.pyc
+${PYSITELIB}/unicorn/sparc_const.pyo
+${PYSITELIB}/unicorn/unicorn.py
+${PYSITELIB}/unicorn/unicorn.pyc
+${PYSITELIB}/unicorn/unicorn.pyo
+${PYSITELIB}/unicorn/unicorn_const.py
+${PYSITELIB}/unicorn/unicorn_const.pyc
+${PYSITELIB}/unicorn/unicorn_const.pyo
+${PYSITELIB}/unicorn/x86_const.py
+${PYSITELIB}/unicorn/x86_const.pyc
+${PYSITELIB}/unicorn/x86_const.pyo
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/unicorn/Makefile
--- a/emulators/unicorn/Makefile Sun Feb 25 22:05:35 2018 +0000
+++ b/emulators/unicorn/Makefile Mon Feb 26 02:25:28 2018 +0000
@@ -1,11 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2018/02/19 00:39:52 kamil Exp $
+# $NetBSD: Makefile,v 1.6 2018/02/26 02:25:28 khorben Exp $
-DISTNAME= unicorn-1.0.1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/}
+.include "Makefile.common"
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.unicorn-engine.org/
COMMENT= CPU emulator engine framework based on QEMU
LICENSE= gnu-gpl-v2
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/unicorn/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/unicorn/Makefile.common Mon Feb 26 02:25:28 2018 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.common,v 1.1 2018/02/26 02:25:28 khorben Exp $
+#
+# used by emulators/py-unicorn/Makefile
+
+DISTNAME= unicorn-1.0.1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/}
+
+HOMEPAGE= http://www.unicorn-engine.org/
+
+DISTINFO_FILE= ${.CURDIR}/../../emulators/unicorn/distinfo
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/unicorn/PLIST
--- a/emulators/unicorn/PLIST Sun Feb 25 22:05:35 2018 +0000
+++ b/emulators/unicorn/PLIST Mon Feb 26 02:25:28 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/02/19 00:39:52 kamil Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/02/26 02:25:28 khorben Exp $
include/unicorn/arm.h
include/unicorn/arm64.h
include/unicorn/m68k.h
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/unicorn/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/unicorn/buildlink3.mk Mon Feb 26 02:25:28 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/02/26 02:25:28 khorben Exp $
+
+BUILDLINK_TREE+= unicorn
+
+.if !defined(UNICORN_BUILDLINK3_MK)
+UNICORN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.unicorn+= unicorn>=1.0.1
+BUILDLINK_PKGSRCDIR.unicorn?= ../../emulators/unicorn
+.endif # UNICORN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -unicorn
diff -r 6ef88262b17d -r c12eb8ccf1ba emulators/unicorn/distinfo
--- a/emulators/unicorn/distinfo Sun Feb 25 22:05:35 2018 +0000
+++ b/emulators/unicorn/distinfo Mon Feb 26 02:25:28 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2018/02/19 00:39:52 kamil Exp $
+$NetBSD: distinfo,v 1.4 2018/02/26 02:25:28 khorben Exp $
SHA1 (unicorn-1.0.1.tar.gz) = 85c9d7aad2a87b110b729560ed9333b66018ca6a
RMD160 (unicorn-1.0.1.tar.gz) = 599b7ce96fe4040a48561bd9474666583265960b
Home |
Main Index |
Thread Index |
Old Index