From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1579026-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3A6AF158013
	for <garchives@archives.gentoo.org>; Tue, 12 Dec 2023 14:47:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ADF562BC031;
	Tue, 12 Dec 2023 14:47:34 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5C37D2BC031
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Dec 2023 14:47:34 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2328A335D6A
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Dec 2023 14:47:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A5ED136E
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Dec 2023 14:47:31 +0000 (UTC)
From: "Richard Freeman" <rich0@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Richard Freeman" <rich0@gentoo.org>
Message-ID: <1702392429.0eef54e7867f958ea881984fa7898a507fa35d74.rich0@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/duplicity/, app-backup/duplicity/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-backup/duplicity/Manifest app-backup/duplicity/duplicity-2.1.4.ebuild app-backup/duplicity/files/duplicity-2.1.4-fix-docs-cmd.patch
X-VCS-Directories: app-backup/duplicity/files/ app-backup/duplicity/
X-VCS-Committer: rich0
X-VCS-Committer-Name: Richard Freeman
X-VCS-Revision: 0eef54e7867f958ea881984fa7898a507fa35d74
X-VCS-Branch: master
Date: Tue, 12 Dec 2023 14:47:31 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 95cffd58-6159-45b2-b9d8-433e27e80c9b
X-Archives-Hash: c6b1a7b279ad5e4262bddd17a06ff155

commit:     0eef54e7867f958ea881984fa7898a507fa35d74
Author:     Jack Todaro <solpeth <AT> posteo <DOT> org>
AuthorDate: Sun Dec 10 21:31:11 2023 +0000
Commit:     Richard Freeman <rich0 <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 14:47:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eef54e7

app-backup/duplicity: add 2.1.4

Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>

 app-backup/duplicity/Manifest                      |  1 +
 app-backup/duplicity/duplicity-2.1.4.ebuild        | 51 ++++++++++++++++++++++
 .../files/duplicity-2.1.4-fix-docs-cmd.patch       | 23 ++++++++++
 3 files changed, 75 insertions(+)

diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
index 3a344fe54bd9..0d6b2badc82f 100644
--- a/app-backup/duplicity/Manifest
+++ b/app-backup/duplicity/Manifest
@@ -3,3 +3,4 @@ DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a
 DIST duplicity-1.2.3.tar.gz 1438570 BLAKE2B 12afa69f537d2207343c1638df1cf69ad3e170b2f1368e5d8b86716ccc67564834798e2076a90f021bae8f1d8574ff50f0615fd873cdcddf1399349974d8d4c2 SHA512 d2a31b4ed2c0a188d6d2ac543d3d4a474b4c10028a3005b26f57bd57e8c7441eb96e361aa9805fedc6aa09e76e86d3d1e99800669dfb7b2510233e2c0aba15de
 DIST duplicity-2.1.0.tar.gz 1502980 BLAKE2B eb90898b75128cd4140f0ab49172da439b675cb512b03c7a449db295ffb6e0beee77773fcf364e69c9303b094ab5572a4bf72fb4fbbbfdec29bc3ab40812ab8f SHA512 c8777903935391b0968aeea562202a175625d6c2cac5cfab422ec0c9c002652b34f14f74a820971a74b2f62c58efea49d37bef3918943210fe623a12278f4ce8
 DIST duplicity-2.1.1.tar.gz 1420132 BLAKE2B 35cfa7c6c2caa647f3b2046783185973203b5d838c0d1a1a8e24982f1c7f74a1d025e0b0740c0c7bc14d516c59d3e691a2712b19b30882e9dbb411cecb90f4be SHA512 fb19b1723e1e220ca72a41c3678ca29d889b2315c7fd043334d55cc2040d991e66480d71c6cc3f2ee5d17d9e1d9fb24ddc4c0ed771bbbefb6f1f6aa14cbe0347
+DIST duplicity-2.1.4.tar.gz 1556341 BLAKE2B d8302a7097519fd593fc05c8390101e615eaf11333e9d15e1ba7756b8ed9764709db80df41c741ee39eda0fa6de22c910b53db32d558c1ab09867c66724a056c SHA512 91804c6f4dc13d700cbe4747317f9611f530996de8a22a0907d714fb6f8a7fadc3371c270a2257c24324c0233bb4501a4b7d33aea7631862568c8530f7173ef1

diff --git a/app-backup/duplicity/duplicity-2.1.4.ebuild b/app-backup/duplicity/duplicity-2.1.4.ebuild
new file mode 100644
index 000000000000..003ceb5ad3d3
--- /dev/null
+++ b/app-backup/duplicity/duplicity-2.1.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_10 python3_11 )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Secure backup system using gnupg to encrypt data"
+HOMEPAGE="https://duplicity.gitlab.io/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="s3 test"
+
+CDEPEND="
+	net-libs/librsync
+	app-crypt/gnupg
+	dev-python/fasteners[${PYTHON_USEDEP}]
+"
+DEPEND="${CDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/setuptools-scm[${PYTHON_USEDEP}]
+	test? (
+		app-arch/par2cmdline
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/pexpect[${PYTHON_USEDEP}]
+	)
+"
+RDEPEND="${CDEPEND}
+	dev-python/paramiko[${PYTHON_USEDEP}]
+	s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
+"
+
+RESTRICT="test"
+
+PATCHES=(
+	"${FILESDIR}/${P}-fix-docs-cmd.patch"
+)
+
+python_test() {
+	esetup.py test
+}
+
+pkg_postinst() {
+	elog "Duplicity has many optional dependencies to support various backends."
+	elog "Currently it's up to you to install them as necessary."
+}

diff --git a/app-backup/duplicity/files/duplicity-2.1.4-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-2.1.4-fix-docs-cmd.patch
new file mode 100644
index 000000000000..367f8e51c483
--- /dev/null
+++ b/app-backup/duplicity/files/duplicity-2.1.4-fix-docs-cmd.patch
@@ -0,0 +1,23 @@
+diff --git a/setup.py b/setup.py
+index 6711c8a1..2bc0bd95 100755
+--- a/setup.py
++++ b/setup.py
+@@ -108,18 +108,6 @@ def get_data_files():
+                 "bin/duplicity.1",
+             ],
+         ),
+-        (
+-            f"share/doc/duplicity-{Version}",
+-            [
+-                "CHANGELOG.md",
+-                "CONTRIBUTING.md",
+-                "COPYING",
+-                "README.md",
+-                "README-LOG.md",
+-                "README-REPO.md",
+-                "README-TESTING.md",
+-            ],
+-        ),
+     ]
+ 
+     # short circuit fot READTHEDOCS