1 |
commit: 41c6d1d624bcfdfa812246cb60c74e6a40fd7393 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 11:59:47 2022 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 11:59:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c6d1d6 |
7 |
|
8 |
dev-libs/libpqxx: Cleanup |
9 |
|
10 |
Also fix VariableScope QA: EROOT -> BROOT. |
11 |
|
12 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libpqxx/Manifest | 3 -- |
15 |
dev-libs/libpqxx/libpqxx-7.1.2.ebuild | 78 ----------------------------------- |
16 |
dev-libs/libpqxx/libpqxx-7.2.1.ebuild | 78 ----------------------------------- |
17 |
dev-libs/libpqxx/libpqxx-7.3.0.ebuild | 78 ----------------------------------- |
18 |
dev-libs/libpqxx/libpqxx-7.4.1.ebuild | 6 +-- |
19 |
5 files changed, 3 insertions(+), 240 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/libpqxx/Manifest b/dev-libs/libpqxx/Manifest |
22 |
index d8277f6c1f26..5370aa930b28 100644 |
23 |
--- a/dev-libs/libpqxx/Manifest |
24 |
+++ b/dev-libs/libpqxx/Manifest |
25 |
@@ -1,4 +1 @@ |
26 |
-DIST libpqxx-7.1.2.tar.gz 693152 BLAKE2B da28d0041fc345eb7774eadf0a886e2a89692ac47d870120991aa97328a6be7d10e8cb2d6deb9e056dc7e05b04fd317d9d0fe4dcf8eab901114b27cd64bf4ff6 SHA512 a4a76c62f6115f5898e4c4bb1c6f095284bdb7ae6a1efa45add9efd422d2a8280d1698caa2469acbb087168208ae0fd8efa36c8735a8ce30e58853e27acd4161 |
27 |
-DIST libpqxx-7.2.1.tar.gz 691486 BLAKE2B ef1b12e436e33a26faa8f5acceef8d5ab1063b0618798fdf881fe38ab101da6d78989cc30c1e24f60fd81dd4f4034267e8b220b7b1d1932793028abf7e17c614 SHA512 baaa53f12aa87f512bbbe7494c915242cda8508b43414b79e6cd047dbd61902cbe54cb34af13d75bdccd70bdbafcaca155b4ccb426d8b831bd4df46e9a57e3a2 |
28 |
-DIST libpqxx-7.3.0.tar.gz 694012 BLAKE2B 35770599fcb3131081e08c18d96b753cc6d412c6ea8fddf5617df7da2035cf8ee3a031b7c14d592e0c9560e1e1074e633734337113ed0b3943e519aa44806307 SHA512 897af8e1c0ab12df745116e5387d3c31fb8800b6c599f49413ddcc67df7968fb1922c96896c818ce3f34d9649fb6c1d2ea59784f8765fb765481b156be44eaa2 |
29 |
DIST libpqxx-7.4.1.tar.gz 702581 BLAKE2B 9190b62eaf4cee188e32611acfc938a4111e5ea510df50e424ebd3b6c73fe91dfc8fecd5f889dc2af95756f04c87a410a136cd4b4d6d1f276ce2e5fc26906df3 SHA512 a30a9f5ca87944922c9a3bd92d53392855ac3b2760cb7c21411caf364e443c25d1b2d4b4022e60ff7b30bc530fc3223ab3983325217d47fd7d71375c165c8c21 |
30 |
|
31 |
diff --git a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild b/dev-libs/libpqxx/libpqxx-7.1.2.ebuild |
32 |
deleted file mode 100644 |
33 |
index 1b4ea47de7a3..000000000000 |
34 |
--- a/dev-libs/libpqxx/libpqxx-7.1.2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,78 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-PYTHON_COMPAT=( python3_{7..9} ) |
43 |
-inherit python-any-r1 |
44 |
- |
45 |
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86" |
46 |
- |
47 |
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL" |
48 |
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
-HOMEPAGE="http://pqxx.org/development/libpqxx/" |
50 |
-LICENSE="BSD" |
51 |
-SLOT="0" |
52 |
-IUSE="doc static-libs" |
53 |
- |
54 |
-RDEPEND="dev-db/postgresql:=" |
55 |
-DEPEND="${RDEPEND} |
56 |
- ${PYTHON_DEPS} |
57 |
- doc? ( |
58 |
- app-doc/doxygen |
59 |
- app-text/xmlto |
60 |
- ) |
61 |
-" |
62 |
- |
63 |
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} ) |
64 |
- |
65 |
-src_configure() { |
66 |
- econf \ |
67 |
- --enable-shared \ |
68 |
- $(use_enable doc documentation) \ |
69 |
- $(use_enable static-libs static) |
70 |
-} |
71 |
- |
72 |
-src_test() { |
73 |
- einfo "The tests need a running PostgreSQL server and an existing database." |
74 |
- einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," |
75 |
- einfo "set PGPORT and PGHOST. Define them at the command line or in:" |
76 |
- einfo " ${EROOT}/etc/libpqxx_test_env" |
77 |
- |
78 |
- if [[ -z $PGDATABASE || -z $PGUSER ]] ; then |
79 |
- if [[ -f ${EROOT}/etc/libpqxx_test_env ]] ; then |
80 |
- source "${EROOT}/etc/libpqxx_test_env" |
81 |
- [[ -n $PGDATABASE ]] && export PGDATABASE |
82 |
- [[ -n $PGHOST ]] && export PGHOST |
83 |
- [[ -n $PGPORT ]] && export PGPORT |
84 |
- [[ -n $PGUSER ]] && export PGUSER |
85 |
- fi |
86 |
- fi |
87 |
- |
88 |
- if [[ -n $PGDATABASE && -n $PGUSER ]] ; then |
89 |
- local server_version |
90 |
- server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) |
91 |
- if [[ $? = 0 ]] ; then |
92 |
- cd "${S}/test" || die |
93 |
- emake check |
94 |
- else |
95 |
- eerror "Is the server running?" |
96 |
- eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" |
97 |
- eerror " Role: ${PGUSER}" |
98 |
- eerror " Database: ${PGDATABASE}" |
99 |
- die "Couldn't connect to server." |
100 |
- fi |
101 |
- else |
102 |
- eerror "PGDATABASE and PGUSER must be set to perform tests." |
103 |
- eerror "Skipping tests." |
104 |
- fi |
105 |
-} |
106 |
- |
107 |
-src_install () { |
108 |
- use doc && HTML_DOCS=( doc/html/. ) |
109 |
- default |
110 |
- |
111 |
- if ! use static-libs; then |
112 |
- find "${D}" -name '*.la' -delete || die |
113 |
- fi |
114 |
-} |
115 |
|
116 |
diff --git a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild b/dev-libs/libpqxx/libpqxx-7.2.1.ebuild |
117 |
deleted file mode 100644 |
118 |
index 83b80d315880..000000000000 |
119 |
--- a/dev-libs/libpqxx/libpqxx-7.2.1.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,78 +0,0 @@ |
122 |
-# Copyright 1999-2021 Gentoo Authors |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=7 |
126 |
- |
127 |
-PYTHON_COMPAT=( python3_{7..9} ) |
128 |
-inherit python-any-r1 |
129 |
- |
130 |
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86" |
131 |
- |
132 |
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL" |
133 |
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
134 |
-HOMEPAGE="http://pqxx.org/development/libpqxx/" |
135 |
-LICENSE="BSD" |
136 |
-SLOT="0" |
137 |
-IUSE="doc static-libs" |
138 |
- |
139 |
-RDEPEND="dev-db/postgresql:=" |
140 |
-DEPEND="${RDEPEND} |
141 |
- ${PYTHON_DEPS} |
142 |
- doc? ( |
143 |
- app-doc/doxygen |
144 |
- app-text/xmlto |
145 |
- ) |
146 |
-" |
147 |
- |
148 |
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} ) |
149 |
- |
150 |
-src_configure() { |
151 |
- econf \ |
152 |
- --enable-shared \ |
153 |
- $(use_enable doc documentation) \ |
154 |
- $(use_enable static-libs static) |
155 |
-} |
156 |
- |
157 |
-src_test() { |
158 |
- einfo "The tests need a running PostgreSQL server and an existing database." |
159 |
- einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," |
160 |
- einfo "set PGPORT and PGHOST. Define them at the command line or in:" |
161 |
- einfo " ${EROOT}/etc/libpqxx_test_env" |
162 |
- |
163 |
- if [[ -z $PGDATABASE || -z $PGUSER ]] ; then |
164 |
- if [[ -f ${EROOT}/etc/libpqxx_test_env ]] ; then |
165 |
- source "${EROOT}/etc/libpqxx_test_env" |
166 |
- [[ -n $PGDATABASE ]] && export PGDATABASE |
167 |
- [[ -n $PGHOST ]] && export PGHOST |
168 |
- [[ -n $PGPORT ]] && export PGPORT |
169 |
- [[ -n $PGUSER ]] && export PGUSER |
170 |
- fi |
171 |
- fi |
172 |
- |
173 |
- if [[ -n $PGDATABASE && -n $PGUSER ]] ; then |
174 |
- local server_version |
175 |
- server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) |
176 |
- if [[ $? = 0 ]] ; then |
177 |
- cd "${S}/test" || die |
178 |
- emake check |
179 |
- else |
180 |
- eerror "Is the server running?" |
181 |
- eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" |
182 |
- eerror " Role: ${PGUSER}" |
183 |
- eerror " Database: ${PGDATABASE}" |
184 |
- die "Couldn't connect to server." |
185 |
- fi |
186 |
- else |
187 |
- eerror "PGDATABASE and PGUSER must be set to perform tests." |
188 |
- eerror "Skipping tests." |
189 |
- fi |
190 |
-} |
191 |
- |
192 |
-src_install () { |
193 |
- use doc && HTML_DOCS=( doc/html/. ) |
194 |
- default |
195 |
- |
196 |
- if ! use static-libs; then |
197 |
- find "${D}" -name '*.la' -delete || die |
198 |
- fi |
199 |
-} |
200 |
|
201 |
diff --git a/dev-libs/libpqxx/libpqxx-7.3.0.ebuild b/dev-libs/libpqxx/libpqxx-7.3.0.ebuild |
202 |
deleted file mode 100644 |
203 |
index 7a386b691033..000000000000 |
204 |
--- a/dev-libs/libpqxx/libpqxx-7.3.0.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,78 +0,0 @@ |
207 |
-# Copyright 1999-2020 Gentoo Authors |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI=7 |
211 |
- |
212 |
-PYTHON_COMPAT=( python3_{7..9} ) |
213 |
-inherit python-any-r1 |
214 |
- |
215 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
216 |
- |
217 |
-DESCRIPTION="Standard front-end for writing C++ programs that use PostgreSQL" |
218 |
-SRC_URI="https://github.com/jtv/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
219 |
-HOMEPAGE="http://pqxx.org/development/libpqxx/" |
220 |
-LICENSE="BSD" |
221 |
-SLOT="0" |
222 |
-IUSE="doc static-libs" |
223 |
- |
224 |
-RDEPEND="dev-db/postgresql:=" |
225 |
-DEPEND="${RDEPEND} |
226 |
- ${PYTHON_DEPS} |
227 |
- doc? ( |
228 |
- app-doc/doxygen |
229 |
- app-text/xmlto |
230 |
- ) |
231 |
-" |
232 |
- |
233 |
-DOCS=( AUTHORS NEWS README{.md,-UPGRADE} ) |
234 |
- |
235 |
-src_configure() { |
236 |
- econf \ |
237 |
- --enable-shared \ |
238 |
- $(use_enable doc documentation) \ |
239 |
- $(use_enable static-libs static) |
240 |
-} |
241 |
- |
242 |
-src_test() { |
243 |
- einfo "The tests need a running PostgreSQL server and an existing database." |
244 |
- einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," |
245 |
- einfo "set PGPORT and PGHOST. Define them at the command line or in:" |
246 |
- einfo " ${EROOT}/etc/libpqxx_test_env" |
247 |
- |
248 |
- if [[ -z $PGDATABASE || -z $PGUSER ]] ; then |
249 |
- if [[ -f ${EROOT}/etc/libpqxx_test_env ]] ; then |
250 |
- source "${EROOT}/etc/libpqxx_test_env" |
251 |
- [[ -n $PGDATABASE ]] && export PGDATABASE |
252 |
- [[ -n $PGHOST ]] && export PGHOST |
253 |
- [[ -n $PGPORT ]] && export PGPORT |
254 |
- [[ -n $PGUSER ]] && export PGUSER |
255 |
- fi |
256 |
- fi |
257 |
- |
258 |
- if [[ -n $PGDATABASE && -n $PGUSER ]] ; then |
259 |
- local server_version |
260 |
- server_version=$(psql -Aqtc 'SELECT version();' 2> /dev/null) |
261 |
- if [[ $? = 0 ]] ; then |
262 |
- cd "${S}/test" || die |
263 |
- emake check |
264 |
- else |
265 |
- eerror "Is the server running?" |
266 |
- eerror "Verify role and database exist, and are permitted in pg_hba.conf for:" |
267 |
- eerror " Role: ${PGUSER}" |
268 |
- eerror " Database: ${PGDATABASE}" |
269 |
- die "Couldn't connect to server." |
270 |
- fi |
271 |
- else |
272 |
- eerror "PGDATABASE and PGUSER must be set to perform tests." |
273 |
- eerror "Skipping tests." |
274 |
- fi |
275 |
-} |
276 |
- |
277 |
-src_install () { |
278 |
- use doc && HTML_DOCS=( doc/html/. ) |
279 |
- default |
280 |
- |
281 |
- if ! use static-libs; then |
282 |
- find "${D}" -name '*.la' -delete || die |
283 |
- fi |
284 |
-} |
285 |
|
286 |
diff --git a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild |
287 |
index 1761c0636f7a..307a6154811d 100644 |
288 |
--- a/dev-libs/libpqxx/libpqxx-7.4.1.ebuild |
289 |
+++ b/dev-libs/libpqxx/libpqxx-7.4.1.ebuild |
290 |
@@ -37,11 +37,11 @@ src_test() { |
291 |
einfo "The tests need a running PostgreSQL server and an existing database." |
292 |
einfo "Test requires PGDATABASE and PGUSER to be set at a minimum. Optionally," |
293 |
einfo "set PGPORT and PGHOST. Define them at the command line or in:" |
294 |
- einfo " ${EROOT}/etc/libpqxx_test_env" |
295 |
+ einfo " ${BROOT}/etc/libpqxx_test_env" |
296 |
|
297 |
if [[ -z $PGDATABASE || -z $PGUSER ]] ; then |
298 |
- if [[ -f ${EROOT}/etc/libpqxx_test_env ]] ; then |
299 |
- source "${EROOT}/etc/libpqxx_test_env" |
300 |
+ if [[ -f ${BROOT}/etc/libpqxx_test_env ]] ; then |
301 |
+ source "${BROOT}/etc/libpqxx_test_env" |
302 |
[[ -n $PGDATABASE ]] && export PGDATABASE |
303 |
[[ -n $PGHOST ]] && export PGHOST |
304 |
[[ -n $PGPORT ]] && export PGPORT |