app-backup/borgbackup: 1.1.10-r1, 9999: man pages added.
authorPiotr Karbowski <slashbeast@gentoo.org>
Sun, 25 Aug 2019 16:32:09 +0000 (18:32 +0200)
committerPiotr Karbowski <slashbeast@gentoo.org>
Sun, 25 Aug 2019 16:35:46 +0000 (18:35 +0200)
Closes: https://bugs.gentoo.org/639722
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
app-backup/borgbackup/borgbackup-1.1.10-r1.ebuild [new file with mode: 0644]
app-backup/borgbackup/borgbackup-9999.ebuild

diff --git a/app-backup/borgbackup/borgbackup-1.1.10-r1.ebuild b/app-backup/borgbackup/borgbackup-1.1.10-r1.ebuild
new file mode 100644 (file)
index 0000000..6b88a3e
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6} )
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/${PN}/borg.git"
+       inherit git-r3
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
+HOMEPAGE="https://borgbackup.readthedocs.io/"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="libressl"
+
+# Unfortunately we have a file conflict with app-office/borg, bug #580402
+RDEPEND="
+       !!app-office/borg
+       app-arch/lz4
+       virtual/acl
+       dev-python/llfuse[${PYTHON_USEDEP}]
+       ~dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
+       dev-python/pyzmq[${PYTHON_USEDEP}]
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+"
+
+DEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       dev-python/cython[${PYTHON_USEDEP}]
+       ${RDEPEND}
+"
+
+python_prepare_all() {
+       # allow use of new (renamed) msgpack
+       sed -i "s|'msgpack-python.*',||g" setup.py || die
+       distutils-r1_python_prepare_all
+}
+
+src_install() {
+       distutils-r1_src_install
+       doman docs/man/*
+}
index e2ccd0dbba7c599147588504fa6d9d6d364e4c4e..81920946717ea6e2ff731de1b793a511754911af 100644 (file)
@@ -47,3 +47,8 @@ python_prepare_all() {
        sed -i "s|'msgpack-python.*',||g" setup.py || die
        distutils-r1_python_prepare_all
 }
+
+src_install() {
+       distutils-r1_src_install
+       doman docs/man/*
+}