Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/plr/
Date: Sat, 24 Sep 2022 20:42:08
Message-Id: 1664052115.0623ecd7939ebe5aaec6053c7dfa2dbf7ac69021.asturm@gentoo
1 commit: 0623ecd7939ebe5aaec6053c7dfa2dbf7ac69021
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 21:35:59 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 20:41:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0623ecd7
7
8 dev-db/plr: drop 8.3.0.17, 8.4.1, EAPI-6--
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-db/plr/Manifest | 2 --
13 dev-db/plr/plr-8.3.0.17.ebuild | 69 ------------------------------------------
14 dev-db/plr/plr-8.4.1.ebuild | 69 ------------------------------------------
15 3 files changed, 140 deletions(-)
16
17 diff --git a/dev-db/plr/Manifest b/dev-db/plr/Manifest
18 index 9098fc212b61..6b8423543b46 100644
19 --- a/dev-db/plr/Manifest
20 +++ b/dev-db/plr/Manifest
21 @@ -1,3 +1 @@
22 -DIST plr-8.3.0.17.tar.gz 74017 BLAKE2B 314b4cfa2c3ca8ed31e80a72233a6dc8cdb9f3811dad6e9f3eb5147c17cdf5a039436598b0fc2b30c6702b02dd3cb2da33543764aee3199c6864aae22be875ce SHA512 d7080c62349d1dcdd17008a7be3643b54678e0f66bf721068df73057394496d025c4fe01e52945c3acf9cc21eb90241512667772ef3fe519a3c9081efe92dd40
23 -DIST plr-8.4.1.tar.gz 265142 BLAKE2B 859913ba14d3e6876eb5a3d7593346b98ab2e1b6c70d9fd9cc7e1810fe11ecb3c552305485735cf975cc41ce2de6cbd7bcf407c9e373fc4024230be797c9899a SHA512 0db407355271009bad95c21f81e544839322f0fa0a63d2abd8edbf9eab8f61e208a3e4f7083729cc8247411885197ff3569c88264db0a29b34523dc83bbed7ec
24 DIST plr-8.4.5.tar.gz 273711 BLAKE2B 666941f1cbc7e74dee532b928102afda4684b344f3c69a6ac4e3449c057e8f4dbb74b765f4222bb06e61940fa1e4ba888cc60bac193ca43989b557da9d02ceaa SHA512 bb04a8956d1cdc7acb20c89ea3b17be6ee385dac52381ab0f8af7446480fa9b8d163ff6697a05b439a75f57841b203e65bea78db8a7c3d55c1118bebbf4ac81a
25
26 diff --git a/dev-db/plr/plr-8.3.0.17.ebuild b/dev-db/plr/plr-8.3.0.17.ebuild
27 deleted file mode 100644
28 index 1b8acb6f6737..000000000000
29 --- a/dev-db/plr/plr-8.3.0.17.ebuild
30 +++ /dev/null
31 @@ -1,69 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -POSTGRES_COMPAT=( 9.6 10 )
38 -POSTGRES_USEDEP="server"
39 -
40 -inherit postgres-multi
41 -
42 -DESCRIPTION="R language extension for postgresql database"
43 -HOMEPAGE="http://www.joeconway.com/plr/"
44 -SRC_URI="https://github.com/postgres-plr/plr/archive/REL${PV//./_}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -
50 -RDEPEND="dev-lang/R
51 - ${POSTGRES_DEP}"
52 -DEPEND="${RDEPEND}
53 - virtual/pkgconfig"
54 -
55 -REQUIRED_USE="${POSTGRES_REQ_USE}"
56 -
57 -S=${WORKDIR}/contrib/${PN}
58 -
59 -src_unpack() {
60 - unpack ${A}
61 - # the build system wants 'contrib' to be part of the path
62 - mkdir -p "${WORKDIR}/contrib"
63 - mv "${WORKDIR}/${PN}-REL${PV//./_}" "${S}"
64 -}
65 -
66 -src_prepare() {
67 - local BUILD_DIR="${S}"
68 - postgres-multi_src_prepare
69 -}
70 -
71 -src_compile() {
72 - pg_src_compile() {
73 - cd "${BUILD_DIR}"
74 - PG_CONFIG="${SYSROOT}${EPREFIX}/usr/$(get_libdir)/postgresql-${MULTIBUILD_ID}/bin/pg_config" \
75 - USE_PGXS=1 \
76 - emake -j1
77 - }
78 - postgres-multi_foreach pg_src_compile
79 -}
80 -
81 -src_install() {
82 - pg_src_install() {
83 - cd "${BUILD_DIR}"
84 - PG_CONFIG="${SYSROOT}${EPREFIX}/usr/$(get_libdir)/postgresql-${MULTIBUILD_ID}/bin/pg_config" \
85 - USE_PGXS=1 \
86 - emake -j1 DESTDIR="${D}" install
87 - }
88 - postgres-multi_foreach pg_src_install
89 -}
90 -
91 -pkg_postinst() {
92 - elog "The plr extension needs to be explicitly added (or 'created') on each database"
93 - elog "you wish to use it with. As of postgresql-9.1 the easiest way to do this is"
94 - elog "with the proprietary SQL statement:"
95 - elog
96 - elog "\tCREATE EXTENSION plr;"
97 - elog
98 - elog "For more info on how to add PL/R to your postgresql database(s), please visit"
99 - elog "http://www.joeconway.com/doc/plr-install.html"
100 -}
101
102 diff --git a/dev-db/plr/plr-8.4.1.ebuild b/dev-db/plr/plr-8.4.1.ebuild
103 deleted file mode 100644
104 index 5f1fb15e848a..000000000000
105 --- a/dev-db/plr/plr-8.4.1.ebuild
106 +++ /dev/null
107 @@ -1,69 +0,0 @@
108 -# Copyright 1999-2021 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=6
112 -
113 -POSTGRES_COMPAT=( 9.6 {10..13} )
114 -POSTGRES_USEDEP="server"
115 -
116 -inherit postgres-multi
117 -
118 -DESCRIPTION="R language extension for postgresql database"
119 -HOMEPAGE="http://www.joeconway.com/plr/"
120 -SRC_URI="https://github.com/postgres-plr/plr/archive/REL${PV//./_}.tar.gz -> ${P}.tar.gz"
121 -
122 -LICENSE="GPL-2"
123 -SLOT="0"
124 -KEYWORDS="~amd64"
125 -
126 -RDEPEND="dev-lang/R
127 - ${POSTGRES_DEP}"
128 -DEPEND="${RDEPEND}
129 - virtual/pkgconfig"
130 -
131 -REQUIRED_USE="${POSTGRES_REQ_USE}"
132 -
133 -S=${WORKDIR}/contrib/${PN}
134 -
135 -src_unpack() {
136 - unpack ${A}
137 - # the build system wants 'contrib' to be part of the path
138 - mkdir -p "${WORKDIR}/contrib"
139 - mv "${WORKDIR}/${PN}-REL${PV//./_}" "${S}"
140 -}
141 -
142 -src_prepare() {
143 - local BUILD_DIR="${S}"
144 - postgres-multi_src_prepare
145 -}
146 -
147 -src_compile() {
148 - pg_src_compile() {
149 - cd "${BUILD_DIR}"
150 - PG_CONFIG="${SYSROOT}${EPREFIX}/usr/$(get_libdir)/postgresql-${MULTIBUILD_ID}/bin/pg_config" \
151 - USE_PGXS=1 \
152 - emake -j1
153 - }
154 - postgres-multi_foreach pg_src_compile
155 -}
156 -
157 -src_install() {
158 - pg_src_install() {
159 - cd "${BUILD_DIR}"
160 - PG_CONFIG="${SYSROOT}${EPREFIX}/usr/$(get_libdir)/postgresql-${MULTIBUILD_ID}/bin/pg_config" \
161 - USE_PGXS=1 \
162 - emake -j1 DESTDIR="${D}" install
163 - }
164 - postgres-multi_foreach pg_src_install
165 -}
166 -
167 -pkg_postinst() {
168 - elog "The plr extension needs to be explicitly added (or 'created') on each database"
169 - elog "you wish to use it with. As of postgresql-9.1 the easiest way to do this is"
170 - elog "with the proprietary SQL statement:"
171 - elog
172 - elog "\tCREATE EXTENSION plr;"
173 - elog
174 - elog "For more info on how to add PL/R to your postgresql database(s), please visit"
175 - elog "http://www.joeconway.com/doc/plr-install.html"
176 -}