]> jturnerusa.dev Git - ebuilds/commitdiff
dev-vcs/bup: new ebuild
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 11 Jan 2023 06:43:47 +0000 (01:43 -0500)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Sat, 14 Jan 2023 05:59:13 +0000 (00:59 -0500)
dev-vcs/bup/Manifest [new file with mode: 0644]
dev-vcs/bup/bup-0.33.ebuild [new file with mode: 0644]

diff --git a/dev-vcs/bup/Manifest b/dev-vcs/bup/Manifest
new file mode 100644 (file)
index 0000000..1aab412
--- /dev/null
@@ -0,0 +1 @@
+DIST bup-0.33.tar.gz 470947 BLAKE2B 1368c4ba04f87acb913e56e2626ff895e5953f7799a055a7cfe983d7398ca6e69f46d0e15fad7d1b2eccb3ebbe186a08cacc2076b4867fa5fa5df57302100b74 SHA512 e2815686ea6a5d36d3732bba680b6615b72c063d7d2c53b4af3f2080a5ba8a5a4d204b7fa450391078b7b76501879722d324fedcdb5d7ad77d08a716d2472a10
diff --git a/dev-vcs/bup/bup-0.33.ebuild b/dev-vcs/bup/bup-0.33.ebuild
new file mode 100644 (file)
index 0000000..790da26
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=(python3_{10,11})
+
+inherit python-single-r1
+
+DESCRIPTION="Efficient backup system based on git packfiles"
+HOMEPAGE="https://bup.github.io/"
+SRC_URI="https://github.com/bup/bup/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="par2 web fuse"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-vcs/git
+       sys-libs/readline:0
+       par2? ( app-arch/par2cmdline )
+       $(python_gen_cond_dep '
+               dev-python/pyxattr[${PYTHON_USEDEP}]
+               fuse? ( dev-python/fuse-python[${PYTHON_USEDEP}] )
+               web? ( www-servers/tornado[${PYTHON_USEDEP}] )
+       ')"
+
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       true
+}
+
+src_compile() {
+       emake PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}