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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA0631382C5 for ; Tue, 15 Jun 2021 14:42:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00E43E0874; Tue, 15 Jun 2021 14:42:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC7A0E086E for ; Tue, 15 Jun 2021 14:42:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDDB9340ECA for ; Tue, 15 Jun 2021 14:42:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D66D67B0 for ; Tue, 15 Jun 2021 14:42:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1623767971.e346ab4ad034a6c5d5d0e5629ea9cb30682b174c.sam@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.0.1_pre20200902-r1.ebuild X-VCS-Directories: dev-libs/boxfort/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e346ab4ad034a6c5d5d0e5629ea9cb30682b174c X-VCS-Branch: master Date: Tue, 15 Jun 2021 14:42:32 +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: c4551453-2922-4fa8-8b45-0868731c04b9 X-Archives-Hash: 236f3610cf0e4da9bab58a13e7ae6b34 commit: e346ab4ad034a6c5d5d0e5629ea9cb30682b174c Author: Tomáš Mózes gmail com> AuthorDate: Tue Jun 15 14:02:11 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 15 14:39:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e346ab4a dev-libs/boxfort: add python3.10 support Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Sam James gentoo.org> .../boxfort/boxfort-0.0.1_pre20200902-r1.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-libs/boxfort/boxfort-0.0.1_pre20200902-r1.ebuild b/dev-libs/boxfort/boxfort-0.0.1_pre20200902-r1.ebuild new file mode 100644 index 00000000000..18bce1975de --- /dev/null +++ b/dev-libs/boxfort/boxfort-0.0.1_pre20200902-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit meson python-any-r1 + +BOXFORT_COMMIT="ac0507b3f45fe58100b528baeb8ca04270b4a8ff" + +DESCRIPTION="Convenient & cross-platform sandboxing C library" +HOMEPAGE="https://github.com/Snaipe/BoxFort" +SRC_URI="https://github.com/Snaipe/BoxFort/archive/${BOXFORT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( + $(python_gen_any_dep 'dev-util/cram[${PYTHON_USEDEP}]') + )" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/BoxFort-${BOXFORT_COMMIT}" + +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=( + -Dsamples=$(usex test true false) + -Dtests=$(usex test true false) + ) + + meson_src_configure +}