commit: 31b179f6cb02416ba67ae9ee1e8b3c937ce6a1ab Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Mon Apr 27 15:20:05 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Apr 27 15:22:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31b179f6
dev-db/rum: New package Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> dev-db/rum/Manifest | 1 + dev-db/rum/metadata.xml | 8 ++++++++ dev-db/rum/rum-1.3.6.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-db/rum/Manifest b/dev-db/rum/Manifest new file mode 100644 index 0000000..b7982a7 --- /dev/null +++ b/dev-db/rum/Manifest @@ -0,0 +1 @@ +DIST rum-1.3.6.tar.gz 306580 BLAKE2B 0462067b7d49deabefb1b2f220e96cf33ea14990f66ee3d62e8d14a8cd4898fc3e8892fa588be39f4c24e063e6ae64789b31f971d0ca75c377aded7370ac031b SHA512 decdf649b7742d082fce6d7151b9f73fe526e444bcec6c1c639740630a5149d63fdbc119a52e03b3ef5bc828d19dab3eb18d12dab24c48f9be3be8f99f5cb295 diff --git a/dev-db/rum/metadata.xml b/dev-db/rum/metadata.xml new file mode 100644 index 0000000..c698af2 --- /dev/null +++ b/dev-db/rum/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cont...@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata> diff --git a/dev-db/rum/rum-1.3.6.ebuild b/dev-db/rum/rum-1.3.6.ebuild new file mode 100644 index 0000000..fe4cc3e --- /dev/null +++ b/dev-db/rum/rum-1.3.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 9.6 10 11 12 ) +POSTGRES_USEDEP="server" + +inherit postgres-multi + +DESCRIPTION="RUM access method - inverted index with additional information in posting lists" +HOMEPAGE="https://github.com/postgrespro/rum" +SRC_URI="https://github.com/postgrespro/rum/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +USE_PGXS=1 + +src_compile() { + postgres-multi_foreach emake USE_PGXS=1 +} + +src_test() { + postgres-multi_foreach emake USE_PGXS=1 installcheck +} + +src_install() { + postgres-multi_foreach emake USE_PGXS=1 DESTDIR="${D}" install +}