public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/unicorn/
Date: Sat,  9 Jul 2022 10:15:29 +0000 (UTC)	[thread overview]
Message-ID: <1657361672.d12375dc8fab5e66fce4132e8d797e6ba1a73c28.sam@gentoo> (raw)

commit:     d12375dc8fab5e66fce4132e8d797e6ba1a73c28
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Jul  7 18:18:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 10:14:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12375dc

dev-util/unicorn: version bump 2.0.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26270
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/unicorn/Manifest                                    |  1 +
 .../unicorn/{unicorn-9999.ebuild => unicorn-2.0.0.ebuild}    | 12 ++++++++----
 dev-util/unicorn/unicorn-9999.ebuild                         | 12 ++++++++----
 3 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/dev-util/unicorn/Manifest b/dev-util/unicorn/Manifest
index b79c53ef4965..6bb09c630fce 100644
--- a/dev-util/unicorn/Manifest
+++ b/dev-util/unicorn/Manifest
@@ -1 +1,2 @@
+DIST unicorn-2.0.0.tar.gz 4065595 BLAKE2B c16252a8a4af77c1c76c80101c30b92536d1677f93898acf4711e910dbbe1072715b83b4564c015592465eb51d00333e55849c3e06b07726ea3522286d8429bf SHA512 3996f19755ccdaac6e92a7455160e1c90a592ffb789d55ddc9d1bdcf1e68e8a6150bcfa1025a322780c04878be8de28e0ad5fdd79a7b25887ed2793b769f6789
 DIST unicorn-2.0.0_rc7.tar.gz 3984228 BLAKE2B a3e6a0d6084780b3a47837a6c8f9df9ec0eb176ff041881fbf2dc879eee11c70796b4f8e4ba784f553e383b8537abe9a559e627afc2fcaf712e83bfc5daaf11c SHA512 ae7e2b35032a8cff516f27edc58ab41708c2acd05b8feebb127501d0bc990a6722ba8439876ea147a2025372500d5df4bd7db86fddf215be63d070218a85a27e

diff --git a/dev-util/unicorn/unicorn-9999.ebuild b/dev-util/unicorn/unicorn-2.0.0.ebuild
similarity index 88%
copy from dev-util/unicorn/unicorn-9999.ebuild
copy to dev-util/unicorn/unicorn-2.0.0.ebuild
index 01c1ff6ba6bf..1f771828950f 100644
--- a/dev-util/unicorn/unicorn-9999.ebuild
+++ b/dev-util/unicorn/unicorn-2.0.0.ebuild
@@ -7,7 +7,7 @@ MY_PV=${PV/_/-}
 
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit cmake distutils-r1
 
 DESCRIPTION="A lightweight multi-platform, multi-architecture CPU emulator framework"
@@ -34,12 +34,12 @@ RDEPEND="python? ( ${PYTHON_DEPS} )"
 BDEPEND="virtual/pkgconfig
 	python? ( ${DISTUTILS_DEPS} )"
 
-UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x"
+UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x tricore"
 
 wrap_python() {
 	if use python; then
 		# src_prepare
-		# do not compile C extensions
+		# Do not compile C extensions
 		export LIBUNICORN_PATH=1
 
 		pushd bindings/python >/dev/null || die
@@ -58,7 +58,7 @@ src_prepare() {
 
 src_configure(){
 	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=$(usex !static-libs)
+		-DBUILD_SHARED_LIBS=yes
 		-DUNICORN_ARCH="${UNICORN_TARGETS// /;}"
 	)
 
@@ -76,5 +76,9 @@ src_compile() {
 src_install() {
 	cmake_src_install
 
+	if ! use static-libs; then
+		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+	fi
+
 	wrap_python ${FUNCNAME}
 }

diff --git a/dev-util/unicorn/unicorn-9999.ebuild b/dev-util/unicorn/unicorn-9999.ebuild
index 01c1ff6ba6bf..1f771828950f 100644
--- a/dev-util/unicorn/unicorn-9999.ebuild
+++ b/dev-util/unicorn/unicorn-9999.ebuild
@@ -7,7 +7,7 @@ MY_PV=${PV/_/-}
 
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit cmake distutils-r1
 
 DESCRIPTION="A lightweight multi-platform, multi-architecture CPU emulator framework"
@@ -34,12 +34,12 @@ RDEPEND="python? ( ${PYTHON_DEPS} )"
 BDEPEND="virtual/pkgconfig
 	python? ( ${DISTUTILS_DEPS} )"
 
-UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x"
+UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x tricore"
 
 wrap_python() {
 	if use python; then
 		# src_prepare
-		# do not compile C extensions
+		# Do not compile C extensions
 		export LIBUNICORN_PATH=1
 
 		pushd bindings/python >/dev/null || die
@@ -58,7 +58,7 @@ src_prepare() {
 
 src_configure(){
 	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=$(usex !static-libs)
+		-DBUILD_SHARED_LIBS=yes
 		-DUNICORN_ARCH="${UNICORN_TARGETS// /;}"
 	)
 
@@ -76,5 +76,9 @@ src_compile() {
 src_install() {
 	cmake_src_install
 
+	if ! use static-libs; then
+		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+	fi
+
 	wrap_python ${FUNCNAME}
 }


             reply	other threads:[~2022-07-09 10:15 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09 10:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10  2:18 [gentoo-commits] repo/gentoo:master commit in: dev-util/unicorn/ Sam James
2025-03-10  2:18 Sam James
2025-02-16 12:47 Sam James
2025-02-16 12:47 Sam James
2025-02-16  6:32 Sam James
2025-02-16  6:32 Sam James
2025-02-16  6:32 Sam James
2024-10-03  9:47 Sam James
2023-09-17 14:58 Arthur Zamarin
2023-09-17 14:58 Arthur Zamarin
2023-04-14 19:43 Sam James
2023-04-14  4:04 Sam James
2023-02-25  5:47 Arthur Zamarin
2023-02-10  8:45 Yixun Lan
2023-02-10  8:45 Yixun Lan
2023-01-14 10:00 Arthur Zamarin
2022-12-27  7:29 Sam James
2022-12-27  7:29 Sam James
2022-11-06  5:43 Sam James
2022-08-04 22:53 Sam James
2022-08-04 22:53 Sam James
2022-07-26  4:26 Sam James
2022-07-09 10:16 Sam James
2022-07-09 10:16 Sam James
2022-06-03  7:10 Michał Górny
2022-05-16  5:26 Sam James
2022-05-16  5:26 Sam James
2022-04-17 16:44 Sam James
2022-03-13  9:23 Matthew Smith
2022-03-13  9:23 Matthew Smith
2022-02-02  1:04 Sam James
2022-01-31  3:19 Sam James
2022-01-28  8:22 Sam James
2022-01-28  5:18 Sam James
2022-01-28  5:18 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657361672.d12375dc8fab5e66fce4132e8d797e6ba1a73c28.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox