diff options
Diffstat (limited to 'app-backup/duplicity/duplicity-0.8.21-r1.ebuild')
| -rw-r--r-- | app-backup/duplicity/duplicity-0.8.21-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-backup/duplicity/duplicity-0.8.21-r1.ebuild b/app-backup/duplicity/duplicity-0.8.21-r1.ebuild new file mode 100644 index 0000000..b69bdd9 --- /dev/null +++ b/app-backup/duplicity/duplicity-0.8.21-r1.ebuild | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | # Copyright 1999-2022 Gentoo Authors | ||
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | |||
| 4 | EAPI=8 | ||
| 5 | PYTHON_COMPAT=( python3_7 python3_8 python3_9 python3_10 ) | ||
| 6 | |||
| 7 | inherit distutils-r1 | ||
| 8 | |||
| 9 | DESCRIPTION="Secure backup system using gnupg to encrypt data" | ||
| 10 | HOMEPAGE="https://www.nongnu.org/duplicity/" | ||
| 11 | SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz" | ||
| 12 | |||
| 13 | LICENSE="GPL-3" | ||
| 14 | SLOT="0" | ||
| 15 | KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos" | ||
| 16 | IUSE="s3 test" | ||
| 17 | |||
| 18 | CDEPEND=" | ||
| 19 | net-libs/librsync | ||
| 20 | app-crypt/gnupg | ||
| 21 | dev-python/fasteners[${PYTHON_USEDEP}] | ||
| 22 | " | ||
| 23 | DEPEND="${CDEPEND} | ||
| 24 | dev-python/setuptools[${PYTHON_USEDEP}] | ||
| 25 | dev-python/setuptools_scm[${PYTHON_USEDEP}] | ||
| 26 | test? ( | ||
| 27 | app-arch/par2cmdline | ||
| 28 | dev-python/mock[${PYTHON_USEDEP}] | ||
| 29 | dev-python/pexpect[${PYTHON_USEDEP}] | ||
| 30 | ) | ||
| 31 | " | ||
| 32 | RDEPEND="${CDEPEND} | ||
| 33 | dev-python/paramiko[${PYTHON_USEDEP}] | ||
| 34 | dev-python/future[${PYTHON_USEDEP}] | ||
| 35 | s3? ( dev-python/boto[${PYTHON_USEDEP}] ) | ||
| 36 | " | ||
| 37 | |||
| 38 | RESTRICT="test" | ||
| 39 | |||
| 40 | PATCHES=( | ||
| 41 | "${FILESDIR}/${P}-fix-docs-cmd.patch" | ||
| 42 | ) | ||
| 43 | |||
| 44 | python_test() { | ||
| 45 | esetup.py test | ||
| 46 | } | ||
| 47 | |||
| 48 | pkg_postinst() { | ||
| 49 | elog "Duplicity has many optional dependencies to support various backends." | ||
| 50 | elog "Currently it's up to you to install them as necessary." | ||
| 51 | } | ||
