From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 664E01581CA for ; Sat, 14 Jun 2025 08:40:17 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4609334244F for ; Sat, 14 Jun 2025 08:40:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 37E351104DB; Sat, 14 Jun 2025 08:40:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 26AA01104DB for ; Sat, 14 Jun 2025 08:40:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3A5C342436 for ; Sat, 14 Jun 2025 08:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B8A029A4 for ; Sat, 14 Jun 2025 08:40:14 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1749890067.f85dfe49bcbf221e64f3a8b0c32f630428fa0d35.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/sysbench/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/sysbench/sysbench-1.0.20-r101.ebuild X-VCS-Directories: app-benchmarks/sysbench/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f85dfe49bcbf221e64f3a8b0c32f630428fa0d35 X-VCS-Branch: master Date: Sat, 14 Jun 2025 08:40:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 07f05d84-ef84-43be-a80e-2e78c9ca4027 X-Archives-Hash: 8424f250e97050199160307f6bb9c062 commit: f85dfe49bcbf221e64f3a8b0c32f630428fa0d35 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jun 14 08:28:29 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jun 14 08:34:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85dfe49 app-benchmarks/sysbench: drop python-single-r1.eclass dev-util/cram is used by calling directly `cram` by makefile in 'tests/test_run.sh' file. Therefore, the usage of python eclass isn't required, and we can simplify the ebuild. Signed-off-by: Arthur Zamarin gentoo.org> .../sysbench/sysbench-1.0.20-r101.ebuild | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/app-benchmarks/sysbench/sysbench-1.0.20-r101.ebuild b/app-benchmarks/sysbench/sysbench-1.0.20-r101.ebuild index 40fc5f74aaa6..222a85b2cc0f 100644 --- a/app-benchmarks/sysbench/sysbench-1.0.20-r101.ebuild +++ b/app-benchmarks/sysbench/sysbench-1.0.20-r101.ebuild @@ -4,9 +4,8 @@ EAPI=8 LUA_COMPAT=( luajit ) -PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools lua-single python-single-r1 +inherit autotools lua-single DESCRIPTION="A scriptable multi-threaded benchmark tool based on LuaJIT" HOMEPAGE="https://github.com/akopytov/sysbench" @@ -16,37 +15,27 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="+aio attachsql drizzle +largefile mysql postgres test" -REQUIRED_USE=" - ${LUA_REQUIRED_USE} - ${PYTHON_REQUIRED_USE} -" +REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" RDEPEND=" aio? ( dev-libs/libaio ) mysql? ( dev-db/mysql-connector-c:= ) postgres? ( dev-db/postgresql:= ) - test? ( ${PYTHON_DEPS} ) ${LUA_DEPS} " -DEPEND=" +DEPEND="${RDEPEND} dev-libs/concurrencykit dev-libs/libxslt - test? ( - $(python_gen_cond_dep ' - dev-util/cram[${PYTHON_USEDEP}] - ') - ) - ${RDEPEND} " BDEPEND=" dev-build/libtool virtual/pkgconfig + test? ( dev-util/cram ) " pkg_setup() { lua-single_pkg_setup - use test && python-single-r1_pkg_setup } src_prepare() { @@ -54,6 +43,9 @@ src_prepare() { rm -r third_party/{concurrency_kit/ck,cram,luajit/luajit} || die + # Use system cram for running tests. + sed -i tests/test_run.sh -e 's@$PYTHON $(command -v cram)@cram@' || die + eautoreconf }