diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2022-03-15 19:12:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-16 17:32:49 +0000 |
commit | c5784cc6d1408b23afacb0d49ede409476eef6d1 (patch) | |
tree | 4fa34abd795d6a08d35b403ce980a843f4383c72 /dev-libs/boxfort/boxfort-0.1.4.ebuild | |
parent | app-admin/syslog-ng: bump to 3.36.1 (diff) | |
download | gentoo-c5784cc6d1408b23afacb0d49ede409476eef6d1.tar.gz gentoo-c5784cc6d1408b23afacb0d49ede409476eef6d1.tar.bz2 gentoo-c5784cc6d1408b23afacb0d49ede409476eef6d1.zip |
dev-libs/boxfort: bump to 0.1.4
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/boxfort/boxfort-0.1.4.ebuild')
-rw-r--r-- | dev-libs/boxfort/boxfort-0.1.4.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/boxfort/boxfort-0.1.4.ebuild b/dev-libs/boxfort/boxfort-0.1.4.ebuild new file mode 100644 index 000000000000..c1d27a92948b --- /dev/null +++ b/dev-libs/boxfort/boxfort-0.1.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 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" +S="${WORKDIR}"/BoxFort-${PV} + +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" + +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 +} |