summaryrefslogtreecommitdiff
path: root/sys-fs/unionfs-fuse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /sys-fs/unionfs-fuse
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'sys-fs/unionfs-fuse')
-rw-r--r--sys-fs/unionfs-fuse/Manifest2
-rw-r--r--sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/unionfs-fuse/Manifest b/sys-fs/unionfs-fuse/Manifest
index 206d1dbce94a..04976f0be425 100644
--- a/sys-fs/unionfs-fuse/Manifest
+++ b/sys-fs/unionfs-fuse/Manifest
@@ -1,4 +1,6 @@
DIST unionfs-fuse-2.1.tar.gz 47917 BLAKE2B c76edbcbff98db28092f61facbdf443eda12ea97770126feac3d590e0f85e51df84308d0eeeebd96e5bafd126b472b0ded6a2ead72cac0fab3614e3cc04730dd SHA512 851e378f8c189d8a84d2a0cf47ce8f1e9cdda5e789a8c0c97aac6e0757c2f6480ca4d931a525bb94cec4af11789073ccda44ad01d7ed02de1c29ded72f578aa0
+DIST unionfs-fuse-2.2.tar.gz 47955 BLAKE2B 44ce19b5b857a571da4722af7d19f4c59a5ca222a9d5d544529ef6c4be5125518ffc62cbbd7b5ac7b88fadd22b8777daf18b23124602f35de1a8a041b27d3cbb SHA512 eaecc203f8fad094221cf16b962e7d32a3aa9b0c945a663ce027aba3b7c4152a4dba8d5e96cb63d147f5ecd216cae29b53de946d74a939cde486dcea95d947df
EBUILD unionfs-fuse-2.1.ebuild 1006 BLAKE2B e84c1581e028696331f8ee1c09e3a3f3327f23904d70d89527b03f32b5e907b571e52c9a6bfb6867dcf4c3d5ef0c3895ff5f33a75144aa9f66494bbaab3f6dd4 SHA512 211c3161df223f7ca0ec848bbe7a4d7d448480a8c3fa8bf1cb84cdd6e61b3d45f25c55df29eda9eb1530b05690c44c27e321ae3e0a3efbd71779357da8d0b260
+EBUILD unionfs-fuse-2.2.ebuild 1006 BLAKE2B e84c1581e028696331f8ee1c09e3a3f3327f23904d70d89527b03f32b5e907b571e52c9a6bfb6867dcf4c3d5ef0c3895ff5f33a75144aa9f66494bbaab3f6dd4 SHA512 211c3161df223f7ca0ec848bbe7a4d7d448480a8c3fa8bf1cb84cdd6e61b3d45f25c55df29eda9eb1530b05690c44c27e321ae3e0a3efbd71779357da8d0b260
EBUILD unionfs-fuse-9999.ebuild 964 BLAKE2B 16297e64d3137ac4562c1ceece6c341ec31a4b53e6b63ea86b59b4ac4986565051b6b4cc858e309b7f035c0d606ddc0ef7001f89ac3408b1b0ad3dc962090919 SHA512 776252949ac73f675d1935f1c3ea24e5801b55c9a2e80b3084c4a05478ee9656d809f917fca7a80141d50cb8713b4aa0c63a9961c5cbeca6a99806974e3fa9aa
MISC metadata.xml 337 BLAKE2B 709342431554e98878806adef0d73e755defdf429a6541b42897f35ffab2764fa895365fed84a5c2a8437ddd5c386b4a51809550e1175eae8afae24d225b59cd SHA512 841cf1eae96b3ccafd75a5fbff6d7fba5e32bf9ab11db352f19b37adcfae30ddcaaa094d9bd4f5d10427f2f2d9c62e2c1454c3999141b64fa3df596c726396c7
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
new file mode 100644
index 000000000000..329020ca1173
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+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:0"
+DEPEND="${RDEPEND}
+ 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
+ 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}"
+}