diff options
author | Sebastian Pipping <sping@gentoo.org> | 2023-09-24 15:08:37 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2023-09-24 15:08:37 +0200 |
commit | 909dbcd82fd7feaa0616dd151b759e4a9280995c (patch) | |
tree | 6e6a89df53f0f3ddeaa313fea1761e853391cce8 /sys-fs | |
parent | app-editors/emacs: Add missing libXcomposite dependency (diff) | |
download | gentoo-909dbcd82fd7feaa0616dd151b759e4a9280995c.tar.gz gentoo-909dbcd82fd7feaa0616dd151b759e4a9280995c.tar.bz2 gentoo-909dbcd82fd7feaa0616dd151b759e4a9280995c.zip |
sys-fs/unionfs-fuse: 3.4
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/unionfs-fuse/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/unionfs-fuse/unionfs-fuse-3.4.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/unionfs-fuse/Manifest b/sys-fs/unionfs-fuse/Manifest index 4cfaef9c1448..75e7e5c42e46 100644 --- a/sys-fs/unionfs-fuse/Manifest +++ b/sys-fs/unionfs-fuse/Manifest @@ -1,3 +1,4 @@ DIST unionfs-fuse-2.2.tar.gz 47955 BLAKE2B 44ce19b5b857a571da4722af7d19f4c59a5ca222a9d5d544529ef6c4be5125518ffc62cbbd7b5ac7b88fadd22b8777daf18b23124602f35de1a8a041b27d3cbb SHA512 eaecc203f8fad094221cf16b962e7d32a3aa9b0c945a663ce027aba3b7c4152a4dba8d5e96cb63d147f5ecd216cae29b53de946d74a939cde486dcea95d947df DIST unionfs-fuse-3.2.tar.gz 53631 BLAKE2B d9f384d191a6f2d743c31d4d241c0cd576a1e4d4fe21c5c61516f14f3cc807ecb88d2d87dfb89f9160d2ffb2571a98843ec322b922e82ca7166dbd6ce19496c2 SHA512 e9d5b5540e8eefb9de3204798c5bf1ec4481ea6efc9e3f91f3454bfe0c67d623a542f4097d88c7292828703317a0460b4e10ca9e74d1346d5fe69f67f57400b7 DIST unionfs-fuse-3.3.tar.gz 54069 BLAKE2B 2b6346c29318a7b8c31cd611d041bb90eb7c3b4b9cd6ea45006c291cb5346b1947ce4de3ac77d23979962bc72e33b6d5661013856d0fd5109e28d78590dbaea6 SHA512 7c72763af4dbf72bfcbff396fea2a81fb289d7bb2b1e6201d04d583f0245df96863eb50ab91e8dfe9288e61435273eb9fcc6ad5feea4db16baefceb1a382280a +DIST unionfs-fuse-3.4.tar.gz 54122 BLAKE2B 8d578a1bd88814acf5e2d437b06a5f400f38e61ea7c998fe38bb7ca536c9092f07872c4b4ccffc9db834eb8430f3e98c543a66920afab2b2371451c17c247d2c SHA512 fb719c8548ab1fa43f236d5c3207d7e8e7a7dc45efed453e447e29452a7c4d03483c84b00fd615bac115781b333c8171d811b87a0227172010a2ab34224150f7 diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-3.4.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-3.4.ebuild new file mode 100644 index 000000000000..5bc4fe587d8e --- /dev/null +++ b/sys-fs/unionfs-fuse/unionfs-fuse-3.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..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}" +} |