1 |
tomwij 13/11/30 08:29:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: jdbc-postgresql-9.2_p1003.ebuild |
5 |
Log: |
6 |
Version bump to 9.2_p1003. EAPI 5. Fixes bug #489082, reported by Gordon Pettey (petteyg359). |
7 |
|
8 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.49 dev-java/jdbc-postgresql/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog?rev=1.49&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog?rev=1.49&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog?r1=1.48&r2=1.49 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v |
20 |
retrieving revision 1.48 |
21 |
retrieving revision 1.49 |
22 |
diff -u -r1.48 -r1.49 |
23 |
--- ChangeLog 19 Sep 2013 20:20:44 -0000 1.48 |
24 |
+++ ChangeLog 30 Nov 2013 08:29:53 -0000 1.49 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-java/jdbc-postgresql |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.48 2013/09/19 20:20:44 titanofold Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.49 2013/11/30 08:29:53 tomwij Exp $ |
30 |
+ |
31 |
+*jdbc-postgresql-9.2_p1003 (30 Nov 2013) |
32 |
+ |
33 |
+ 30 Nov 2013; Tom Wijsman <TomWij@g.o> |
34 |
+ +jdbc-postgresql-9.2_p1003.ebuild: |
35 |
+ Version bump to 9.2_p1003. EAPI 5. Fixes bug #489082, reported by Gordon |
36 |
+ Pettey (petteyg359). |
37 |
|
38 |
19 Sep 2013; Aaron W. Swenson <titanofold@g.o> |
39 |
jdbc-postgresql-8.3_p603.ebuild, jdbc-postgresql-8.3_p605.ebuild, |
40 |
@@ -249,4 +256,3 @@ |
41 |
+jdbc-postgresql-8.0_p318.ebuild, +jdbc-postgresql-8.1_p408.ebuild, |
42 |
+jdbc-postgresql-8.2_p504.ebuild: |
43 |
Created new ebuilds that will replace jdbc3-postgresql package, bug #157973. |
44 |
- |
45 |
|
46 |
|
47 |
|
48 |
1.1 dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: jdbc-postgresql-9.2_p1003.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-9.2_p1003.ebuild,v 1.1 2013/11/30 08:29:53 tomwij Exp $ |
58 |
|
59 |
EAPI="5" |
60 |
|
61 |
JAVA_PKG_IUSE="doc source" |
62 |
|
63 |
inherit java-pkg-2 java-ant-2 |
64 |
|
65 |
MY_PN="postgresql-jdbc" |
66 |
MY_PV="${PV/_p/-}" |
67 |
MY_P="${MY_PN}-${MY_PV}.src" |
68 |
|
69 |
DESCRIPTION="JDBC Driver for PostgreSQL" |
70 |
SRC_URI="http://jdbc.postgresql.org/download/${MY_P}.tar.gz" |
71 |
HOMEPAGE="http://jdbc.postgresql.org/" |
72 |
|
73 |
LICENSE="POSTGRESQL" |
74 |
SLOT="0" |
75 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
76 |
IUSE="test" |
77 |
|
78 |
DEPEND=" |
79 |
>=virtual/jdk-1.6 |
80 |
doc? ( |
81 |
dev-libs/libxslt |
82 |
app-text/docbook-xsl-stylesheets |
83 |
) |
84 |
test? ( |
85 |
dev-java/ant-junit |
86 |
dev-db/postgresql-server |
87 |
)" |
88 |
RDEPEND=">=virtual/jre-1.6" |
89 |
|
90 |
S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src" |
91 |
|
92 |
java_prepare() { |
93 |
find -name "*.class" -type f -exec rm -v {} + || die |
94 |
} |
95 |
|
96 |
JAVA_ANT_REWRITE_CLASSPATH="yes" |
97 |
EANT_DOC_TARGET="publicapi" |
98 |
|
99 |
src_compile() { |
100 |
java-pkg-2_src_compile |
101 |
|
102 |
# There is a task that creates this doc but I didn't find a way how to use system catalog |
103 |
# to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead. |
104 |
if use doc; then |
105 |
mkdir -p "${S}/build/doc" |
106 |
xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \ |
107 |
"${S}/doc/pgjdbc.xml" |
108 |
fi |
109 |
} |
110 |
|
111 |
src_test() { |
112 |
einfo "In order to run the tests successfully, you have to have:" |
113 |
einfo "1) PostgreSQL server running" |
114 |
einfo "2) database 'test' defined with user 'test' with password 'password'" |
115 |
einfo " as owner of the database" |
116 |
einfo "3) plpgsql support in the 'test' database" |
117 |
einfo |
118 |
einfo "You can find a general info on how to perform these steps at" |
119 |
einfo "https://wiki.gentoo.org/wiki/PostgreSQL" |
120 |
|
121 |
ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit) |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar |
126 |
|
127 |
if use doc ; then |
128 |
java-pkg_dojavadoc build/publicapi |
129 |
dohtml build/doc/pgjdbc.html |
130 |
fi |
131 |
|
132 |
use source && java-pkg_dosrc org |
133 |
} |