summaryrefslogtreecommitdiff
path: root/sys-fs/unionfs-fuse
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/unionfs-fuse')
-rw-r--r--sys-fs/unionfs-fuse/Manifest3
-rw-r--r--sys-fs/unionfs-fuse/unionfs-fuse-3.4-r1.ebuild48
-rw-r--r--sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild3
3 files changed, 51 insertions, 3 deletions
diff --git a/sys-fs/unionfs-fuse/Manifest b/sys-fs/unionfs-fuse/Manifest
index 8c6485114602..59f4ad431e52 100644
--- a/sys-fs/unionfs-fuse/Manifest
+++ b/sys-fs/unionfs-fuse/Manifest
@@ -5,6 +5,7 @@ DIST unionfs-fuse-3.4.tar.gz 54122 BLAKE2B 8d578a1bd88814acf5e2d437b06a5f400f38e
EBUILD unionfs-fuse-2.2-r1.ebuild 1025 BLAKE2B 2e8d689d90bae00dad10bf95f9422cf82c3c07d745ed9d1577bfac5a904ea91b5b086e1f9fd7e16ee1555fddf7b7b3474b071ebd3038082a688dac0796af26db SHA512 66d67ee98410673bf58405f398477351449044937fb9e4c8b23d087c8260d10a5dd9de62058690ee99cbd1a2a9423ba9b62655a9246e9e7f5e23611461f59fb1
EBUILD unionfs-fuse-3.2.ebuild 1025 BLAKE2B 410ed284bc4c2188c8b05e70cd49e9f039f414f6b8a7796591683ef24c1c1bdae77d0415f69f9ed7498cd682abdd2a95dd22d4429c38a313c30a02ff15f5c8ee SHA512 bd1e18474e6733b8e0b3881be25cdfc0b3ae2b5386e3ac9fe8ff51a972097af994d600e574548e168e5d203e4b06e158d81b7096d076d25a0b162fdbf5d7a002
EBUILD unionfs-fuse-3.3.ebuild 1025 BLAKE2B 410ed284bc4c2188c8b05e70cd49e9f039f414f6b8a7796591683ef24c1c1bdae77d0415f69f9ed7498cd682abdd2a95dd22d4429c38a313c30a02ff15f5c8ee SHA512 bd1e18474e6733b8e0b3881be25cdfc0b3ae2b5386e3ac9fe8ff51a972097af994d600e574548e168e5d203e4b06e158d81b7096d076d25a0b162fdbf5d7a002
+EBUILD unionfs-fuse-3.4-r1.ebuild 1025 BLAKE2B 3494e617dea6d62aa927db8c6adf0d8a0cf1714a200e66feb8a0505a23d75e7491c9872cd997247001471ca0f5a6f2642ba494acbf59f70cca7cfba2825376e2 SHA512 8e659c99da89ed545fb05b69cfd4ddd3f9565078ec2356bf4a6a3d5632edd02dc0d8b2253b6ca99cc11d908ef9183a56dd217dd44da614debab28c0344c371a5
EBUILD unionfs-fuse-3.4.ebuild 1025 BLAKE2B 410ed284bc4c2188c8b05e70cd49e9f039f414f6b8a7796591683ef24c1c1bdae77d0415f69f9ed7498cd682abdd2a95dd22d4429c38a313c30a02ff15f5c8ee SHA512 bd1e18474e6733b8e0b3881be25cdfc0b3ae2b5386e3ac9fe8ff51a972097af994d600e574548e168e5d203e4b06e158d81b7096d076d25a0b162fdbf5d7a002
-EBUILD unionfs-fuse-9999.ebuild 990 BLAKE2B 78031d766ac99e765f9228e0de06dedce335cd16561818d60fda1bba7f285e34ed3ac1fa22f5733c3adc0c7e256741f18d7984a39ac4700073c8f8a025fb46a1 SHA512 5bd2d6260698cd5cc6f14d148f264ea2d345e3ebd9405c85d43f886d661252fbc48549f644f9af14558f73b34180db1b326a4060984a37f278f76e4cda6ee1d8
+EBUILD unionfs-fuse-9999.ebuild 978 BLAKE2B 1cf37386909950bdabffbabd242cbd3a13ce22ef3d6957e181578d143f226a496152cc4d62ed8cf2cd9b8100eb44f8a56cdd962827731c0b9e7e612ddc2b742c SHA512 93e70f656eacf2e6b3bae5ac15b434dd1845fd1415d3a05863b7fe7aea6b1ee75f57c6ae4924144ccc59e41e012e9e67fbeb7299f7c95fb952a62c1b9fc98886
MISC metadata.xml 337 BLAKE2B 709342431554e98878806adef0d73e755defdf429a6541b42897f35ffab2764fa895365fed84a5c2a8437ddd5c386b4a51809550e1175eae8afae24d225b59cd SHA512 841cf1eae96b3ccafd75a5fbff6d7fba5e32bf9ab11db352f19b37adcfae30ddcaaa094d9bd4f5d10427f2f2d9c62e2c1454c3999141b64fa3df596c726396c7
diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-3.4-r1.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-3.4-r1.ebuild
new file mode 100644
index 000000000000..d0d835614d1d
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-3.4-r1.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..12} )
+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 08cc90ee0955..8a6b2c8190a1 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_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit git-r3 python-any-r1 toolchain-funcs
DESCRIPTION="Self-syncing tree-merging file system based on FUSE"
@@ -12,7 +12,6 @@ EGIT_REPO_URI="https://github.com/rpodgorny/unionfs-fuse.git"
LICENSE="BSD"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RESTRICT="!test? ( test )"