commit:     6ffca75dcd607125a51bb5a71618ee7917d6c495
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 31 08:32:52 2025 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 08:32:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffca75d

dev-db/barman: add 3.16.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-db/barman/Manifest             |  1 +
 dev-db/barman/barman-3.16.1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-db/barman/Manifest b/dev-db/barman/Manifest
index b0158b5e6c8e..68d24bbc057b 100644
--- a/dev-db/barman/Manifest
+++ b/dev-db/barman/Manifest
@@ -3,3 +3,4 @@ DIST barman-3.13.3.tar.gz 1866213 BLAKE2B 
ba0fa5f2d1dfb8458bd4e023bed31a0092d2e8
 DIST barman-3.14.0.tar.gz 1904103 BLAKE2B 
0acfabfd05192f85e6269888573b2086eb9bb0469363d8217b52dc5943d665d2bc3f1e5e667bf01b2c5d7a8690714bf705972422822c3d64fdc47346cb53f330
 SHA512 
e862f818e74dc3d9efcf2069f319f6672443b681239c3eced36b1d147e7bab94e3397d20111e144fd523e53697843d8070b91c35d339c51db3163684e19500c4
 DIST barman-3.14.1.tar.gz 1905095 BLAKE2B 
e6a90859892a525b531ed6bc8e340b0b73ecf6dd11f45096b1667bd776e051c1266c83765082ddfb0ee22083b2aa1e3986bd0b8408708397a3aba31ab4125cc4
 SHA512 
f87325bb95f8dc45e14381cf10abe4e94b811089361115360e77a8a0d0ec284a5bd01de3bb01fffff0da52290f6a2414e41b45a4a5310692839d7c376f4f4a6e
 DIST barman-3.15.0.tar.gz 1942470 BLAKE2B 
23dd66dd1912524a30aff881609f61a5b17d43b4c5941404e9d47e6d4475640066309067cf97fbb73dd9a90b3fd3664dd120d88432ba2c2749e32a0d7d3acfa3
 SHA512 
86e840ded02509017c1339f552eec210b380996988cfb6588ce9c543c1bae04d67d29e483653c98ec50cb483259c5c6e8caae1eea2c4c3ba119ea548f6606c82
+DIST barman-3.16.1.tar.gz 1959902 BLAKE2B 
b6376d1acf1e82916085b273ce65673f577f2ccbffc100f47fb6245d19cd3d94b4847f97790611ab9072609d91d5284f035e9c70637454c2bbac7e90964d0bb2
 SHA512 
bbd6e888dd19bc348885d1f3280d6567950a44ec6e62c9a2de33850c141370ecc6ab3d0095a58ea0c4626b77d4ceba0b7cc491057b9cc34250732399b42c2493

diff --git a/dev-db/barman/barman-3.16.1.ebuild 
b/dev-db/barman/barman-3.16.1.ebuild
new file mode 100644
index 000000000000..cd01a8f5e3c4
--- /dev/null
+++ b/dev-db/barman/barman-3.16.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{10..13} )
+
+RESTRICT="test" # missing azure sdk
+
+inherit distutils-r1
+
+DESCRIPTION="Administration tool for disaster recovery of PostgreSQL servers"
+HOMEPAGE="https://www.pgbarman.org https://sourceforge.net/projects/pgbarman/";
+SRC_URI="https://github.com/2ndquadrant-it/barman/archive/release/${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-release-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/boto3[${PYTHON_USEDEP}]
+       dev-python/argh[${PYTHON_USEDEP}]
+       dev-python/psycopg:2[${PYTHON_USEDEP}]
+       dev-python/python-dateutil[${PYTHON_USEDEP}]
+       dev-python/argcomplete[${PYTHON_USEDEP}]
+       net-misc/rsync
+       dev-db/postgresql[server]
+"
+
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/pytest-timeout[${PYTHON_USEDEP}]
+               dev-python/python-snappy[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       default
+
+       sed -i -e \
+               "s/^    def test_xlog_segment_mask(.*:/    
@pytest.mark.xfail(reason='Test fails on Gentoo')\n\0/" \
+               tests/test_xlog.py || die
+}

Reply via email to