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 CDFED158086 for ; Tue, 21 Dec 2021 01:56:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30DAA2BC041; Tue, 21 Dec 2021 01:56:21 +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 269F12BC041 for ; Tue, 21 Dec 2021 01:56:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B8E20342FA0 for ; Tue, 21 Dec 2021 01:56:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E574526A for ; Tue, 21 Dec 2021 01:56:14 +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: <1640051434.ea0704eb86fbb645cca4b31c43fdc1d22a469843.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boxfort/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/boxfort/Manifest dev-libs/boxfort/boxfort-0.1.1.ebuild X-VCS-Directories: dev-libs/boxfort/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ea0704eb86fbb645cca4b31c43fdc1d22a469843 X-VCS-Branch: master Date: Tue, 21 Dec 2021 01:56: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: 3a85fef4-0cdb-4bea-8ae1-502ae2754142 X-Archives-Hash: 558b8207a39c06c544b89bc6f74c52e0 commit: ea0704eb86fbb645cca4b31c43fdc1d22a469843 Author: Tomáš Mózes gmail com> AuthorDate: Sat Dec 18 00:03:47 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Dec 21 01:50:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0704eb dev-libs/boxfort: bump to 0.1.1 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Sam James gentoo.org> dev-libs/boxfort/Manifest | 1 + dev-libs/boxfort/boxfort-0.1.1.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-libs/boxfort/Manifest b/dev-libs/boxfort/Manifest index ba384f8f2aac..6faa393f8a8b 100644 --- a/dev-libs/boxfort/Manifest +++ b/dev-libs/boxfort/Manifest @@ -1 +1,2 @@ DIST boxfort-0.0.1_pre20200902.tar.gz 41643 BLAKE2B 6ac53b632f604ffd6b790a026703a2d64da65fc03cc71ebc3e4da3463e7c5a44ec99e85e3cdac8e5756afaf7d98785955815e194929bbc8dd6b6fd90bfb3fd52 SHA512 96090372f3e546f53f82c515c3f9e557fdd67eb7bc735683b30d8a66c2536cf21261b0467e449ccbd13e914b7cf4ea3da1a37c4108b215d6d0d08cdb68944b1e +DIST boxfort-0.1.1.tar.gz 41993 BLAKE2B b9153a6330cecb781e2b5cd20554df3d0aad277dfc01174fd5d375211896b2912f26a76b0ba6ef7143c7101d844072e1a857caf5a8191893f22c0528c0a203d4 SHA512 48f7a0a52d03f36307271c8f387613dd53aebb19d0379e1758d557b043854c89068776ca4c22e64eb518429dd629c9a082476ecd2a548ac95e6aebef512a50ca diff --git a/dev-libs/boxfort/boxfort-0.1.1.ebuild b/dev-libs/boxfort/boxfort-0.1.1.ebuild new file mode 100644 index 000000000000..45a22331a50f --- /dev/null +++ b/dev-libs/boxfort/boxfort-0.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7..10} ) + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 -riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( + $(python_gen_any_dep 'dev-util/cram[${PYTHON_USEDEP}]') + )" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/BoxFort-${PV}" + +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 +}