summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-09-29 12:13:07 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-09-29 12:13:07 +0000
commitf5f81337be2445db2f31662368c7509702d8d432 (patch)
treeba8c0bb34d38f4879fb9aa28562a08a885a9c61e /dev-java
parentDo not check for translations now, because they are not shipped with this tar... (diff)
downloadhistorical-f5f81337be2445db2f31662368c7509702d8d432.tar.gz
historical-f5f81337be2445db2f31662368c7509702d8d432.tar.bz2
historical-f5f81337be2445db2f31662368c7509702d8d432.zip
dev-java/jdbc-postgresql: version bump
Package-Manager: portage-2.1.10.19/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jdbc-postgresql/ChangeLog8
-rw-r--r--dev-java/jdbc-postgresql/Manifest4
-rw-r--r--dev-java/jdbc-postgresql/jdbc-postgresql-9.1_p901.ebuild81
3 files changed, 91 insertions, 2 deletions
diff --git a/dev-java/jdbc-postgresql/ChangeLog b/dev-java/jdbc-postgresql/ChangeLog
index db2ecbb94b61..8c4490c4fa23 100644
--- a/dev-java/jdbc-postgresql/ChangeLog
+++ b/dev-java/jdbc-postgresql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jdbc-postgresql
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.44 2011/01/15 12:47:35 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.45 2011/09/29 12:13:07 fordfrog Exp $
+
+*jdbc-postgresql-9.1_p901 (29 Sep 2011)
+
+ 29 Sep 2011; Miroslav Šulc <fordfrog@gentoo.org>
+ +jdbc-postgresql-9.1_p901.ebuild:
+ Version bump
*jdbc-postgresql-9.0_p801 (15 Jan 2011)
diff --git a/dev-java/jdbc-postgresql/Manifest b/dev-java/jdbc-postgresql/Manifest
index d1a4047edd01..8312aab182ca 100644
--- a/dev-java/jdbc-postgresql/Manifest
+++ b/dev-java/jdbc-postgresql/Manifest
@@ -3,9 +3,11 @@ DIST postgresql-jdbc-8.3-603.src.tar.gz 521517 RMD160 3cebe6aab292d8dbbf003f6ef1
DIST postgresql-jdbc-8.3-605.src.tar.gz 527780 RMD160 8f61fd727bd9fce683f77ce207e4df08f8e52d8d SHA1 19238eb3820250a03953673c095fb9a8d037851b SHA256 32300e4a6214239393c37a1062c736223cd6a87e606474f49e9e026ff1b4d01c
DIST postgresql-jdbc-8.4-701.src.tar.gz 551752 RMD160 26ce9d3b03aa9f6735dd94d378a6b573841bfb62 SHA1 719004934271a9238d16877b380eb37614077362 SHA256 d2748885b99b414fb2a1d68659b18effb87c9d3379181ad1f3d3e1e40cf61d90
DIST postgresql-jdbc-9.0-801.src.tar.gz 608457 RMD160 4523fd91bb6ecdbb2ff8d1f0aeba463a50369c30 SHA1 c886b269c3e42187d4f464e1f3f56ea8d6595465 SHA256 cc79631445d977822f6670cc40558dc35b6b74ae62cc7014bc5e826d71306c63
+DIST postgresql-jdbc-9.1-901.src.tar.gz 616248 RMD160 7bbb6f92e2c7cd6ac8172b9d995146087e4b7a3b SHA1 065e5cd45ace594e5e9c70df5da6e44b0361fb80 SHA256 0d08cf7c5c899c808bfd043aefd33eb1e628ef0068e9a7299be6eacf245a029f
EBUILD jdbc-postgresql-8.3_p603.ebuild 2106 RMD160 43f7e8b219d7312cfa26a5cab5cc0f0bb2907739 SHA1 ba8f23b7e0c991486fa4008e4bb741b7d6fdb8ad SHA256 c4dd4ccc74be0b583bad3ae7cbe499d15f392750e76d87280cbe03e1dfb7f751
EBUILD jdbc-postgresql-8.3_p605.ebuild 2148 RMD160 650ef1c5b7b08644e94fa3c4194e9af8f25ace2d SHA1 fdac2313cbd050ba6cd633d285e29eb2b9552661 SHA256 b441a9ab83559da0066189676d289091b5a3b1bd5906dcb344dbce4aeef1d7d7
EBUILD jdbc-postgresql-8.4_p701-r1.ebuild 2146 RMD160 99ed22a9f72ae7df5dcf768f6318a131cc52a94b SHA1 df499e4719292548b4a34f617e23af4294c2990f SHA256 3392c84ce54d24c269b404bca51f29dcece535f580200582b7cdfe2ee428e94e
EBUILD jdbc-postgresql-9.0_p801.ebuild 2080 RMD160 5b036f0d4eadb58c466a9d7a6bdffbd5426afcdb SHA1 ead6aa3a94e653cc6c9f89b801a1374bb4b5b6d1 SHA256 9cb46a9aac81581d7166da9d0c7f44a4b947a5cd64f785ac45df3b340d46012a
-MISC ChangeLog 8023 RMD160 85e9766ac4eedd6f6405e62fa203a1b6566d6196 SHA1 7b5a1befc17785340aae2c166145e8e31e70a0d6 SHA256 ae05d98b8fe21d42590c43ba526fcf8e2ebef73dd9fc4274c0d43eed50c3347a
+EBUILD jdbc-postgresql-9.1_p901.ebuild 2166 RMD160 bc1e1f8fa81c8d91927dbc19330fcbacdb32202e SHA1 b094e2da69bf6dd7cbb4ffa28021e118f249fa4b SHA256 7fb6016b20441b849c0abf2afb4b931efe9e9754595a0235969d2339a9ee9a7e
+MISC ChangeLog 8168 RMD160 f5465a59a6376973df48f1921229d9cc9611c884 SHA1 3f55d6e2f8698e0143b43cb5ca93ecf090eb911d SHA256 16bd5718919c3f3499478f3d1ae1c0fba25e33c67fcaeccf5317758469581869
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.1_p901.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.1_p901.ebuild
new file mode 100644
index 000000000000..0ec662a01a66
--- /dev/null
+++ b/dev-java/jdbc-postgresql/jdbc-postgresql-9.1_p901.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-9.1_p901.ebuild,v 1.1 2011/09/29 12:13:07 fordfrog Exp $
+
+EAPI="3"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="postgresql-jdbc"
+MY_PV="${PV/_p/-}"
+MY_P="${MY_PN}-${MY_PV}.src"
+
+DESCRIPTION="JDBC Driver for PostgreSQL"
+SRC_URI="http://jdbc.postgresql.org/download/${MY_P}.tar.gz"
+HOMEPAGE="http://jdbc.postgresql.org/"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+DEPEND=">=dev-java/java-config-2.0.31
+ =virtual/jdk-1.6*
+ doc? (
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )
+ test? (
+ dev-java/ant-junit
+ dev-db/postgresql-server
+ )"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+EANT_DOC_TARGET="publicapi"
+
+java_prepare() {
+ # needed for src_test
+ java-ant_rewrite-classpath
+
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -v
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+
+ # There is a task that creates this doc but I didn't find a way how to use system catalog
+ # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead.
+ if use doc; then
+ mkdir -p "${S}/build/doc"
+ xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
+ "${S}/doc/pgjdbc.xml"
+ fi
+}
+
+src_test() {
+ einfo "In order to run the tests successfully, you have to have:"
+ einfo "1) PostgreSQL server running"
+ einfo "2) database 'test' defined with user 'test' with password 'password'"
+ einfo " as owner of the database"
+ einfo "3) plpgsql support in the 'test' database"
+ einfo
+ einfo "You can find a general info on how to perform these steps at"
+ einfo "http://gentoo-wiki.com/HOWTO_Configure_Postgresql"
+
+ ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit)
+}
+
+src_install() {
+ java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar
+
+ if use doc ; then
+ java-pkg_dojavadoc build/publicapi
+ dohtml build/doc/pgjdbc.html || die
+ fi
+
+ use source && java-pkg_dosrc org
+}