1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
7 inherit python-any-r1 git-r3
9 DESCRIPTION="Self-syncing tree-merging file system based on FUSE"
10 HOMEPAGE="https://github.com/rpodgorny/unionfs-fuse"
11 EGIT_REPO_URI="https://github.com/rpodgorny/unionfs-fuse.git"
17 RESTRICT="!test? ( test )"
19 RDEPEND="sys-fs/fuse:0"
22 $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
27 use test && python-any-r1_pkg_setup
32 has_version "dev-python/pytest[${PYTHON_USEDEP}]"
36 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
41 pytest -vv || die "Tests fail with ${EPYTHON}"