1 |
commit: 7a7a8735111b1cc1733d5aab30530081f6183795 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 07:35:01 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 08:13:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7a8735 |
7 |
|
8 |
dev-java/jdbc-postgresql: removed obsolete |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
dev-java/jdbc-postgresql/Manifest | 4 - |
14 |
.../jdbc-postgresql-9.2_p1003.ebuild | 79 ---------------- |
15 |
.../jdbc-postgresql-9.2_p1004.ebuild | 79 ---------------- |
16 |
.../jdbc-postgresql-9.3_p1100.ebuild | 79 ---------------- |
17 |
.../jdbc-postgresql-9.4_p1205.ebuild | 102 --------------------- |
18 |
5 files changed, 343 deletions(-) |
19 |
|
20 |
diff --git a/dev-java/jdbc-postgresql/Manifest b/dev-java/jdbc-postgresql/Manifest |
21 |
index 5b4efd71122..04c1f8e9ea2 100644 |
22 |
--- a/dev-java/jdbc-postgresql/Manifest |
23 |
+++ b/dev-java/jdbc-postgresql/Manifest |
24 |
@@ -1,5 +1 @@ |
25 |
-DIST postgresql-jdbc-9.2-1003.src.tar.gz 1843082 BLAKE2B 35f6e4738e5340373ccb3cbe516f2e8f4a391b6e200b88c6adff7112b28f077c6e4108329c962b98dd2ee21e9e3db81521a324b036cc5d0d6ec9859f660bce60 SHA512 f91d9617726722998a51275c625f6ea89dfe0ac7ce415cc6fa76302b13762bcf825cd61ec69d25d0199ca21de8a24286eeffb843ad59c06fd3049a289ac2b702 |
26 |
-DIST postgresql-jdbc-9.2-1004.src.tar.gz 1842921 BLAKE2B 4cf0cb6da5749a9da194b9174db82289c3521edb7b7fd57d112883c185e0b80fd6feb70852eb54d7fe53d439817643bc608e9cdb3a9d9b2d43fd134031c770e9 SHA512 6e218b7df3d772e4fb9053672f5f77f6012fe6e652a536dfe171408e957465520b05994d4fa13c4d478b595a55b8068da663b9f3dcb544a46fcf91d71ba8fdf5 |
27 |
-DIST postgresql-jdbc-9.3-1100.src.tar.gz 1852465 BLAKE2B a81f385ff23679a1e6b268b53ea72dda744c50d043d02fe50a88421c43561a8fc63c849a974e84e1f1caa93ab20c01cc58cc9abe96f5567f5ac626263f402126 SHA512 43968a62f9443739721016ede186b2f41fa6db2d1ef319cd65059f8715e90eda7c7f568995b293578c39e04d43085cfdfece587500f99ed1a49964c12d8c747a |
28 |
-DIST postgresql-jdbc-9.4-1205.src.tar.gz 2028968 BLAKE2B d4f55bc7c173795202f9eed58a67effba747b56f8dc5aaeeb2941532b3d0ce3f66ed113c38af9c2c40998191fd15d2828d05a1b693eb13a78a3d39b9fe6667b5 SHA512 ebb46c0cfcabc34083e6f481bc97536fba98d082462670d39efdd75e6463f1286db6fa07cd35546c749e456f1c06fb1d022cbc9f5cace2a1b968fab76a57d281 |
29 |
DIST postgresql-jdbc-9.4-1206.src.tar.gz 2029837 BLAKE2B b222a0b2f8f99becaf0ae350407fafeb23d9d4bdb130c17996373b4211e0d56d1a76bc5737401dc6fc6618d2a891943d096b0f60f0770ff6ce859ade3e7a178d SHA512 b16816f1afd3ee5986fca197bd7608c2e2f334054e41a8c541c47985827f4f59d7691d23983bdac01c85fc364cd001c991ac6b4e8567429b9d1f4161388dd6bd |
30 |
|
31 |
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild |
32 |
deleted file mode 100644 |
33 |
index 49c60a72aea..00000000000 |
34 |
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,79 +0,0 @@ |
37 |
-# Copyright 1999-2019 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI="5" |
41 |
- |
42 |
-JAVA_PKG_IUSE="doc source" |
43 |
- |
44 |
-inherit java-pkg-2 java-ant-2 |
45 |
- |
46 |
-MY_PN="postgresql-jdbc" |
47 |
-MY_PV="${PV/_p/-}" |
48 |
-MY_P="${MY_PN}-${MY_PV}.src" |
49 |
- |
50 |
-DESCRIPTION="JDBC Driver for PostgreSQL" |
51 |
-SRC_URI="https://jdbc.postgresql.org/download/${MY_P}.tar.gz" |
52 |
-HOMEPAGE="https://jdbc.postgresql.org/" |
53 |
- |
54 |
-LICENSE="POSTGRESQL" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="amd64 ppc64 x86" |
57 |
-IUSE="test" |
58 |
-RESTRICT="!test? ( test )" |
59 |
- |
60 |
-DEPEND=" |
61 |
- >=virtual/jdk-1.6 |
62 |
- doc? ( |
63 |
- dev-libs/libxslt |
64 |
- app-text/docbook-xsl-stylesheets |
65 |
- ) |
66 |
- test? ( |
67 |
- dev-java/ant-junit |
68 |
- dev-db/postgresql[server] |
69 |
- )" |
70 |
-RDEPEND=">=virtual/jre-1.6" |
71 |
- |
72 |
-S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src" |
73 |
- |
74 |
-java_prepare() { |
75 |
- find -name "*.class" -type f -exec rm -v {} + || die |
76 |
-} |
77 |
- |
78 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
79 |
-EANT_DOC_TARGET="publicapi" |
80 |
- |
81 |
-src_compile() { |
82 |
- java-pkg-2_src_compile |
83 |
- |
84 |
- # There is a task that creates this doc but I didn't find a way how to use system catalog |
85 |
- # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead. |
86 |
- if use doc; then |
87 |
- mkdir -p "${S}/build/doc" |
88 |
- xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
89 |
- "${S}/doc/pgjdbc.xml" |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-src_test() { |
94 |
- einfo "In order to run the tests successfully, you have to have:" |
95 |
- einfo "1) PostgreSQL server running" |
96 |
- einfo "2) database 'test' defined with user 'test' with password 'password'" |
97 |
- einfo " as owner of the database" |
98 |
- einfo "3) plpgsql support in the 'test' database" |
99 |
- einfo |
100 |
- einfo "You can find a general info on how to perform these steps at" |
101 |
- einfo "https://wiki.gentoo.org/wiki/PostgreSQL" |
102 |
- |
103 |
- ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit) |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar |
108 |
- |
109 |
- if use doc ; then |
110 |
- java-pkg_dojavadoc build/publicapi |
111 |
- dohtml build/doc/pgjdbc.html |
112 |
- fi |
113 |
- |
114 |
- use source && java-pkg_dosrc org |
115 |
-} |
116 |
|
117 |
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1004.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1004.ebuild |
118 |
deleted file mode 100644 |
119 |
index e5cff42377a..00000000000 |
120 |
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1004.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,79 +0,0 @@ |
123 |
-# Copyright 1999-2019 Gentoo Authors |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
- |
126 |
-EAPI="5" |
127 |
- |
128 |
-JAVA_PKG_IUSE="doc source" |
129 |
- |
130 |
-inherit java-pkg-2 java-ant-2 |
131 |
- |
132 |
-MY_PN="postgresql-jdbc" |
133 |
-MY_PV="${PV/_p/-}" |
134 |
-MY_P="${MY_PN}-${MY_PV}.src" |
135 |
- |
136 |
-DESCRIPTION="JDBC Driver for PostgreSQL" |
137 |
-SRC_URI="https://jdbc.postgresql.org/download/${MY_P}.tar.gz" |
138 |
-HOMEPAGE="https://jdbc.postgresql.org/" |
139 |
- |
140 |
-LICENSE="POSTGRESQL" |
141 |
-SLOT="0" |
142 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
143 |
-IUSE="test" |
144 |
-RESTRICT="!test? ( test )" |
145 |
- |
146 |
-DEPEND=" |
147 |
- >=virtual/jdk-1.6 |
148 |
- doc? ( |
149 |
- dev-libs/libxslt |
150 |
- app-text/docbook-xsl-stylesheets |
151 |
- ) |
152 |
- test? ( |
153 |
- dev-java/ant-junit |
154 |
- dev-db/postgresql[server] |
155 |
- )" |
156 |
-RDEPEND=">=virtual/jre-1.6" |
157 |
- |
158 |
-S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src" |
159 |
- |
160 |
-java_prepare() { |
161 |
- find -name "*.class" -type f -exec rm -v {} + || die |
162 |
-} |
163 |
- |
164 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
165 |
-EANT_DOC_TARGET="publicapi" |
166 |
- |
167 |
-src_compile() { |
168 |
- java-pkg-2_src_compile |
169 |
- |
170 |
- # There is a task that creates this doc but I didn't find a way how to use system catalog |
171 |
- # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead. |
172 |
- if use doc; then |
173 |
- mkdir -p "${S}/build/doc" |
174 |
- xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
175 |
- "${S}/doc/pgjdbc.xml" |
176 |
- fi |
177 |
-} |
178 |
- |
179 |
-src_test() { |
180 |
- einfo "In order to run the tests successfully, you have to have:" |
181 |
- einfo "1) PostgreSQL server running" |
182 |
- einfo "2) database 'test' defined with user 'test' with password 'password'" |
183 |
- einfo " as owner of the database" |
184 |
- einfo "3) plpgsql support in the 'test' database" |
185 |
- einfo |
186 |
- einfo "You can find a general info on how to perform these steps at" |
187 |
- einfo "https://wiki.gentoo.org/wiki/PostgreSQL" |
188 |
- |
189 |
- ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit) |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar |
194 |
- |
195 |
- if use doc ; then |
196 |
- java-pkg_dojavadoc build/publicapi |
197 |
- dohtml build/doc/pgjdbc.html |
198 |
- fi |
199 |
- |
200 |
- use source && java-pkg_dosrc org |
201 |
-} |
202 |
|
203 |
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.3_p1100.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.3_p1100.ebuild |
204 |
deleted file mode 100644 |
205 |
index e5cff42377a..00000000000 |
206 |
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.3_p1100.ebuild |
207 |
+++ /dev/null |
208 |
@@ -1,79 +0,0 @@ |
209 |
-# Copyright 1999-2019 Gentoo Authors |
210 |
-# Distributed under the terms of the GNU General Public License v2 |
211 |
- |
212 |
-EAPI="5" |
213 |
- |
214 |
-JAVA_PKG_IUSE="doc source" |
215 |
- |
216 |
-inherit java-pkg-2 java-ant-2 |
217 |
- |
218 |
-MY_PN="postgresql-jdbc" |
219 |
-MY_PV="${PV/_p/-}" |
220 |
-MY_P="${MY_PN}-${MY_PV}.src" |
221 |
- |
222 |
-DESCRIPTION="JDBC Driver for PostgreSQL" |
223 |
-SRC_URI="https://jdbc.postgresql.org/download/${MY_P}.tar.gz" |
224 |
-HOMEPAGE="https://jdbc.postgresql.org/" |
225 |
- |
226 |
-LICENSE="POSTGRESQL" |
227 |
-SLOT="0" |
228 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
229 |
-IUSE="test" |
230 |
-RESTRICT="!test? ( test )" |
231 |
- |
232 |
-DEPEND=" |
233 |
- >=virtual/jdk-1.6 |
234 |
- doc? ( |
235 |
- dev-libs/libxslt |
236 |
- app-text/docbook-xsl-stylesheets |
237 |
- ) |
238 |
- test? ( |
239 |
- dev-java/ant-junit |
240 |
- dev-db/postgresql[server] |
241 |
- )" |
242 |
-RDEPEND=">=virtual/jre-1.6" |
243 |
- |
244 |
-S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src" |
245 |
- |
246 |
-java_prepare() { |
247 |
- find -name "*.class" -type f -exec rm -v {} + || die |
248 |
-} |
249 |
- |
250 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
251 |
-EANT_DOC_TARGET="publicapi" |
252 |
- |
253 |
-src_compile() { |
254 |
- java-pkg-2_src_compile |
255 |
- |
256 |
- # There is a task that creates this doc but I didn't find a way how to use system catalog |
257 |
- # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead. |
258 |
- if use doc; then |
259 |
- mkdir -p "${S}/build/doc" |
260 |
- xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
261 |
- "${S}/doc/pgjdbc.xml" |
262 |
- fi |
263 |
-} |
264 |
- |
265 |
-src_test() { |
266 |
- einfo "In order to run the tests successfully, you have to have:" |
267 |
- einfo "1) PostgreSQL server running" |
268 |
- einfo "2) database 'test' defined with user 'test' with password 'password'" |
269 |
- einfo " as owner of the database" |
270 |
- einfo "3) plpgsql support in the 'test' database" |
271 |
- einfo |
272 |
- einfo "You can find a general info on how to perform these steps at" |
273 |
- einfo "https://wiki.gentoo.org/wiki/PostgreSQL" |
274 |
- |
275 |
- ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit) |
276 |
-} |
277 |
- |
278 |
-src_install() { |
279 |
- java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar |
280 |
- |
281 |
- if use doc ; then |
282 |
- java-pkg_dojavadoc build/publicapi |
283 |
- dohtml build/doc/pgjdbc.html |
284 |
- fi |
285 |
- |
286 |
- use source && java-pkg_dosrc org |
287 |
-} |
288 |
|
289 |
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1205.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1205.ebuild |
290 |
deleted file mode 100644 |
291 |
index d7200bc0104..00000000000 |
292 |
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1205.ebuild |
293 |
+++ /dev/null |
294 |
@@ -1,102 +0,0 @@ |
295 |
-# Copyright 1999-2021 Gentoo Authors |
296 |
-# Distributed under the terms of the GNU General Public License v2 |
297 |
- |
298 |
-EAPI="5" |
299 |
- |
300 |
-JAVA_PKG_IUSE="doc source" |
301 |
- |
302 |
-inherit epatch java-pkg-2 java-ant-2 |
303 |
- |
304 |
-MY_PN="postgresql-jdbc" |
305 |
-MY_PV="${PV/_p/-}" |
306 |
-MY_P="${MY_PN}-${MY_PV}.src" |
307 |
- |
308 |
-DESCRIPTION="JDBC Driver for PostgreSQL" |
309 |
-SRC_URI="https://jdbc.postgresql.org/download/${MY_P}.tar.gz" |
310 |
-HOMEPAGE="https://jdbc.postgresql.org/" |
311 |
- |
312 |
-LICENSE="POSTGRESQL" |
313 |
-SLOT="0" |
314 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
315 |
-IUSE="test" |
316 |
- |
317 |
-DEPEND=" |
318 |
- >=virtual/jdk-1.6 |
319 |
- doc? ( |
320 |
- dev-libs/libxslt |
321 |
- app-text/docbook-xsl-stylesheets |
322 |
- ) |
323 |
- test? ( |
324 |
- >=dev-db/postgresql-9.3[server] |
325 |
- dev-java/ant-junit |
326 |
- dev-java/junit:4 |
327 |
- dev-java/xml-commons |
328 |
- )" |
329 |
-RDEPEND=">=virtual/jre-1.6" |
330 |
- |
331 |
-RESTRICT="test" # Requires external postgresql server setup |
332 |
- |
333 |
-S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src" |
334 |
- |
335 |
-JAVA_ANT_REWRITE_CLASSPATH="yes" |
336 |
-EANT_DOC_TARGET="publicapi" |
337 |
- |
338 |
-java_prepare() { |
339 |
- # Strip build.xml of maven deps |
340 |
- sed -i -e '/<classpath.*dependency\.compile\.classpath/c\' build.xml || die |
341 |
- sed -i -e '/<classpath.*dependency\.runtime\.classpath/c\' build.xml || die |
342 |
- sed -i -e '/<classpath.*dependency\.test\.classpath/c\' build.xml || die |
343 |
- sed -i -e '/<target name="artifact-version"/,/<[/]target>/{s/depends="maven-dependencies"//}' build.xml || die |
344 |
- sed -i -e '/<target name="compile"/ s/,maven-dependencies//' build.xml || die |
345 |
- |
346 |
- # Remove SSPI, it pulls in Waffle-JNA and is only used on Windows |
347 |
- sed -i -e '/<include.*sspi/c\' build.xml || die |
348 |
- rm -vrf org/postgresql/sspi || die "Error removing sspi" |
349 |
- epatch "${FILESDIR}"/${PN}-9.4_p1204-remove-sspi.patch |
350 |
- |
351 |
- # FIXME @someone who cares: enable through osgi flag? |
352 |
- sed -i -e '/<include.*osgi/c\' build.xml || die |
353 |
- sed -i -e '/<test.*osgi/c\' build.xml || die |
354 |
- rm -vrf org/postgresql/osgi || die "Error removing osgi" |
355 |
- rm -vrf org/postgresql/test/osgi || die "Error removing osgi tests" |
356 |
- epatch "${FILESDIR}"/${PN}-9.4_p1201-remove-osgi.patch |
357 |
- |
358 |
- java-pkg_clean |
359 |
-} |
360 |
- |
361 |
-src_compile() { |
362 |
- EANT_BUILD_TARGET="release-version jar" |
363 |
- java-pkg-2_src_compile |
364 |
- |
365 |
- # There is a task that creates this doc but I didn't find a way how to use system catalog |
366 |
- # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead. |
367 |
- if use doc; then |
368 |
- mkdir -p "${S}/build/doc" || die |
369 |
- xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
370 |
- "${S}/doc/pgjdbc.xml" || die |
371 |
- fi |
372 |
-} |
373 |
- |
374 |
-src_test() { |
375 |
- einfo "In order to run the tests successfully, you have to have:" |
376 |
- einfo "1) PostgreSQL server running" |
377 |
- einfo "2) database 'test' defined with user 'test' with password 'test'" |
378 |
- einfo " as owner of the database" |
379 |
- einfo "3) plpgsql support in the 'test' database" |
380 |
- einfo |
381 |
- einfo "You can find a general info on how to perform these steps at" |
382 |
- einfo "https://wiki.gentoo.org/wiki/PostgreSQL" |
383 |
- |
384 |
- ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only "junit-4,xml-commons") |
385 |
-} |
386 |
- |
387 |
-src_install() { |
388 |
- java-pkg_newjar build/jars/postgresql*.jar jdbc-postgresql.jar |
389 |
- |
390 |
- if use doc ; then |
391 |
- java-pkg_dojavadoc build/publicapi |
392 |
- dohtml build/doc/pgjdbc.html |
393 |
- fi |
394 |
- |
395 |
- use source && java-pkg_dosrc org |
396 |
-} |