From df914e42f82a8f90201b7129edefd8dffa613cfd Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Mon, 9 Mar 2026 10:16:17 +0000 Subject: [PATCH] dev-db/barman: add 3.17.0 Signed-off-by: Patrick Lauer --- dev-db/barman/Manifest | 1 + dev-db/barman/barman-3.17.0.ebuild | 48 ++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-db/barman/barman-3.17.0.ebuild diff --git a/dev-db/barman/Manifest b/dev-db/barman/Manifest index 9add67ee1bab1..62a8e6049c597 100644 --- a/dev-db/barman/Manifest +++ b/dev-db/barman/Manifest @@ -1,2 +1,3 @@ DIST barman-3.15.0.tar.gz 1942470 BLAKE2B 23dd66dd1912524a30aff881609f61a5b17d43b4c5941404e9d47e6d4475640066309067cf97fbb73dd9a90b3fd3664dd120d88432ba2c2749e32a0d7d3acfa3 SHA512 86e840ded02509017c1339f552eec210b380996988cfb6588ce9c543c1bae04d67d29e483653c98ec50cb483259c5c6e8caae1eea2c4c3ba119ea548f6606c82 DIST barman-3.16.1.tar.gz 1959902 BLAKE2B b6376d1acf1e82916085b273ce65673f577f2ccbffc100f47fb6245d19cd3d94b4847f97790611ab9072609d91d5284f035e9c70637454c2bbac7e90964d0bb2 SHA512 bbd6e888dd19bc348885d1f3280d6567950a44ec6e62c9a2de33850c141370ecc6ab3d0095a58ea0c4626b77d4ceba0b7cc491057b9cc34250732399b42c2493 +DIST barman-3.17.0.tar.gz 1975909 BLAKE2B 0023d703ef87e4b26a174425d3abdc4124171f1cc5aa897b47101d2ccf1b878a69126f5f71ba8e59368fc70c336fada675c88fe01c727a6636e2e46b9f0c20c2 SHA512 cc714bde10cd4eb303ddbb99eb302a3cfaf7b27d303c49f652094da0832b4efd1c50006d76735f2d54895b529afc41925882660d2d3b88f880e417793c58eb99 diff --git a/dev-db/barman/barman-3.17.0.ebuild b/dev-db/barman/barman-3.17.0.ebuild new file mode 100644 index 0000000000000..bcd4c3b9b7030 --- /dev/null +++ b/dev-db/barman/barman-3.17.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 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 +}