From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C482F15817D for ; Sat, 22 Jun 2024 19:14:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 671512BC0AA; Sat, 22 Jun 2024 19:13:58 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 4A19A2BC0AA for ; Sat, 22 Jun 2024 19:13:58 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43D98335D0F for ; Sat, 22 Jun 2024 19:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFF511D55 for ; Sat, 22 Jun 2024 19:13:53 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1719083390.9f6b1881f36bc7d0e070fb16a149257bace9f9ec.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boxfort/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/boxfort/boxfort-0.1.4-r1.ebuild X-VCS-Directories: dev-libs/boxfort/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 9f6b1881f36bc7d0e070fb16a149257bace9f9ec X-VCS-Branch: master Date: Sat, 22 Jun 2024 19:13:53 +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: e5ceff02-f9ad-4d7c-a809-c22422911acf X-Archives-Hash: 548c5cb540fdb874cc506e3d118c47f6 commit: 9f6b1881f36bc7d0e070fb16a149257bace9f9ec Author: Tomáš Mózes gmail com> AuthorDate: Tue May 28 16:14:01 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jun 22 19:09:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6b1881 dev-libs/boxfort: enable py3.12 Bug: https://bugs.gentoo.org/929406 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/boxfort/boxfort-0.1.4-r1.ebuild | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-libs/boxfort/boxfort-0.1.4-r1.ebuild b/dev-libs/boxfort/boxfort-0.1.4-r1.ebuild new file mode 100644 index 000000000000..c9e74c1383af --- /dev/null +++ b/dev-libs/boxfort/boxfort-0.1.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-any-r1 + +DESCRIPTION="Convenient & cross-platform sandboxing C library" +HOMEPAGE="https://github.com/Snaipe/BoxFort" +SRC_URI="https://github.com/Snaipe/BoxFort/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/BoxFort-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-alpha ~amd64 ~arm ~arm64 -hppa -ia64 -loong -m68k -mips -ppc -ppc64 -riscv -s390 -sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( + $(python_gen_any_dep 'dev-util/cram[${PYTHON_USEDEP}]') + )" +BDEPEND="virtual/pkgconfig" + +python_check_deps() { + use test && has_version "dev-util/cram[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use test samples) + $(meson_use test tests) + ) + + meson_src_configure +}