summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2023-01-11 01:43:47 -0500
committerJohn Turner <jturner.usa+gentoo@gmail.com>2023-01-14 00:59:13 -0500
commita228504f97982efac0df2f7b94156b143572c840 (patch)
tree54d35d0c3375f6aaf930ad958a973d2bab0b0686
parent4851aade54c17b97673627ecc3529711ab647a24 (diff)
downloadebuilds-a228504f97982efac0df2f7b94156b143572c840.tar.gz
dev-vcs/bup: new ebuild
-rw-r--r--dev-vcs/bup/Manifest1
-rw-r--r--dev-vcs/bup/bup-0.33.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-vcs/bup/Manifest b/dev-vcs/bup/Manifest
new file mode 100644
index 0000000..1aab412
--- /dev/null
+++ b/dev-vcs/bup/Manifest
@@ -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
index 0000000..790da26
--- /dev/null
+++ b/dev-vcs/bup/bup-0.33.ebuild
@@ -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
+}