Diff boxfort-0.1.1 with a boxfort-0.1.4
/usr/portage/dev-libs/boxfort/boxfort-0.1.4.ebuild 2023-10-09 14:52:29.488368350 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=8 |
|
4 |
EAPI="8" |
|
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_{9..11} ) |
7 | 7 | |
... | ... | |
10 | 10 |
DESCRIPTION="Convenient & cross-platform sandboxing C library" |
11 | 11 |
HOMEPAGE="https://github.com/Snaipe/BoxFort" |
12 | 12 |
SRC_URI="https://github.com/Snaipe/BoxFort/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
13 |
S="${WORKDIR}"/BoxFort-${PV} |
|
13 | 14 | |
14 | 15 |
LICENSE="MIT" |
15 | 16 |
SLOT="0" |
... | ... | |
22 | 23 |
)" |
23 | 24 |
BDEPEND="virtual/pkgconfig" |
24 | 25 | |
25 |
S="${WORKDIR}/BoxFort-${PV}" |
|
26 | ||
27 | 26 |
python_check_deps() { |
28 | 27 |
use test && has_version "dev-util/cram[${PYTHON_USEDEP}]" |
29 | 28 |
} |
... | ... | |
34 | 33 | |
35 | 34 |
src_configure() { |
36 | 35 |
local emesonargs=( |
37 |
-Dsamples=$(usex test true false) |
|
38 |
-Dtests=$(usex test true false) |
|
36 |
$(meson_use test samples) |
|
37 |
$(meson_use test tests) |
|
39 | 38 |
) |
40 | 39 | |
41 | 40 |
meson_src_configure |