diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-14 13:44:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-14 13:44:17 +0100 |
commit | 926f46a6d07cdbc78d625b2dfca6a3c27a95b14a (patch) | |
tree | 1de481055ce5c2537ec4e556ec7956fb9f4250e9 /sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | |
parent | fe8b106bd60ab72e98ab836f5c702070805e197e (diff) |
gentoo auto-resync : 14:10:2022 - 13:44:17
Diffstat (limited to 'sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild')
-rw-r--r-- | sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild deleted file mode 100644 index c9ff5e704ff7..000000000000 --- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake meson python-any-r1 systemd - -MY_COMMIT="18e78f70fa6764be4e4f6fcc6ae8d314da7f3a91" - -DESCRIPTION="FUSE filesystem for LXC" -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ https://github.com/lxc/lxcfs/" -SRC_URI="https://github.com/lxc/lxcfs/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 LGPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv ~x86" -IUSE="doc test" - -DEPEND="sys-fs/fuse:3" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/jinja[${PYTHON_USEDEP}] - ') - doc? ( sys-apps/help2man )" - -# Needs some black magic to work inside container/chroot. -RESTRICT="test" - -S="${WORKDIR}/${PN}-${MY_COMMIT}" - -python_check_deps() { - python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" -} - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - - # Fix python shebangs for python-exec[-native-symlinks], #851480 - local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) - python_fix_shebang -q ${shebangs[*]} -} - -src_configure() { - local emesonargs=( - $(meson_use doc docs) - $(meson_use test tests) - - -Dfuse-version=3 - -Dinit-script="" - -Dwith-init-script="" - ) - - meson_src_configure -} - -src_test() { - cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory." - ./main.sh || die -} - -src_install() { - meson_src_install - - newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs - newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs - - # Provide our own service file (copy of upstream) due to paths being different from upstream, - # #728470 - systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service -} |