diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-11-26 20:59:07 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-11-26 21:05:06 +0100 |
commit | a994a0b2d57f4bf273c7adcc7ccfb96756d11b3a (patch) | |
tree | b0d452ea47d5f7202548505f0475cda5bae36fdd /sys-fs/unionfs-fuse | |
parent | dev-lang/gnat-gpl: drop 2020 (diff) | |
download | gentoo-a994a0b2d57f4bf273c7adcc7ccfb96756d11b3a.tar.gz gentoo-a994a0b2d57f4bf273c7adcc7ccfb96756d11b3a.tar.bz2 gentoo-a994a0b2d57f4bf273c7adcc7ccfb96756d11b3a.zip |
sys-fs/unionfs-fuse: 3.2 + sync 9999
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'sys-fs/unionfs-fuse')
-rw-r--r-- | sys-fs/unionfs-fuse/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/unionfs-fuse/unionfs-fuse-3.2.ebuild | 48 | ||||
-rw-r--r-- | sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild | 4 |
3 files changed, 51 insertions, 2 deletions
diff --git a/sys-fs/unionfs-fuse/Manifest b/sys-fs/unionfs-fuse/Manifest index 57b11dd1ecd5..69ee8200f4bc 100644 --- a/sys-fs/unionfs-fuse/Manifest +++ b/sys-fs/unionfs-fuse/Manifest @@ -1,2 +1,3 @@ DIST unionfs-fuse-2.1.tar.gz 47917 BLAKE2B c76edbcbff98db28092f61facbdf443eda12ea97770126feac3d590e0f85e51df84308d0eeeebd96e5bafd126b472b0ded6a2ead72cac0fab3614e3cc04730dd SHA512 851e378f8c189d8a84d2a0cf47ce8f1e9cdda5e789a8c0c97aac6e0757c2f6480ca4d931a525bb94cec4af11789073ccda44ad01d7ed02de1c29ded72f578aa0 DIST unionfs-fuse-2.2.tar.gz 47955 BLAKE2B 44ce19b5b857a571da4722af7d19f4c59a5ca222a9d5d544529ef6c4be5125518ffc62cbbd7b5ac7b88fadd22b8777daf18b23124602f35de1a8a041b27d3cbb SHA512 eaecc203f8fad094221cf16b962e7d32a3aa9b0c945a663ce027aba3b7c4152a4dba8d5e96cb63d147f5ecd216cae29b53de946d74a939cde486dcea95d947df +DIST unionfs-fuse-3.2.tar.gz 53631 BLAKE2B d9f384d191a6f2d743c31d4d241c0cd576a1e4d4fe21c5c61516f14f3cc807ecb88d2d87dfb89f9160d2ffb2571a98843ec322b922e82ca7166dbd6ce19496c2 SHA512 e9d5b5540e8eefb9de3204798c5bf1ec4481ea6efc9e3f91f3454bfe0c67d623a542f4097d88c7292828703317a0460b4e10ca9e74d1346d5fe69f67f57400b7 diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-3.2.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-3.2.ebuild new file mode 100644 index 000000000000..8a0d27e6c74e --- /dev/null +++ b/sys-fs/unionfs-fuse/unionfs-fuse-3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{8..11} ) +inherit python-any-r1 toolchain-funcs + +DESCRIPTION="Self-syncing tree-merging file system based on FUSE" +HOMEPAGE="https://github.com/rpodgorny/unionfs-fuse" +SRC_URI="https://github.com/rpodgorny/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-fs/fuse:3" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') + ) +" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +python_check_deps() { + use test || return 0 + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" +} + +src_compile() { + emake AR="$(tc-getAR)" CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +} + +src_test() { + [[ -e /dev/fuse ]] || return 0 + addwrite /dev/fuse + pytest -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild index a3bab99e2460..d421380cc576 100644 --- a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild +++ b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild @@ -3,7 +3,7 @@ EAPI="8" -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit git-r3 python-any-r1 toolchain-funcs DESCRIPTION="Self-syncing tree-merging file system based on FUSE" @@ -16,7 +16,7 @@ KEYWORDS="" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND="sys-fs/fuse:0" +RDEPEND="sys-fs/fuse:3" DEPEND="${RDEPEND}" BDEPEND=" test? ( |