diff options
| author | Simeon Simeonov | 2022-01-29 15:35:32 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2022-01-29 15:35:32 +0100 |
| commit | b9b68e271cdbddae1dacb900ed5162da49dada9f (patch) | |
| tree | 2c4476d64d60a409992449cc625ba5eac68baf56 | |
| parent | 9682c503bdcddc037555d561aa9eb5916ecb60ba (diff) | |
Add Python 3.10 support for app-backup/duplicity
| -rw-r--r-- | app-backup/duplicity/Manifest | 6 | ||||
| -rw-r--r-- | app-backup/duplicity/duplicity-0.8.21-r1.ebuild | 51 | ||||
| -rw-r--r-- | app-backup/duplicity/files/duplicity-0.8.19-fix-docs-cmd.patch | 20 | ||||
| -rw-r--r-- | app-backup/duplicity/files/duplicity-0.8.20-fix-docs-cmd.patch | 20 | ||||
| -rw-r--r-- | app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch | 20 | ||||
| -rw-r--r-- | app-backup/duplicity/metadata.xml | 15 |
6 files changed, 132 insertions, 0 deletions
diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest new file mode 100644 index 0000000..f4fe8bc --- /dev/null +++ b/app-backup/duplicity/Manifest | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | AUX duplicity-0.8.19-fix-docs-cmd.patch 628 BLAKE2B 6acf30fd8881a14003a158e76a23b81af0e049c090c671adbf147c7a77b5ed57e75b9c9b169e38a06fdceb310bdc4f74bacb543a66e5820d3d1ab9951dca997d SHA512 6b2e401d6ce8c2ee41dd1ea8ffaed7602b8167fbf0cf465c214ddf8d1ef8af8b74a1a6c93741c6b34705b53b2caad438736a6ee7c6c3483b11d8ede029758348 | ||
| 2 | AUX duplicity-0.8.20-fix-docs-cmd.patch 628 BLAKE2B 6dbcc6b64b870f798b4bc62730b05b1753688163fd7629326324d7b68d8360b72604380416d53db0042017672d08875cd3c75e8d36554b72b99b52a6bc88c4d3 SHA512 bf9c51a3409ca7b234e3ca83552e378322668ca12c5f3682d796aba765007e86572beab310d0050411894beda85e753e3d6385a1a0bed2cae28212c4d28750dc | ||
| 3 | AUX duplicity-0.8.21-fix-docs-cmd.patch 628 BLAKE2B e43ce23bfa03a78e86a604487b2bc16fe924fcb4044283ea6fb6cc9afa87aa6cee52a4cbefa6a6918b7c98ee3bd914d753f85db6d74c86a615952d0fc2435256 SHA512 13fc15337b8e5bc6b3dff4954b8d0aabcad8b9f1a95c08c367c816fa762c528262427625f8b5ed3ef985e5577e5dea633ae8f78a2aa4f35a3778b2c6fe6f12fc | ||
| 4 | DIST duplicity-0.8.21.tar.gz 1375469 BLAKE2B 15da671b30305415dfafdef50f5f57eaea0d6504a3f35845bf4570bb0cd2d6d3c879e94dda5739f30acd54748ef7abb993405660d24cf96ab919cec08690e015 SHA512 573c79937e4b19e99d167fddaebfd7b747d3c5f240b14e575fecd45a225c6c279d5ce0132645bbefcddcbc688f9d67317a3ec3a0816fcb4ff303b217fe10b012 | ||
| 5 | EBUILD duplicity-0.8.21-r1.ebuild 1213 BLAKE2B fa3a9a805426f89ee7ff09166b46e34bc73965edb7bee84f41fb57b098f937c9a3d1039bf6f8294fe6bfac6a815708923d1e2b81c3913d79731e3d2d832f7cfe SHA512 ba667ac64de5f2a2ca4d52eac2dae2b61d65010d7a30b3da57b7c0921c4b1d60540b9228da24eda50cdb5a945bcf865a6242c5e0a957d44cc87b52b7fa0e0873 | ||
| 6 | MISC metadata.xml 455 BLAKE2B cc38c235e02397d73b26aaddfdbbd872cb7dbe1a777302618e44769e1895b7d7c90e7de7d7cf8a63388e20283fe0f9937da3ed0ffec21d960543220c253fff33 SHA512 0fb009ecd0b771bc8e04980cb1aa49a872193cfa59a0e10966322a9764c1c08d859504afd78f839e7a98a6224e4d1fe20dd6dff549cadda5c7e31b74ed0a82b8 | ||
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 | } | ||
diff --git a/app-backup/duplicity/files/duplicity-0.8.19-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.19-fix-docs-cmd.patch new file mode 100644 index 0000000..afcef7a --- /dev/null +++ b/app-backup/duplicity/files/duplicity-0.8.19-fix-docs-cmd.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | --- duplicity-0.8.19/setup.py 2021-05-10 13:37:38.352142737 -0400 | ||
| 2 | +++ duplicity-0.8.19/setup.py 2021-05-10 13:39:02.829865546 -0400 | ||
| 3 | @@ -93,17 +93,6 @@ | ||
| 4 | u'bin/rdiffdir.1' | ||
| 5 | ] | ||
| 6 | ), | ||
| 7 | - (u'share/doc/duplicity-%s' % Version, | ||
| 8 | - [ | ||
| 9 | - u'AUTHORS', | ||
| 10 | - u'CHANGELOG.md', | ||
| 11 | - u'COPYING', | ||
| 12 | - u'README.md', | ||
| 13 | - u'README-LOG.md', | ||
| 14 | - u'README-REPO.md', | ||
| 15 | - u'README-TESTING.md', | ||
| 16 | - ], | ||
| 17 | - ), | ||
| 18 | ] | ||
| 19 | |||
| 20 | if not os.environ.get(u'READTHEDOCS') == u'True': | ||
diff --git a/app-backup/duplicity/files/duplicity-0.8.20-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.20-fix-docs-cmd.patch new file mode 100644 index 0000000..6ce5860 --- /dev/null +++ b/app-backup/duplicity/files/duplicity-0.8.20-fix-docs-cmd.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | --- duplicity-0.8.20/setup.py 2021-08-05 09:14:41.483669131 -0400 | ||
| 2 | +++ duplicity-0.8.20/setup.py 2021-08-05 09:15:35.086895059 -0400 | ||
| 3 | @@ -94,17 +94,6 @@ | ||
| 4 | u'bin/rdiffdir.1' | ||
| 5 | ] | ||
| 6 | ), | ||
| 7 | - (u'share/doc/duplicity-%s' % Version, | ||
| 8 | - [ | ||
| 9 | - u'AUTHORS', | ||
| 10 | - u'CHANGELOG.md', | ||
| 11 | - u'COPYING', | ||
| 12 | - u'README.md', | ||
| 13 | - u'README-LOG.md', | ||
| 14 | - u'README-REPO.md', | ||
| 15 | - u'README-TESTING.md', | ||
| 16 | - ], | ||
| 17 | - ), | ||
| 18 | ] | ||
| 19 | |||
| 20 | if not os.environ.get(u'READTHEDOCS') == u'True': | ||
diff --git a/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch new file mode 100644 index 0000000..d979490 --- /dev/null +++ b/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | --- duplicity-0.8.21/setup.py 2021-12-07 14:26:58.096082507 -0500 | ||
| 2 | +++ duplicity-0.8.21/setup.py 2021-12-07 14:27:44.915022471 -0500 | ||
| 3 | @@ -94,17 +94,6 @@ | ||
| 4 | u'bin/rdiffdir.1' | ||
| 5 | ] | ||
| 6 | ), | ||
| 7 | - (u'share/doc/duplicity-%s' % Version, | ||
| 8 | - [ | ||
| 9 | - u'AUTHORS', | ||
| 10 | - u'CHANGELOG.md', | ||
| 11 | - u'COPYING', | ||
| 12 | - u'README.md', | ||
| 13 | - u'README-LOG.md', | ||
| 14 | - u'README-REPO.md', | ||
| 15 | - u'README-TESTING.md', | ||
| 16 | - ], | ||
| 17 | - ), | ||
| 18 | ] | ||
| 19 | |||
| 20 | if not os.environ.get(u'READTHEDOCS') == u'True': | ||
diff --git a/app-backup/duplicity/metadata.xml b/app-backup/duplicity/metadata.xml new file mode 100644 index 0000000..9ec1a1b --- /dev/null +++ b/app-backup/duplicity/metadata.xml | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
| 3 | <pkgmetadata> | ||
| 4 | <maintainer type="person"> | ||
| 5 | <email>rich0@gentoo.org</email> | ||
| 6 | <name>Rich Freeman</name> | ||
| 7 | </maintainer> | ||
| 8 | <maintainer type="person" proxied="yes"> | ||
| 9 | <email>gentoo@seichter.de</email> | ||
| 10 | <name>Ralph Seichter</name> | ||
| 11 | </maintainer> | ||
| 12 | <use> | ||
| 13 | <flag name="s3">Support for backing up to the Amazon S3 system</flag> | ||
| 14 | </use> | ||
| 15 | </pkgmetadata> | ||
