repo/gentoo:master commit in: app-backup/duplicity/, app-backup/duplicity/files/
"Sam James" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786677331.484b6ab9c20d4c3d0a4d2faca269fd8b0ba9b089.sam@gentoo> |
commit: 484b6ab9c20d4c3d0a4d2faca269fd8b0ba9b089
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 03:15:31 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 03:15:31 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484b6ab9
app-backup/duplicity: add 3.2.0
Now uses python-gnupg though there's still some `gpg` calls so kept
the app-alternatives/gpg dep.
Upstream adopted xdist and fixed tests for that which is very welcome,
so enable that (don't bother seding out the forced args though could
do that later).
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-backup/duplicity/Manifest | 1 +
...duplicity-9999.ebuild => duplicity-3.2.0.ebuild} | 4 +++-
app-backup/duplicity/duplicity-9999.ebuild | 4 +++-
.../files/duplicity-3.2.0-fix-docs-cmd.patch | 21 +++++++++++++++++++++
4 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
index d7aec829321e..b2c3e5ea47e4 100644
--- a/app-backup/duplicity/Manifest
+++ b/app-backup/duplicity/Manifest
@@ -1,2 +1,3 @@
DIST duplicity-rel.3.0.7.tar.bz2 991966 BLAKE2B b0f2b2fafaeb5318631df025ec0e963d2f258704479e484476d273a133189b7435b0ee8a987b6fc6eec7d0a312cc411bbf932c0b294f8e8460caa2c0feb587f1 SHA512 8dc7213197caad1e493d3a2eb34e569cd0eadfa01b7fca8e62e9cc0c2ff79d6c5c1a10805a3d298f224172e4e78e2c02b0ce1d96ff4ec3bb58d5529deb3fb8d2
DIST duplicity-rel.3.1.0.tar.bz2 996110 BLAKE2B 7944d06186b5116487ae72073b45fa02ef0fdb6970f890e7dca23534571d15dc9ea6a0dec2c554d9bdeadce52231dbe52d5468cbb5d6fb67c3c420c9e7e10f49 SHA512 88e4a5e5074a4a69c67ed67279d4a91d6dadd0b890054ad14c722a8e9613d76e175e25b4cddc112487e2a8c14b0732bbb24cc0dfbd1010bbcfe749d459c0a2b8
+DIST duplicity-rel.3.2.0.tar.bz2 1030582 BLAKE2B e8ab7b5944cf25724cafff108664a1dfe60c5188e2a8c35367ff29c3ea60483259040950f0e2550d6396c8de28ad43f7afbaf9278f8d5612af1804821d87a174 SHA512 0ce5f0cfee7b97b4c01610e43cc506edc6af7351b7d8fceb5d54fc01aa0b330dc0023c5dc1494e75f41f7af2cc4f5286ea376ddfe55c59a7e85ebe10803949a5
diff --git a/app-backup/duplicity/duplicity-9999.ebuild b/app-backup/duplicity/duplicity-3.2.0.ebuild
similarity index 94%
copy from app-backup/duplicity/duplicity-9999.ebuild
copy to app-backup/duplicity/duplicity-3.2.0.ebuild
index af49ff89e687..b7f1897587cc 100644
--- a/app-backup/duplicity/duplicity-9999.ebuild
+++ b/app-backup/duplicity/duplicity-3.2.0.ebuild
@@ -31,6 +31,7 @@ COMMON_DEPEND="
net-libs/librsync:=
dev-python/fasteners[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/python-gnupg[${PYTHON_USEDEP}]
"
DEPEND="
${COMMON_DEPEND}
@@ -52,11 +53,12 @@ EPYTEST_DESELECT=(
)
PATCHES=(
- "${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
+ "${FILESDIR}"/${PN}-3.2.0-fix-docs-cmd.patch
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
)
EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
distutils_enable_tests pytest
python_prepare_all() {
diff --git a/app-backup/duplicity/duplicity-9999.ebuild b/app-backup/duplicity/duplicity-9999.ebuild
index af49ff89e687..b7f1897587cc 100644
--- a/app-backup/duplicity/duplicity-9999.ebuild
+++ b/app-backup/duplicity/duplicity-9999.ebuild
@@ -31,6 +31,7 @@ COMMON_DEPEND="
net-libs/librsync:=
dev-python/fasteners[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/python-gnupg[${PYTHON_USEDEP}]
"
DEPEND="
${COMMON_DEPEND}
@@ -52,11 +53,12 @@ EPYTEST_DESELECT=(
)
PATCHES=(
- "${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
+ "${FILESDIR}"/${PN}-3.2.0-fix-docs-cmd.patch
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
)
EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
distutils_enable_tests pytest
python_prepare_all() {
diff --git a/app-backup/duplicity/files/duplicity-3.2.0-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-3.2.0-fix-docs-cmd.patch
new file mode 100644
index 000000000000..b49004c32a06
--- /dev/null
+++ b/app-backup/duplicity/files/duplicity-3.2.0-fix-docs-cmd.patch
@@ -0,0 +1,21 @@
+--- a/setup.py
++++ b/setup.py
+@@ -104,18 +104,6 @@ def get_data_files():
+
+ # static data files
+ data_files = [
+- (
+- f"share/doc/duplicity-{Version}",
+- [
+- "CHANGELOG.md",
+- "AUTHORS.md",
+- "COPYING",
+- "README.md",
+- "README-LOG.md",
+- "README-REPO.md",
+- "README-TESTING.md",
+- ],
+- ),
+ ]
+
+ # generate versioned man page