From 4744c9fb447adbc64d7bfc7219123b2b4a00e958 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 4 Jun 2022 09:05:44 +0200 Subject: dev-db/barman: Use slot for dev-python/psycopg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-db/barman/barman-2.12-r1.ebuild | 44 +++++++++++++++++++++++++++++++++++++ dev-db/barman/barman-2.12.ebuild | 44 ------------------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 dev-db/barman/barman-2.12-r1.ebuild delete mode 100644 dev-db/barman/barman-2.12.ebuild (limited to 'dev-db/barman') diff --git a/dev-db/barman/barman-2.12-r1.ebuild b/dev-db/barman/barman-2.12-r1.ebuild new file mode 100644 index 000000000000..44e095f92d0f --- /dev/null +++ b/dev-db/barman/barman-2.12-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +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}] + ) +" + +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 +} diff --git a/dev-db/barman/barman-2.12.ebuild b/dev-db/barman/barman-2.12.ebuild deleted file mode 100644 index ce74beef1454..000000000000 --- a/dev-db/barman/barman-2.12.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -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}] - ) -" - -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 -} -- cgit v1.2.3-65-gdbad