* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-08-13 7:59 Matthew Smith
0 siblings, 0 replies; 32+ messages in thread
From: Matthew Smith @ 2022-08-13 7:59 UTC (permalink / raw
To: gentoo-commits
commit: b75daa397898424731f796a1b1b4db4f5d65ab4c
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Aug 5 17:40:28 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 07:58:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75daa39
dev-libs/keystone: update PYTHON_COMPAT
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26750
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index 0ab05108b1bc..7b3c15d6842b 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake distutils-r1 llvm
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 0ab05108b1bc..7b3c15d6842b 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake distutils-r1 llvm
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-08-06 11:10 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-08-06 11:10 UTC (permalink / raw
To: gentoo-commits
commit: 7d724276b9e0dd75e2eba078846feb18dee080df
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Aug 4 12:31:28 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 6 11:04:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d724276
dev-libs/keystone: drop 0.9.2-r2
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r2.ebuild | 98 ------------------------------
1 file changed, 98 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r2.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
deleted file mode 100644
index 1ca6a8f4b3fe..000000000000
--- a/dev-libs/keystone/keystone-0.9.2-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake distutils-r1
-
-DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="https://www.keystone-engine.org/"
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-fi
-S="${WORKDIR}"/${P/_rc/-rc}
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# Keep in sync with llvm/CMakeLists.txt
-KEYSTONE_TARGETS="AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86"
-
-IUSE="python"
-
-RDEPEND="
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- python?
- (
- ${DISTUTILS_DEPS}
- ${PYTHON_DEPS}
- )
-"
-
-RESTRICT=test # only regression tests
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-# Upstream doesn't flag patch releases (bug 858395)
-QA_PKGCONFIG_VERSION="$(ver_cut 1-2)"
-
-wrap_python() {
- if use python; then
- pushd bindings/python >/dev/null || die
- distutils-r1_${1} "$@"
- popd >/dev/null || die
- fi
-}
-
-pkg_setup() {
- python_setup
-}
-
-src_prepare() {
- default
-
- sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
- llvm/CMakeLists.txt || die
- cmake_src_prepare
- wrap_python ${FUNCNAME}
-}
-
-src_configure() {
- local libdir="$(get_libdir)"
- local mycmakeargs=(
- -DCMAKE_CONFIGURATION_TYPES="Gentoo"
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${KEYSTONE_TARGETS// /;}"
- -DLLVM_HOST_TRIPLE="${CHOST}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- )
-
- 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] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-08-06 11:10 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-08-06 11:10 UTC (permalink / raw
To: gentoo-commits
commit: 40caf45c522289adbbc95fe46c17d660379c19d0
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Aug 4 12:32:05 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 6 11:04:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40caf45c
dev-libs/keystone: enable py3.13
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/37950
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r3.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index 0edae53eacbe..3ac8106f976a 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake distutils-r1 flag-o-matic
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index c1e7b73fa5d4..a44f6c75a455 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake distutils-r1 flag-o-matic
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-03-01 3:54 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-03-01 3:54 UTC (permalink / raw
To: gentoo-commits
commit: aed53bca3e473c593159ee31f1b98ce68a45b85a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 1 03:54:17 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 03:54:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed53bca
dev-libs/keystone: filter LTO (ODR violations)
The ODR violations are in a bundled copy of LLVM and upstream seems to have
low activity, and no release in 4 years.
Closes: https://bugs.gentoo.org/924866
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r3.ebuild | 5 ++++-
dev-libs/keystone/keystone-9999.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index bfc2d7d6fa78..0edae53eacbe 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake distutils-r1
+inherit cmake distutils-r1 flag-o-matic
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
@@ -75,6 +75,9 @@ src_prepare() {
}
src_configure() {
+ # ODR violations in bundled LLVM (bug #924866)
+ filter-lto
+
local libdir="$(get_libdir)"
local mycmakeargs=(
-DCMAKE_CONFIGURATION_TYPES="Gentoo"
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 8d3497ec3aed..c1e7b73fa5d4 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake distutils-r1
+inherit cmake distutils-r1 flag-o-matic
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
@@ -71,6 +71,9 @@ src_prepare() {
}
src_configure() {
+ # ODR violations in bundled LLVM (bug #924866)
+ filter-lto
+
local libdir="$(get_libdir)"
local mycmakeargs=(
-DCMAKE_CONFIGURATION_TYPES="Gentoo"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-02-15 7:07 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2024-02-15 7:07 UTC (permalink / raw
To: gentoo-commits
commit: 3ac3d9370f4d2500180b4a0f7edfd483960e181f
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 07:01:21 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 07:01:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac3d937
dev-libs/keystone: Stabilize 0.9.2-r3 amd64, #924605
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index dbf48e8a5c90..bfc2d7d6fa78 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-02-15 7:00 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2024-02-15 7:00 UTC (permalink / raw
To: gentoo-commits
commit: 8479f766ecaee775273bec46039f21e757f15192
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 06:59:20 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 06:59:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8479f766
dev-libs/keystone: Stabilize 0.9.2-r3 x86, #924605
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index 8e961f5914eb..dbf48e8a5c90 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-01-08 13:50 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2024-01-08 13:50 UTC (permalink / raw
To: gentoo-commits
commit: 0e49d29f39242f1a778c866f3d08de338e60019d
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Oct 8 11:57:24 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 13:50:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e49d29f
dev-libs/keystone: remove unused USE flag
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r2.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
index 87eec63b08e6..c2d1d442989f 100644
--- a/dev-libs/keystone/keystone-0.9.2-r2.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
@@ -28,7 +28,7 @@ SLOT="0"
# Keep in sync with llvm/CMakeLists.txt
KEYSTONE_TARGETS="AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86"
-IUSE="debug python"
+IUSE="python"
RDEPEND="
python? ( ${PYTHON_DEPS} )
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2024-01-08 13:50 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2024-01-08 13:50 UTC (permalink / raw
To: gentoo-commits
commit: 9584a494967963f64ed574ac0c54ca0b6d540569
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Oct 8 12:14:06 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 13:50:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9584a494
dev-libs/keystone: sync live
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/33246
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r2.ebuild | 2 +-
dev-libs/keystone/keystone-0.9.2-r3.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 6 ++----
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r2.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
index c2d1d442989f..1ca6a8f4b3fe 100644
--- a/dev-libs/keystone/keystone-0.9.2-r2.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/dev-libs/keystone/keystone-0.9.2-r3.ebuild b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
index 70454b0a3b8e..8e961f5914eb 100644
--- a/dev-libs/keystone/keystone-0.9.2-r3.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 39bfca3c6387..8d3497ec3aed 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ SLOT="0"
# Keep in sync with llvm/CMakeLists.txt
KEYSTONE_TARGETS="AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86"
-IUSE="debug python"
+IUSE="python"
RDEPEND="
python? ( ${PYTHON_DEPS} )
@@ -64,8 +64,6 @@ pkg_setup() {
}
src_prepare() {
- default
-
sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
llvm/CMakeLists.txt || die
cmake_src_prepare
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-09-18 7:40 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-09-18 7:40 UTC (permalink / raw
To: gentoo-commits
commit: 74eee26c9a00e0ad35ec032a18d5a92661c254c3
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sat Sep 16 10:15:46 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 18 07:39:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74eee26c
dev-libs/keystone: enable py3.12
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r2.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r2.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
index 12644c2ca473..87eec63b08e6 100644
--- a/dev-libs/keystone/keystone-0.9.2-r2.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake distutils-r1
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 8cdc8b7a9bae..39bfca3c6387 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake distutils-r1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-28 6:31 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-28 6:31 UTC (permalink / raw
To: gentoo-commits
commit: 18901e3f2ee71a9050030e33ab9a0913c1d77a2e
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Apr 27 21:24:47 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 06:31:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18901e3f
dev-libs/keystone: remove llvm.eclass
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30782
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r2.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r2.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
index 7298fa032259..12644c2ca473 100644
--- a/dev-libs/keystone/keystone-0.9.2-r2.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake distutils-r1 llvm
+inherit cmake distutils-r1
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index aec73814fd16..8cdc8b7a9bae 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake distutils-r1 llvm
+inherit cmake distutils-r1
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-28 6:31 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-28 6:31 UTC (permalink / raw
To: gentoo-commits
commit: f236072f139a77e9eff920710007f305c782cfad
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Apr 27 21:24:27 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 06:31:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f236072f
dev-libs/keystone: drop 0.9.2-r1
Closes: https://bugs.gentoo.org/905164
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 95 ------------------------------
1 file changed, 95 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
deleted file mode 100644
index 04cf7b23ade1..000000000000
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=14
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake distutils-r1 llvm
-
-DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="https://www.keystone-engine.org/"
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-fi
-S="${WORKDIR}"/${P/_rc/-rc}
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-IUSE="python ${ALL_LLVM_TARGETS[*]}"
-
-RDEPEND="
- <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
-
-RESTRICT=test # only regression tests
-
-REQUIRED_USE="
- || ( ${ALL_LLVM_TARGETS[*]} )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-# Upstream doesn't flag patch releases (bug 858395)
-QA_PKGCONFIG_VERSION="$(ver_cut 1-2)"
-
-wrap_python() {
- if use python; then
- pushd bindings/python >/dev/null || die
- distutils-r1_${1} "$@"
- popd >/dev/null || die
- fi
-}
-
-pkg_setup() {
- python_setup
-}
-
-src_prepare() {
- default
-
- sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
- llvm/CMakeLists.txt || die
- cmake_src_prepare
- wrap_python ${FUNCNAME}
-}
-
-src_configure() {
- local libdir="$(get_libdir)"
- local mycmakeargs=(
- -DCMAKE_CONFIGURATION_TYPES="Gentoo"
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- -DLLVM_HOST_TRIPLE="${CHOST}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- )
-
- 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] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-25 21:30 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-25 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 2a52d587ee6b149e97f67decb9cd64bec7598870
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Apr 25 19:27:34 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 21:26:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a52d587
dev-libs/keystone: remove unnecessary dependency to sys-devel/llvm
LLVM is bundled to the keystone.
Closes: https://bugs.gentoo.org/905008
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30755
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{keystone-9999.ebuild => keystone-0.9.2-r2.ebuild} | 15 +++++----------
dev-libs/keystone/keystone-9999.ebuild | 13 ++++---------
2 files changed, 9 insertions(+), 19 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
similarity index 76%
copy from dev-libs/keystone/keystone-9999.ebuild
copy to dev-libs/keystone/keystone-0.9.2-r2.ebuild
index 0187a48fc4cd..7298fa032259 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r2.ebuild
@@ -3,7 +3,6 @@
EAPI=8
-LLVM_MAX_SLOT=14
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
@@ -19,22 +18,19 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+# Keep in sync with llvm/CMakeLists.txt
+KEYSTONE_TARGETS="AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86"
-IUSE="debug python ${ALL_LLVM_TARGETS[*]}"
+IUSE="debug python"
RDEPEND="
- <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
@@ -49,7 +45,6 @@ BDEPEND="
RESTRICT=test # only regression tests
REQUIRED_USE="
- || ( ${ALL_LLVM_TARGETS[*]} )
python? ( ${PYTHON_REQUIRED_USE} )
"
@@ -83,7 +78,7 @@ src_configure() {
-DCMAKE_CONFIGURATION_TYPES="Gentoo"
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_TARGETS_TO_BUILD="${KEYSTONE_TARGETS// /;}"
-DLLVM_HOST_TRIPLE="${CHOST}"
-DPYTHON_EXECUTABLE="${PYTHON}"
)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 0187a48fc4cd..aec73814fd16 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -3,7 +3,6 @@
EAPI=8
-LLVM_MAX_SLOT=14
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
@@ -26,15 +25,12 @@ S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+# Keep in sync with llvm/CMakeLists.txt
+KEYSTONE_TARGETS="AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86"
-IUSE="debug python ${ALL_LLVM_TARGETS[*]}"
+IUSE="debug python"
RDEPEND="
- <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
@@ -49,7 +45,6 @@ BDEPEND="
RESTRICT=test # only regression tests
REQUIRED_USE="
- || ( ${ALL_LLVM_TARGETS[*]} )
python? ( ${PYTHON_REQUIRED_USE} )
"
@@ -83,7 +78,7 @@ src_configure() {
-DCMAKE_CONFIGURATION_TYPES="Gentoo"
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_TARGETS_TO_BUILD="${KEYSTONE_TARGETS// /;}"
-DLLVM_HOST_TRIPLE="${CHOST}"
-DPYTHON_EXECUTABLE="${PYTHON}"
)
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-25 21:30 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-25 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 4a0585ceaa138e2c21cb08c68cfc2d147cd0db57
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Apr 25 19:26:10 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 21:26:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0585ce
dev-libs/keystone: use DISTUTILS_USE_PEP517
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-9999.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 0bb4e02daf89..0187a48fc4cd 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -4,7 +4,9 @@
EAPI=8
LLVM_MAX_SLOT=14
+DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit cmake distutils-r1 llvm
@@ -29,14 +31,20 @@ ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-IUSE="python ${ALL_LLVM_TARGETS[*]}"
+IUSE="debug python ${ALL_LLVM_TARGETS[*]}"
RDEPEND="
<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
+BDEPEND="
+ python?
+ (
+ ${DISTUTILS_DEPS}
+ ${PYTHON_DEPS}
+ )
+"
RESTRICT=test # only regression tests
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-25 21:30 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-25 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 6fb370be82e75901ccc27d678c579b6f561eb4b7
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Apr 25 19:23:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 21:26:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb370be
dev-libs/keystone: sync KEYWORDS to live template
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-9999.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index a6f8dcdd8897..0bb4e02daf89 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-04-14 4:04 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2023-04-14 4:04 UTC (permalink / raw
To: gentoo-commits
commit: 9de396a6bff77f8bcab8798294f53c7d0ffd0fad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 14 04:02:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 14 04:02:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de396a6
dev-libs/keystone: Keyword 0.9.2-r1 arm64, #888513
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index a76e4f087c1d..04cf7b23ade1 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-01-04 18:36 Arthur Zamarin
0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2023-01-04 18:36 UTC (permalink / raw
To: gentoo-commits
commit: ec3264e65dda21436e84f41af37e1c7f2bce6903
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 18:36:23 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 18:36:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec3264e6
dev-libs/keystone: Stabilize 0.9.2-r1 amd64, #889718
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index a6f8dcdd8897..e9a5d4b06546 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+ KEYWORDS="amd64 ~arm ~ppc64 ~x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2023-01-04 18:36 Arthur Zamarin
0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2023-01-04 18:36 UTC (permalink / raw
To: gentoo-commits
commit: f34ef5c822c4899c518a7cc02fa5a23f2238bf55
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 18:36:24 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 18:36:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34ef5c8
dev-libs/keystone: Stabilize 0.9.2-r1 x86, #889718
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index e9a5d4b06546..6f550da67f74 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~ppc64 ~x86"
+ KEYWORDS="amd64 ~arm ~ppc64 x86"
fi
S="${WORKDIR}"/${P/_rc/-rc}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-10-05 7:16 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2022-10-05 7:16 UTC (permalink / raw
To: gentoo-commits
commit: 8ef7e7967be382f393f7e76e098d31ff13e199fc
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Sep 6 06:59:09 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 5 07:15:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef7e796
dev-libs/keystone: explicitly specify python interpreter for cmake
Closes: https://bugs.gentoo.org/867631
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/27161
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 5 +++++
dev-libs/keystone/keystone-9999.ebuild | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index 68f71673a12f..a6f8dcdd8897 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -56,6 +56,10 @@ wrap_python() {
fi
}
+pkg_setup() {
+ python_setup
+}
+
src_prepare() {
default
@@ -73,6 +77,7 @@ src_configure() {
-DBUILD_SHARED_LIBS=ON
-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-DLLVM_HOST_TRIPLE="${CHOST}"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake_src_configure
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 68f71673a12f..a6f8dcdd8897 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -56,6 +56,10 @@ wrap_python() {
fi
}
+pkg_setup() {
+ python_setup
+}
+
src_prepare() {
default
@@ -73,6 +77,7 @@ src_configure() {
-DBUILD_SHARED_LIBS=ON
-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-DLLVM_HOST_TRIPLE="${CHOST}"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-08-31 1:24 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2022-08-31 1:24 UTC (permalink / raw
To: gentoo-commits
commit: 6d7c8ae8dea485a6dddee667a832e2928eb3f005
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Aug 14 09:33:29 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 01:10:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7c8ae8
dev-libs/keystone: build system requires python during build time
Closes: https://bugs.gentoo.org/765691
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26857
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 1 +
dev-libs/keystone/keystone-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index f54ae624af81..68f71673a12f 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -36,6 +36,7 @@ RDEPEND="
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
RESTRICT=test # only regression tests
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index f54ae624af81..68f71673a12f 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -36,6 +36,7 @@ RDEPEND="
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}"
RESTRICT=test # only regression tests
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-08-13 7:59 Matthew Smith
0 siblings, 0 replies; 32+ messages in thread
From: Matthew Smith @ 2022-08-13 7:59 UTC (permalink / raw
To: gentoo-commits
commit: 9c2c6c5557de138caf4be38dcd672ce589ede0bd
Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 07:57:49 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 07:58:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2c6c55
dev-libs/keystone: add RESTRICT=test
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 2 ++
dev-libs/keystone/keystone-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index 7b3c15d6842b..f54ae624af81 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -37,6 +37,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+RESTRICT=test # only regression tests
+
REQUIRED_USE="
|| ( ${ALL_LLVM_TARGETS[*]} )
python? ( ${PYTHON_REQUIRED_USE} )
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 7b3c15d6842b..f54ae624af81 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -37,6 +37,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+RESTRICT=test # only regression tests
+
REQUIRED_USE="
|| ( ${ALL_LLVM_TARGETS[*]} )
python? ( ${PYTHON_REQUIRED_USE} )
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-08-13 7:59 Matthew Smith
0 siblings, 0 replies; 32+ messages in thread
From: Matthew Smith @ 2022-08-13 7:59 UTC (permalink / raw
To: gentoo-commits
commit: c34f6460db3d724411a48d78747cd55f381eb813
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Aug 5 17:12:25 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 07:58:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34f6460
dev-libs/keystone: fix installed pkg-config file
Closes: https://bugs.gentoo.org/858395
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.2-r1.ebuild | 3 +++
dev-libs/keystone/keystone-9999.ebuild | 3 +++
2 files changed, 6 insertions(+)
diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
index c0221f1ff7a7..0ab05108b1bc 100644
--- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -42,6 +42,9 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
+# Upstream doesn't flag patch releases (bug 858395)
+QA_PKGCONFIG_VERSION="$(ver_cut 1-2)"
+
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index c0221f1ff7a7..0ab05108b1bc 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -42,6 +42,9 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
+# Upstream doesn't flag patch releases (bug 858395)
+QA_PKGCONFIG_VERSION="$(ver_cut 1-2)"
+
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-08-13 7:59 Matthew Smith
0 siblings, 0 replies; 32+ messages in thread
From: Matthew Smith @ 2022-08-13 7:59 UTC (permalink / raw
To: gentoo-commits
commit: 90e8707cfc76d84eeda0d33f40390798f99aafaa
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Aug 5 17:10:42 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 07:58:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e8707c
dev-libs/keystone: add myself as a maintainer
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
dev-libs/keystone/metadata.xml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-libs/keystone/metadata.xml b/dev-libs/keystone/metadata.xml
index 2393af55ec39..3ce5bd725949 100644
--- a/dev-libs/keystone/metadata.xml
+++ b/dev-libs/keystone/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>mario.haustein@hrz.tu-chemnitz.de</email>
+ <name>Mario Haustein</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">keystone-engine/keystone</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2022-04-05 3:08 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2022-04-05 3:08 UTC (permalink / raw
To: gentoo-commits
commit: 240562f9dcc5a49a7a761354807dd6594958d5d3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 5 03:07:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 5 03:07:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240562f9
dev-libs/keystone: support LLVM 13, LLVM 14
Thanks-to: Joonas Niilola <juippis <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{keystone-9999.ebuild => keystone-0.9.2-r1.ebuild} | 10 +++++-----
dev-libs/keystone/keystone-9999.ebuild | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
similarity index 95%
copy from dev-libs/keystone/keystone-9999.ebuild
copy to dev-libs/keystone/keystone-0.9.2-r1.ebuild
index 7ef25cfa1b43..c0221f1ff7a7 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8,9,10} )
@@ -19,6 +19,7 @@ else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
fi
+S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
@@ -41,8 +42,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
-S=${WORKDIR}/${P/_rc/-rc}
-
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
@@ -53,6 +52,7 @@ wrap_python() {
src_prepare() {
default
+
sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
llvm/CMakeLists.txt || die
cmake_src_prepare
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 7ef25cfa1b43..c0221f1ff7a7 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=14
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{8,9,10} )
@@ -19,6 +19,7 @@ else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
fi
+S="${WORKDIR}"/${P/_rc/-rc}
LICENSE="GPL-2"
SLOT="0"
@@ -41,8 +42,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
-S=${WORKDIR}/${P/_rc/-rc}
-
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
@@ -53,6 +52,7 @@ wrap_python() {
src_prepare() {
default
+
sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
llvm/CMakeLists.txt || die
cmake_src_prepare
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2021-11-08 11:25 Michał Górny
0 siblings, 0 replies; 32+ messages in thread
From: Michał Górny @ 2021-11-08 11:25 UTC (permalink / raw
To: gentoo-commits
commit: a792e02453330a75de4a0dfd3e4ebb29669d401a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 8 11:00:08 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 8 11:25:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a792e024
dev-libs/keystone: Remove versions requiring LLVM 10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-libs/keystone/Manifest | 1 -
dev-libs/keystone/keystone-0.9.1-r1.ebuild | 91 ------------------------------
2 files changed, 92 deletions(-)
diff --git a/dev-libs/keystone/Manifest b/dev-libs/keystone/Manifest
index 406bb5c6958..e2b37e04da4 100644
--- a/dev-libs/keystone/Manifest
+++ b/dev-libs/keystone/Manifest
@@ -1,2 +1 @@
-DIST keystone-0.9.1.tar.gz 4326151 BLAKE2B 2d41388f4beeff3c424386c77cb75eeca613c66f80e807035f709822f241ef74f64085260678772580cb82bcceda83b4b3c31b92393f8d70f24d54f77f7ba224 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17
DIST keystone-0.9.2.tar.gz 4433222 BLAKE2B 5654ae6a66ccf6832fbdbb8c1083a2318e413bb833a0fadc4e1374f0de601e3dad9f354b1dec92d9a944621923458e432510299c1b55579ac9bb6b6e90a818de SHA512 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b
diff --git a/dev-libs/keystone/keystone-0.9.1-r1.ebuild b/dev-libs/keystone/keystone-0.9.1-r1.ebuild
deleted file mode 100644
index 7a76969465c..00000000000
--- a/dev-libs/keystone/keystone-0.9.1-r1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit cmake distutils-r1 llvm
-
-DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="https://www.keystone-engine.org/"
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-IUSE="python ${ALL_LLVM_TARGETS[*]}"
-
-LLVM_MAX_SLOT=10
-
-RDEPEND="
- <sys-devel/llvm-11:=
- || (
- sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}]
- )
- python? ( ${PYTHON_DEPS} )
-"
-
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="
- || ( ${ALL_LLVM_TARGETS[*]} )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-S=${WORKDIR}/${P/_rc/-rc}
-
-wrap_python() {
- if use python; then
- pushd bindings/python >/dev/null || die
- distutils-r1_${1} "$@"
- popd >/dev/null || die
- fi
-}
-
-src_prepare() {
- default
- sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
- llvm/CMakeLists.txt || die
- cmake_src_prepare
- wrap_python ${FUNCNAME}
-}
-
-src_configure() {
- local libdir="$(get_libdir)"
- local mycmakeargs=(
- -DCMAKE_CONFIGURATION_TYPES="Gentoo"
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- -DLLVM_HOST_TRIPLE="${CHOST}"
- )
-
- 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] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2021-09-19 5:36 Sam James
0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2021-09-19 5:36 UTC (permalink / raw
To: gentoo-commits
commit: 9d53f0d50a29b02231b0e3237ff5bf6b9bc9d304
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 05:36:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 05:36:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d53f0d5
dev-libs/keystone: add 0.9.2
Closes: https://bugs.gentoo.org/812563
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/keystone/Manifest | 1 +
.../{keystone-9999.ebuild => keystone-0.9.2.ebuild} | 13 +++----------
dev-libs/keystone/keystone-9999.ebuild | 13 +++----------
3 files changed, 7 insertions(+), 20 deletions(-)
diff --git a/dev-libs/keystone/Manifest b/dev-libs/keystone/Manifest
index f661bedc4b7..406bb5c6958 100644
--- a/dev-libs/keystone/Manifest
+++ b/dev-libs/keystone/Manifest
@@ -1 +1,2 @@
DIST keystone-0.9.1.tar.gz 4326151 BLAKE2B 2d41388f4beeff3c424386c77cb75eeca613c66f80e807035f709822f241ef74f64085260678772580cb82bcceda83b4b3c31b92393f8d70f24d54f77f7ba224 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17
+DIST keystone-0.9.2.tar.gz 4433222 BLAKE2B 5654ae6a66ccf6832fbdbb8c1083a2318e413bb833a0fadc4e1374f0de601e3dad9f354b1dec92d9a944621923458e432510299c1b55579ac9bb6b6e90a818de SHA512 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-0.9.2.ebuild
similarity index 88%
copy from dev-libs/keystone/keystone-9999.ebuild
copy to dev-libs/keystone/keystone-0.9.2.ebuild
index 7a76969465c..7ef25cfa1b4 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-0.9.2.ebuild
@@ -3,8 +3,9 @@
EAPI=7
+LLVM_MAX_SLOT=12
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8,9,10} )
inherit cmake distutils-r1 llvm
@@ -29,18 +30,10 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
IUSE="python ${ALL_LLVM_TARGETS[*]}"
-LLVM_MAX_SLOT=10
-
RDEPEND="
- <sys-devel/llvm-11:=
- || (
- sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}]
- )
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
python? ( ${PYTHON_DEPS} )
"
-
DEPEND="${RDEPEND}"
REQUIRED_USE="
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index 7a76969465c..7ef25cfa1b4 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -3,8 +3,9 @@
EAPI=7
+LLVM_MAX_SLOT=12
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8,9,10} )
inherit cmake distutils-r1 llvm
@@ -29,18 +30,10 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
IUSE="python ${ALL_LLVM_TARGETS[*]}"
-LLVM_MAX_SLOT=10
-
RDEPEND="
- <sys-devel/llvm-11:=
- || (
- sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}]
- sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}]
- )
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[${LLVM_TARGET_USEDEPS// /,}]
python? ( ${PYTHON_DEPS} )
"
-
DEPEND="${RDEPEND}"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2021-01-01 0:53 Michał Górny
0 siblings, 0 replies; 32+ messages in thread
From: Michał Górny @ 2021-01-01 0:53 UTC (permalink / raw
To: gentoo-commits
commit: 5037e262cd264367b0afc0dc927f990dab6caf3b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 00:51:32 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 1 00:51:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5037e262
dev-libs/keystone: Remove old (py3.6)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.1.ebuild | 84 ---------------------------------
1 file changed, 84 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.1.ebuild b/dev-libs/keystone/keystone-0.9.1.ebuild
deleted file mode 100644
index 862e1fa1556..00000000000
--- a/dev-libs/keystone/keystone-0.9.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-CMAKE_MIN_VERSION=3.8.7
-PYTHON_COMPAT=( python3_6 )
-
-inherit cmake-utils distutils-r1 llvm
-
-DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="https://www.keystone-engine.org/"
-
-if [[ ${PV} == 9999* ]]; then
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
- inherit git-r3
- KEYWORDS=""
-else
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P/-rc/_rc}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-IUSE="python ${ALL_LLVM_TARGETS[*]}"
-RDEPEND="${PYTHON_DEPS}
-"
-DEPEND="${RDEPEND}"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- || ( ${ALL_LLVM_TARGETS[*]} )
-"
-
-S=${WORKDIR}/${P/_rc/-rc}
-
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-llvm_check_deps() {
- has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
-}
-
-wrap_python() {
- if use python; then
- pushd bindings/python >/dev/null || die
- distutils-r1_${EBUILD_PHASE_FUNC} "$@"
- popd >/dev/null || die
- fi
-}
-
-src_prepare() {
- default
- cmake-utils_src_prepare
- wrap_python
-}
-
-src_configure() {
- local mycmakeargs=(
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-
- -DBUILD_SHARED_LIBS=ON
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- -DLLVM_HOST_TRIPLE="${CHOST}"
- )
-
- cmake-utils_src_configure
- wrap_python
-}
-
-src_compile() {
- cmake-utils_src_compile
- wrap_python
-}
-
-src_install() {
- cmake-utils_src_install
- wrap_python
-}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2020-07-16 14:39 Joonas Niilola
0 siblings, 0 replies; 32+ messages in thread
From: Joonas Niilola @ 2020-07-16 14:39 UTC (permalink / raw
To: gentoo-commits
commit: 7c89c5e2ab8b3a1d67b423bfcdccce9c16dcdee7
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
AuthorDate: Mon Jun 22 16:18:27 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 14:38:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c89c5e2
dev-libs/keystone: drop to maintainer-needed
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/16372
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/keystone/metadata.xml | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/dev-libs/keystone/metadata.xml b/dev-libs/keystone/metadata.xml
index 4283547f970..0e605aea576 100644
--- a/dev-libs/keystone/metadata.xml
+++ b/dev-libs/keystone/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>nemunaire@nemunai.re</email>
- <name>Pierre-Olivier Mercier</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="github">keystone-engine/keystone</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2020-06-28 20:51 Aaron Bauman
0 siblings, 0 replies; 32+ messages in thread
From: Aaron Bauman @ 2020-06-28 20:51 UTC (permalink / raw
To: gentoo-commits
commit: 04b13f4cb1315f8064fd9c3d2fcc2b92e5e61332
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jun 28 15:38:52 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 20:51:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b13f4c
dev-libs/keystone: use HTTPS
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16472
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.1-r1.ebuild | 2 +-
dev-libs/keystone/keystone-0.9.1.ebuild | 2 +-
dev-libs/keystone/keystone-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-libs/keystone/keystone-0.9.1-r1.ebuild b/dev-libs/keystone/keystone-0.9.1-r1.ebuild
index a4863b0bced..b5390fca67d 100644
--- a/dev-libs/keystone/keystone-0.9.1-r1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.1-r1.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake distutils-r1 llvm
DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="http://www.keystone-engine.org/"
+HOMEPAGE="https://www.keystone-engine.org/"
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
diff --git a/dev-libs/keystone/keystone-0.9.1.ebuild b/dev-libs/keystone/keystone-0.9.1.ebuild
index eefe42cfab5..862e1fa1556 100644
--- a/dev-libs/keystone/keystone-0.9.1.ebuild
+++ b/dev-libs/keystone/keystone-0.9.1.ebuild
@@ -10,7 +10,7 @@ PYTHON_COMPAT=( python3_6 )
inherit cmake-utils distutils-r1 llvm
DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="http://www.keystone-engine.org/"
+HOMEPAGE="https://www.keystone-engine.org/"
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index a4863b0bced..b5390fca67d 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake distutils-r1 llvm
DESCRIPTION="assembly/assembler framework + bindings"
-HOMEPAGE="http://www.keystone-engine.org/"
+HOMEPAGE="https://www.keystone-engine.org/"
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2020-06-19 1:33 Georgy Yakovlev
0 siblings, 0 replies; 32+ messages in thread
From: Georgy Yakovlev @ 2020-06-19 1:33 UTC (permalink / raw
To: gentoo-commits
commit: 0d39c4f81f6935808094d2176872a9aa8cd747c4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 01:12:28 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 01:33:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d39c4f8
dev-libs/keystone: revbump, fix a lot of bugs
Issue: https://github.com/gentoo/gentoo/pull/11828
Bug: https://bugs.gentoo.org/685000
Bug: https://bugs.gentoo.org/712354
Bug: https://bugs.gentoo.org/718276
Bug: https://bugs.gentoo.org/652440
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-libs/keystone/keystone-0.9.1-r1.ebuild | 92 ++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/dev-libs/keystone/keystone-0.9.1-r1.ebuild b/dev-libs/keystone/keystone-0.9.1-r1.ebuild
new file mode 100644
index 00000000000..a4863b0bced
--- /dev/null
+++ b/dev-libs/keystone/keystone-0.9.1-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake distutils-r1 llvm
+
+DESCRIPTION="assembly/assembler framework + bindings"
+HOMEPAGE="http://www.keystone-engine.org/"
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
+ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+
+IUSE="python ${ALL_LLVM_TARGETS[*]}"
+
+LLVM_MAX_SLOT=10
+
+RDEPEND="
+ <sys-devel/llvm-11:=
+ || (
+ sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}]
+ sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}]
+ sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}]
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="
+ || ( ${ALL_LLVM_TARGETS[*]} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+S=${WORKDIR}/${P/_rc/-rc}
+
+wrap_python() {
+ if use python; then
+ pushd bindings/python >/dev/null || die
+ distutils-r1_${1} "$@"
+ popd >/dev/null || die
+ fi
+}
+
+src_prepare() {
+ default
+ sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
+ llvm/CMakeLists.txt || die
+ cmake_src_prepare
+ wrap_python ${FUNCNAME}
+}
+
+src_configure() {
+ local libdir="$(get_libdir)"
+ local mycmakeargs=(
+ -DCMAKE_CONFIGURATION_TYPES="Gentoo"
+ -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+ -DBUILD_SHARED_LIBS=ON
+ -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_HOST_TRIPLE="${CHOST}"
+ )
+
+ 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] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2020-06-19 1:33 Georgy Yakovlev
0 siblings, 0 replies; 32+ messages in thread
From: Georgy Yakovlev @ 2020-06-19 1:33 UTC (permalink / raw
To: gentoo-commits
commit: 702b7bba86ac86a7e90b6c8dfa37d90ae9ae4f16
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 00:57:27 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 01:33:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702b7bba
dev-libs/keystone: rework live ebuild
bump to EAPI=7
migrate to cmake.eclass
honor Gentoo CMAKE_BUILD_TYPE
make python truly optional
bump python targets
use llvm.eclass (limit to llvm10 for now)
keyword on ~ppc64
Issue: https://github.com/gentoo/gentoo/pull/11828
Bug: https://bugs.gentoo.org/685000
Bug: https://bugs.gentoo.org/712354
Bug: https://bugs.gentoo.org/718276
Bug: https://bugs.gentoo.org/652440
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-libs/keystone/keystone-9999.ebuild | 41 +++++++++++++++++++++-------------
1 file changed, 26 insertions(+), 15 deletions(-)
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
index dba275576be..a4863b0bced 100644
--- a/dev-libs/keystone/keystone-9999.ebuild
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DISTUTILS_OPTIONAL=1
-CMAKE_MIN_VERSION=3.8.7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-utils distutils-r1
+inherit cmake distutils-r1 llvm
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="http://www.keystone-engine.org/"
@@ -18,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
KEYWORDS=""
else
SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
fi
LICENSE="GPL-2"
@@ -30,19 +29,28 @@ ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
IUSE="python ${ALL_LLVM_TARGETS[*]}"
-RDEPEND="sys-devel/llvm:=[${LLVM_TARGET_USEDEPS// /,}]
- ${PYTHON_DEPS}
+
+LLVM_MAX_SLOT=10
+
+RDEPEND="
+ <sys-devel/llvm-11:=
+ || (
+ sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}]
+ sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}]
+ sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}]
+ )
+ python? ( ${PYTHON_DEPS} )
"
+
DEPEND="${RDEPEND}"
+
REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
|| ( ${ALL_LLVM_TARGETS[*]} )
+ python? ( ${PYTHON_REQUIRED_USE} )
"
S=${WORKDIR}/${P/_rc/-rc}
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
@@ -53,29 +61,32 @@ wrap_python() {
src_prepare() {
default
- cmake-utils_src_prepare
+ sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \
+ llvm/CMakeLists.txt || die
+ cmake_src_prepare
wrap_python ${FUNCNAME}
}
src_configure() {
+ local libdir="$(get_libdir)"
local mycmakeargs=(
+ -DCMAKE_CONFIGURATION_TYPES="Gentoo"
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-
-DBUILD_SHARED_LIBS=ON
-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-DLLVM_HOST_TRIPLE="${CHOST}"
)
- cmake-utils_src_configure
+ cmake_src_configure
wrap_python ${FUNCNAME}
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
wrap_python ${FUNCNAME}
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
wrap_python ${FUNCNAME}
}
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2017-12-16 13:55 Ulrich Müller
0 siblings, 0 replies; 32+ messages in thread
From: Ulrich Müller @ 2017-12-16 13:55 UTC (permalink / raw
To: gentoo-commits
commit: 8938519513c68cb6c1ece91ac1257b37e7f2cb64
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 13:51:36 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 13:54:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89385195
dev-libs/keystone: Update Manifest hashes.
dev-libs/keystone/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/keystone/Manifest b/dev-libs/keystone/Manifest
index 3de2f8ee42a..f661bedc4b7 100644
--- a/dev-libs/keystone/Manifest
+++ b/dev-libs/keystone/Manifest
@@ -1 +1 @@
-DIST keystone-0.9.1.tar.gz 4326151 SHA256 e9d706cd0c19c49a6524b77db8158449b9c434b415fbf94a073968b68cf8a9f0 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17 WHIRLPOOL 8ab5ba40dc3885c09f955f2c00371ccb8e7f655ae24aece318b8abbb734c065c9bff0c7241fb3a222cca2d4940ad517b25b543df632bd3874110b79af54422d4
+DIST keystone-0.9.1.tar.gz 4326151 BLAKE2B 2d41388f4beeff3c424386c77cb75eeca613c66f80e807035f709822f241ef74f64085260678772580cb82bcceda83b4b3c31b92393f8d70f24d54f77f7ba224 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/
@ 2017-12-13 9:03 Patrice Clement
0 siblings, 0 replies; 32+ messages in thread
From: Patrice Clement @ 2017-12-13 9:03 UTC (permalink / raw
To: gentoo-commits
commit: f3fa2458bc070753209d02466378843385e01cee
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
AuthorDate: Fri Sep 1 06:30:46 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 09:03:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3fa2458
dev-libs/keystone: new package.
Keystone is a lightweight multi-platform, multi-architecture assembler
framework.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5577
dev-libs/keystone/Manifest | 1 +
dev-libs/keystone/keystone-0.9.1.ebuild | 84 +++++++++++++++++++++++++++++++++
dev-libs/keystone/keystone-9999.ebuild | 81 +++++++++++++++++++++++++++++++
dev-libs/keystone/metadata.xml | 15 ++++++
4 files changed, 181 insertions(+)
diff --git a/dev-libs/keystone/Manifest b/dev-libs/keystone/Manifest
new file mode 100644
index 00000000000..3de2f8ee42a
--- /dev/null
+++ b/dev-libs/keystone/Manifest
@@ -0,0 +1 @@
+DIST keystone-0.9.1.tar.gz 4326151 SHA256 e9d706cd0c19c49a6524b77db8158449b9c434b415fbf94a073968b68cf8a9f0 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17 WHIRLPOOL 8ab5ba40dc3885c09f955f2c00371ccb8e7f655ae24aece318b8abbb734c065c9bff0c7241fb3a222cca2d4940ad517b25b543df632bd3874110b79af54422d4
diff --git a/dev-libs/keystone/keystone-0.9.1.ebuild b/dev-libs/keystone/keystone-0.9.1.ebuild
new file mode 100644
index 00000000000..58dfd226f04
--- /dev/null
+++ b/dev-libs/keystone/keystone-0.9.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+CMAKE_MIN_VERSION=3.8.7
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit cmake-utils distutils-r1 llvm
+
+DESCRIPTION="assembly/assembler framework + bindings"
+HOMEPAGE="http://www.keystone-engine.org/"
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P/-rc/_rc}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
+ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+
+IUSE="python ${ALL_LLVM_TARGETS[*]}"
+RDEPEND="${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ || ( ${ALL_LLVM_TARGETS[*]} )
+"
+
+S=${WORKDIR}/${P/_rc/-rc}
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+llvm_check_deps() {
+ has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
+}
+
+wrap_python() {
+ if use python; then
+ pushd bindings/python >/dev/null || die
+ distutils-r1_${EBUILD_PHASE_FUNC} "$@"
+ popd >/dev/null || die
+ fi
+}
+
+src_prepare() {
+ default
+ cmake-utils_src_prepare
+ wrap_python
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+
+ -DBUILD_SHARED_LIBS=ON
+ -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_HOST_TRIPLE="${CHOST}"
+ )
+
+ cmake-utils_src_configure
+ wrap_python
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ wrap_python
+}
+
+src_install() {
+ cmake-utils_src_install
+ wrap_python
+}
diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild
new file mode 100644
index 00000000000..f3f700fb660
--- /dev/null
+++ b/dev-libs/keystone/keystone-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+CMAKE_MIN_VERSION=3.8.7
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit cmake-utils distutils-r1
+
+DESCRIPTION="assembly/assembler framework + bindings"
+HOMEPAGE="http://www.keystone-engine.org/"
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm
+ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+
+IUSE="python ${ALL_LLVM_TARGETS[*]}"
+RDEPEND="sys-devel/llvm:=[${LLVM_TARGET_USEDEPS// /,}]
+ ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ || ( ${ALL_LLVM_TARGETS[*]} )
+"
+
+S=${WORKDIR}/${P/_rc/-rc}
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+wrap_python() {
+ if use python; then
+ pushd bindings/python >/dev/null || die
+ distutils-r1_${1} "$@"
+ popd >/dev/null || die
+ fi
+}
+
+src_prepare() {
+ default
+ cmake-utils_src_prepare
+ wrap_python ${FUNCNAME}
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+
+ -DBUILD_SHARED_LIBS=ON
+ -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_HOST_TRIPLE="${CHOST}"
+ )
+
+ cmake-utils_src_configure
+ wrap_python ${FUNCNAME}
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ wrap_python ${FUNCNAME}
+}
+
+src_install() {
+ cmake-utils_src_install
+ wrap_python ${FUNCNAME}
+}
diff --git a/dev-libs/keystone/metadata.xml b/dev-libs/keystone/metadata.xml
new file mode 100644
index 00000000000..4283547f970
--- /dev/null
+++ b/dev-libs/keystone/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nemunaire@nemunai.re</email>
+ <name>Pierre-Olivier Mercier</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">keystone-engine/keystone</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 32+ messages in thread
end of thread, other threads:[~2024-08-06 11:10 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-13 7:59 [gentoo-commits] repo/gentoo:master commit in: dev-libs/keystone/ Matthew Smith
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 11:10 Sam James
2024-08-06 11:10 Sam James
2024-03-01 3:54 Sam James
2024-02-15 7:07 Joonas Niilola
2024-02-15 7:00 Joonas Niilola
2024-01-08 13:50 Joonas Niilola
2024-01-08 13:50 Joonas Niilola
2023-09-18 7:40 Sam James
2023-04-28 6:31 Sam James
2023-04-28 6:31 Sam James
2023-04-25 21:30 Sam James
2023-04-25 21:30 Sam James
2023-04-25 21:30 Sam James
2023-04-14 4:04 Sam James
2023-01-04 18:36 Arthur Zamarin
2023-01-04 18:36 Arthur Zamarin
2022-10-05 7:16 Joonas Niilola
2022-08-31 1:24 Sam James
2022-08-13 7:59 Matthew Smith
2022-08-13 7:59 Matthew Smith
2022-08-13 7:59 Matthew Smith
2022-04-05 3:08 Sam James
2021-11-08 11:25 Michał Górny
2021-09-19 5:36 Sam James
2021-01-01 0:53 Michał Górny
2020-07-16 14:39 Joonas Niilola
2020-06-28 20:51 Aaron Bauman
2020-06-19 1:33 Georgy Yakovlev
2020-06-19 1:33 Georgy Yakovlev
2017-12-16 13:55 Ulrich Müller
2017-12-13 9:03 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox