From owner-svn-ports-all@freebsd.org Mon Dec 19 23:07:26 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAF44C883E7; Mon, 19 Dec 2016 23:07:26 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A578A1133; Mon, 19 Dec 2016 23:07:26 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBJN7PLm022683; Mon, 19 Dec 2016 23:07:25 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBJN7Pok022678; Mon, 19 Dec 2016 23:07:25 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201612192307.uBJN7Pok022678@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 19 Dec 2016 23:07:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428964 - in head/emulators: . py-unicorn py-unicorn/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 23:07:26 -0000 Author: antoine Date: Mon Dec 19 23:07:25 2016 New Revision: 428964 URL: https://svnweb.freebsd.org/changeset/ports/428964 Log: New port: emulators/py-unicorn Python bindings for Unicorn CPU emulator framework Added: head/emulators/py-unicorn/ head/emulators/py-unicorn/Makefile (contents, props changed) head/emulators/py-unicorn/distinfo (contents, props changed) head/emulators/py-unicorn/files/ head/emulators/py-unicorn/files/patch-setup.py (contents, props changed) head/emulators/py-unicorn/pkg-descr (contents, props changed) Modified: head/emulators/Makefile Modified: head/emulators/Makefile ============================================================================== --- head/emulators/Makefile Mon Dec 19 23:06:24 2016 (r428963) +++ head/emulators/Makefile Mon Dec 19 23:07:25 2016 (r428964) @@ -116,6 +116,7 @@ SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-nova + SUBDIR += py-unicorn SUBDIR += q4wine SUBDIR += qemu SUBDIR += qemu-cheri Added: head/emulators/py-unicorn/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/py-unicorn/Makefile Mon Dec 19 23:07:25 2016 (r428964) @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= unicorn +PORTVERSION= 0.9 +CATEGORIES= emulators python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Python bindings for Unicorn CPU emulator framework + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libunicorn.so:emulators/unicorn + +USE_GITHUB= yes +GH_ACCOUNT= unicorn-engine + +USES= python +USE_PYTHON= distutils autoplist +WRKSRC_SUBDIR= bindings/python + +do-test: + @(cd ${WRKSRC}; for sample in sample_*.py; do \ + ${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${sample}; \ + done) + +.include Added: head/emulators/py-unicorn/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/py-unicorn/distinfo Mon Dec 19 23:07:25 2016 (r428964) @@ -0,0 +1,3 @@ +TIMESTAMP = 1481841704 +SHA256 (unicorn-engine-unicorn-0.9_GH0.tar.gz) = 1ca03b1c8f6360335567b528210713461e839d47c4eb7c676ba3aa4f72b8cf10 +SIZE (unicorn-engine-unicorn-0.9_GH0.tar.gz) = 2576109 Added: head/emulators/py-unicorn/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/py-unicorn/files/patch-setup.py Mon Dec 19 23:07:25 2016 (r428964) @@ -0,0 +1,22 @@ +# Do not bundle libunicorn.so + +--- setup.py.orig 2015-10-15 16:22:04 UTC ++++ setup.py +@@ -166,17 +166,4 @@ setup( + 'Programming Language :: Python :: 3', + ], + requires=['ctypes'], +- cmdclass=dict( +- build_clib=custom_build_clib, +- sdist=custom_sdist, +- ), +- +- libraries=[( +- 'unicorn', dict( +- package='unicorn', +- sources=dummy_src() +- ), +- )], +- +- data_files=[(SITE_PACKAGES, SETUP_DATA_FILES)], + ) Added: head/emulators/py-unicorn/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/py-unicorn/pkg-descr Mon Dec 19 23:07:25 2016 (r428964) @@ -0,0 +1,3 @@ +Python bindings for Unicorn CPU emulator framework. + +WWW: http://www.unicorn-engine.org/