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 | |
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')
-rw-r--r-- | dev-libs/boxfort/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/boxfort/boxfort-0.1.4.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/boxfort/Manifest b/dev-libs/boxfort/Manifest index ff812d8246ad..5d8fce31e835 100644 --- a/dev-libs/boxfort/Manifest +++ b/dev-libs/boxfort/Manifest @@ -1,3 +1,4 @@ DIST boxfort-0.1.1.tar.gz 41993 BLAKE2B b9153a6330cecb781e2b5cd20554df3d0aad277dfc01174fd5d375211896b2912f26a76b0ba6ef7143c7101d844072e1a857caf5a8191893f22c0528c0a203d4 SHA512 48f7a0a52d03f36307271c8f387613dd53aebb19d0379e1758d557b043854c89068776ca4c22e64eb518429dd629c9a082476ecd2a548ac95e6aebef512a50ca DIST boxfort-0.1.2.tar.gz 42671 BLAKE2B 1053095fb6ffa16353fc9d34f99e556aa10fc05d1bd103e9cd6c0a4c332c09951e563ccb61ee8fcd983c247b3e9d2b7611f5f503d4d1bf5394103cc70aeccf60 SHA512 c381eb9a0947a9f8f2cbbb2db6bbaf76f1c328b5637bdd1d823590ead098bd741e015e415f49c55590b4f4fee3be19c5e23661df5fbbdc9a4a05c82d7c3293e5 DIST boxfort-0.1.3.tar.gz 42968 BLAKE2B 973fac409567777a4b99597c2a158aada0f41c7e1544f858609c6bf4a6e93295019c9adfedd3e42559b23111d157944d08d62001a39bcea4695ea437924d05fa SHA512 07e26716204b9ee82332d34889b09b9560c28e00a831e15cec70b9105e95657f2e2b6255c718530d3a36e129c811c76462044fb76985feec2e71645b5e348bf2 +DIST boxfort-0.1.4.tar.gz 43011 BLAKE2B a925d21d4f29e0720ae66c6d5ac1a1d0b9c3f779a5ad0689aa6a058815852cfe04a7400daff1467b87df8c07a04201a32b4edc4b94358b53a320ddf223af05ac SHA512 0c6fe2ee474013c47d4688e5d1b4813c6265daa89f55e39202dd76676f5d0687c473216dde5236faf5cd246d24c21e232ed82bb5b676a231faadc4231e7aea1b 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 +} |