commit: 68885d1fda02b66af985ae6c37d700759c7d3659
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 4 20:57:22 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 4 20:57:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68885d1f
app-backup/duplicity: add 3.0.6 (unkeyworded)
Unkeyworded because of test failure and some other upstream bug reports.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-backup/duplicity/Manifest | 1 +
app-backup/duplicity/duplicity-3.0.6.ebuild | 68 +++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
index 307f931a1123..198392c9d2b7 100644
--- a/app-backup/duplicity/Manifest
+++ b/app-backup/duplicity/Manifest
@@ -1 +1,2 @@
DIST duplicity-rel.3.0.5.tar.bz2 952327 BLAKE2B
a5befdcfbca07655b690c681a7858e181029f6432583006872d9a1fe446a157717d6bfdc8462b087d719548ad8e761efb35b37ee23441bd7ed7830cbf5ed1612
SHA512
c57cd0192989ea98ef297aa5eb1e80f32f885af8c035521fffed115e2bd77af187b726a500e8d2e3f4100b00490cc62079dcba4568ca0d17239763477d3e7cb5
+DIST duplicity-rel.3.0.6.tar.bz2 960619 BLAKE2B
9b83008408a3ef5148614e3db1a87f45347cae11455d0f9295570231b0d85fbd987d3724c5623a0713e412ebb496d6ea81ca611c88b769d210e597aca468f934
SHA512
4c385a53a0e70e1d7b6cde564d8ef458a765273583b73375af113a065006fa75204e0596f7a7e4eb3bcb090889548f4c5878a5c744ce5f34f610c0843dea3ce3
diff --git a/app-backup/duplicity/duplicity-3.0.6.ebuild
b/app-backup/duplicity/duplicity-3.0.6.ebuild
new file mode 100644
index 000000000000..63b0f760cfd4
--- /dev/null
+++ b/app-backup/duplicity/duplicity-3.0.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+
+inherit distutils-r1
+
+DESCRIPTION="Secure backup system using gnupg to encrypt data"
+HOMEPAGE="https://duplicity.gitlab.io/"
+SRC_URI="https://gitlab.com/duplicity/duplicity/-/archive/rel.${PV}/${PN}-rel.${PV}.tar.bz2"
+S="${WORKDIR}"/${PN}-rel.${PV}
+
+LICENSE="GPL-3"
+SLOT="0"
+# Unkeyworded because of test failure, see below
+#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="s3 test"
+
+COMMON_DEPEND="
+ net-libs/librsync
+ app-crypt/gnupg
+ dev-python/fasteners[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ || ( app-arch/par2cmdline app-arch/par2cmdline-turbo )
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-python/paramiko[${PYTHON_USEDEP}]
+ s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
+"
+
+EPYTEST_DESELECT=(
+ # Linting tests (black, pylint, etc); not relevant for us
+ testing/test_code.py::CodeTest::test_black
+ testing/test_code.py::CodeTest::test_pep8
+ testing/test_code.py::CodeTest::test_pylint
+ # boto3
+ testing/unit/test_cli_main.py::CommandlineTest::test_intermixed_args
+ # https://gitlab.com/duplicity/duplicity/-/issues/898
+
testing/functional/test_restore.py::RestoreTest::test_restore_to_nonexisting_dir
+)
+
+EPYTEST_IGNORE=(
+ testing/test_code.py
+)
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
+ "${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ elog "Duplicity has many optional dependencies to support various
backends."
+ elog "Currently it's up to you to install them as necessary."
+}