dev-db/pg-safeupdate - 1.7 (nest)

Search

Install

Install this version:

emerge -a =dev-db/pg-safeupdate-1.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-db/pg-safeupdate-1.7

Or alternatively:

emerge --autounmask-write -a =dev-db/pg-safeupdate-1.7

Package Information

Description:
PostgreSQL extension that requires criteria for UPDATE and DELETE
Homepage:
https://github.com/eradman/pg-safeupdate
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

POSTGRES_COMPAT=( {14..18} )

inherit postgres-multi

DESCRIPTION="PostgreSQL extension that requires criteria for UPDATE and DELETE"
HOMEPAGE="https://github.com/eradman/pg-safeupdate"
SRC_URI="https://github.com/eradman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # tests needs ephemeralpg

RDEPEND="${POSTGRES_DEP}"
DEPEND="${RDEPEND}"

src_prepare() {
	# fix install
	sed -i '/^PG_CONFIG/d' Makefile || die "sed failed"

	postgres-multi_src_prepare
}

Inherited Eclasses

Manifest for 1.7

Type File Size Source URLs
DIST pg-safeupdate-1.7.tar.gz 4433 bytes https://github.com/eradman/pg-safeupdate/archive/1.7.tar.gz