mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-libs/boxfort: drop old
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23398 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit meson python-any-r1
|
||||
|
||||
BOXFORT_COMMIT="ac0507b3f45fe58100b528baeb8ca04270b4a8ff"
|
||||
|
||||
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 -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~x86"
|
||||
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() {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user