diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2020-01-10 11:15:02 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-01-13 14:53:45 +0200 |
commit | a72bee57426df54457b206befe1f3773545f99db (patch) | |
tree | 93608036bc1e32a52554afe3207bb64323a6bc82 /dev-libs/boxfort | |
parent | net-misc/cni-plugins: fix metadata warning (diff) | |
download | gentoo-a72bee57426df54457b206befe1f3773545f99db.tar.gz gentoo-a72bee57426df54457b206befe1f3773545f99db.tar.bz2 gentoo-a72bee57426df54457b206befe1f3773545f99db.zip |
dev-libs/boxfort: new package
Dependency of dev-libs/criterion
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/boxfort')
-rw-r--r-- | dev-libs/boxfort/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/boxfort/boxfort-0.0.1_pre20200110.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/boxfort/metadata.xml | 15 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/boxfort/Manifest b/dev-libs/boxfort/Manifest new file mode 100644 index 000000000000..3bc02199164c --- /dev/null +++ b/dev-libs/boxfort/Manifest @@ -0,0 +1 @@ +DIST boxfort-1456d9a3a3bcb506cdcd1b5d4b852e967deb5e57.tar.gz 41705 BLAKE2B 89644ecf64e5a5df718fa4f873d21e281c777c893af5a8f71c8a1913270ca6c67dc36113e5d219540bb04c7f9e26be22f7e778bd9bdce230df8c0edf3a707612 SHA512 249b0bd0048c53c74d2b50f1b7caf84b0ac0823679bb6adaade095a2ff26586f14f58cee960610d99dbc38c8196cbdb99143815b14d10b7f13a12f96d309e302 diff --git a/dev-libs/boxfort/boxfort-0.0.1_pre20200110.ebuild b/dev-libs/boxfort/boxfort-0.0.1_pre20200110.ebuild new file mode 100644 index 000000000000..a5088a597a6a --- /dev/null +++ b/dev-libs/boxfort/boxfort-0.0.1_pre20200110.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit meson python-any-r1 + +BOXFORT_COMMIT="1456d9a3a3bcb506cdcd1b5d4b852e967deb5e57" + +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 -> boxfort-${BOXFORT_COMMIT}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +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() { + 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 +} diff --git a/dev-libs/boxfort/metadata.xml b/dev-libs/boxfort/metadata.xml new file mode 100644 index 000000000000..6b226abcada8 --- /dev/null +++ b/dev-libs/boxfort/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">Snaipe/BoxFort</remote-id> + </upstream> +</pkgmetadata> |