dev-db/pg_background: set REQUIRED_USE too, delete redundant phase defs

* Set REQUIRED_USE (eclass doesn't currently 'export' that, only via
  a var).

* Drop redundant phase definitions.

Bug: https://bugs.gentoo.org/978223
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-06-28 16:07:22 +01:00
parent fee901d870
commit beac3a2426
3 changed files with 7 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,10 +12,9 @@ HOMEPAGE="https://github.com/vibhorkum/pg_background"
SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT=0
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${POSTGRES_REQ_USE}"
RESTRICT="test"
DEPEND="${POSTGRES_DEP}"
@@ -27,11 +26,3 @@ src_prepare() {
default
postgres-multi_src_prepare
}
src_compile() {
postgres-multi_foreach emake || die "emake failed"
}
src_install() {
postgres-multi_foreach emake DESTDIR="${D}" install
}

View File

@@ -12,10 +12,9 @@ HOMEPAGE="https://github.com/vibhorkum/pg_background"
SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT=0
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${POSTGRES_REQ_USE}"
RESTRICT="test"
DEPEND="${POSTGRES_DEP}"
@@ -25,11 +24,3 @@ src_prepare() {
default
postgres-multi_src_prepare
}
src_compile() {
postgres-multi_foreach emake || die "emake failed"
}
src_install() {
postgres-multi_foreach emake DESTDIR="${D}" install
}

View File

@@ -12,10 +12,9 @@ HOMEPAGE="https://github.com/vibhorkum/pg_background"
SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT=0
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${POSTGRES_REQ_USE}"
RESTRICT="test"
DEPEND="${POSTGRES_DEP}"
@@ -25,11 +24,3 @@ src_prepare() {
default
postgres-multi_src_prepare
}
src_compile() {
postgres-multi_foreach emake || die "emake failed"
}
src_install() {
postgres-multi_foreach emake DESTDIR="${D}" install
}