public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/unicorn/
@ 2021-12-02  2:26 Hayley Hughes
  0 siblings, 0 replies; 2+ messages in thread
From: Hayley Hughes @ 2021-12-02  2:26 UTC (permalink / raw
  To: gentoo-commits

commit:     42f090b0f23df6983a7c20e33b6f558eec3c03f8
Author:     Hayley Hughes <hayley <AT> foxes <DOT> systems>
AuthorDate: Thu Dec  2 02:21:33 2021 +0000
Commit:     Hayley Hughes <hayley <AT> foxes <DOT> systems>
CommitDate: Thu Dec  2 02:25:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42f090b0

app-emulation/unicorn: new package

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hayley Hughes <hayley <AT> foxes.systems>

 app-emulation/unicorn/Manifest             |  1 +
 app-emulation/unicorn/metadata.xml         | 16 +++++++++
 app-emulation/unicorn/unicorn-1.0.3.ebuild | 57 ++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/app-emulation/unicorn/Manifest b/app-emulation/unicorn/Manifest
new file mode 100644
index 000000000..a32d340b3
--- /dev/null
+++ b/app-emulation/unicorn/Manifest
@@ -0,0 +1 @@
+DIST 1.0.3.tar.gz 3759365 BLAKE2B 130d494d03aa9aa1b27e6806856eb36c1871af6e8b89aef9136baa6ca8b726ba2eab778488185e96c47bf3771dd8bce19bf4fd5090888d28433a6129c827d88c SHA512 10f1b5194358c65bc94723eaafd7b4167fee18f96a4810f46f8c78ed1ef5584546e66e8c910fa4eeadd791fcd73edea68f898e337081409fd188b4090b78a7ca

diff --git a/app-emulation/unicorn/metadata.xml b/app-emulation/unicorn/metadata.xml
new file mode 100644
index 000000000..c9de728ed
--- /dev/null
+++ b/app-emulation/unicorn/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>hayley@foxes.systems</email>
+		<name>Hayley Hughes</name>
+	</maintainer>
+	<longdescription lang="en">
+		Unicorn is a lightweight multi-platform, multi-architecture CPU emulator
+		framework. Unicorn is based on QEMU, but it goes much further with a lot
+		more to offer.
+	</longdescription>
+	<use>
+		<flag name="python">Enable python bindings</flag>
+	</use>
+</pkgmetadata>

diff --git a/app-emulation/unicorn/unicorn-1.0.3.ebuild b/app-emulation/unicorn/unicorn-1.0.3.ebuild
new file mode 100644
index 000000000..7c576f626
--- /dev/null
+++ b/app-emulation/unicorn/unicorn-1.0.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake distutils-r1
+
+DESCRIPTION="Unicorn CPU emulator framework"
+HOMEPAGE="http://www.unicorn-engine.org/"
+SRC_URI="https://github.com/unicorn-engine/${PN}/archive/${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test python"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+	python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
+"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+wrap_python() {
+	local phase=$1
+	shift
+
+	if use python; then
+		pushd bindings/python >/dev/null || die
+		echo distutils-r1_${phase} "$@"
+		pwd
+		distutils-r1_${phase} "$@"
+		popd >/dev/null
+	fi
+}
+
+src_prepare() {
+	cmake_src_prepare
+	wrap_python ${FUNCNAME}
+}
+
+src_configure() {
+	cmake_src_configure
+	wrap_python ${FUNCNAME}
+}
+
+src_compile() {
+	cmake_src_compile
+	wrap_python ${FUNCNAME}
+}
+
+src_install() {
+	cmake_src_install
+	wrap_python ${FUNCNAME}
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/unicorn/
  2021-12-15 10:51 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-12-15 10:51 ` Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-12-15 10:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d8d3cf4cfb67d06c303778841de529c199dba0c5
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 10:47:52 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 10:47:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8d3cf4c

app-emulation/unicorn: fix BadFilename, add missing TestRestrict

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-emulation/unicorn/Manifest             | 2 +-
 app-emulation/unicorn/unicorn-1.0.3.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-emulation/unicorn/Manifest b/app-emulation/unicorn/Manifest
index a32d340b3..fadbfcb1d 100644
--- a/app-emulation/unicorn/Manifest
+++ b/app-emulation/unicorn/Manifest
@@ -1 +1 @@
-DIST 1.0.3.tar.gz 3759365 BLAKE2B 130d494d03aa9aa1b27e6806856eb36c1871af6e8b89aef9136baa6ca8b726ba2eab778488185e96c47bf3771dd8bce19bf4fd5090888d28433a6129c827d88c SHA512 10f1b5194358c65bc94723eaafd7b4167fee18f96a4810f46f8c78ed1ef5584546e66e8c910fa4eeadd791fcd73edea68f898e337081409fd188b4090b78a7ca
+DIST unicorn-1.0.3.tar.gz 3759365 BLAKE2B 130d494d03aa9aa1b27e6806856eb36c1871af6e8b89aef9136baa6ca8b726ba2eab778488185e96c47bf3771dd8bce19bf4fd5090888d28433a6129c827d88c SHA512 10f1b5194358c65bc94723eaafd7b4167fee18f96a4810f46f8c78ed1ef5584546e66e8c910fa4eeadd791fcd73edea68f898e337081409fd188b4090b78a7ca

diff --git a/app-emulation/unicorn/unicorn-1.0.3.ebuild b/app-emulation/unicorn/unicorn-1.0.3.ebuild
index 7c576f626..da1b0f660 100644
--- a/app-emulation/unicorn/unicorn-1.0.3.ebuild
+++ b/app-emulation/unicorn/unicorn-1.0.3.ebuild
@@ -10,13 +10,14 @@ inherit cmake distutils-r1
 
 DESCRIPTION="Unicorn CPU emulator framework"
 HOMEPAGE="http://www.unicorn-engine.org/"
-SRC_URI="https://github.com/unicorn-engine/${PN}/archive/${PV}.tar.gz"
+SRC_URI="https://github.com/unicorn-engine/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
 
 IUSE="test python"
+RESTRICT="!test? ( test )"
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
 	python? ( dev-python/setuptools[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-15 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02  2:26 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/unicorn/ Hayley Hughes
  -- strict thread matches above, loose matches on Subject: below --
2021-12-15 10:51 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 10:51 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox