summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-07-09 16:34:49 +0000
committerSven Wegener <swegener@gentoo.org>2005-07-09 16:34:49 +0000
commit66838e21b3c365aa2d10c0455db79bbbf302e7f3 (patch)
tree454057f936247437d2f0ab54de11da35ec4c46eb /dev-java
parentQA: Cleaner einfo, ewarn and eerror usage (diff)
downloadgentoo-2-66838e21b3c365aa2d10c0455db79bbbf302e7f3.tar.gz
gentoo-2-66838e21b3c365aa2d10c0455db79bbbf302e7f3.tar.bz2
gentoo-2-66838e21b3c365aa2d10c0455db79bbbf302e7f3.zip
QA: Cleaner einfo, ewarn and eerror usage
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/datavision/datavision-0.8.2.ebuild13
-rw-r--r--dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild14
2 files changed, 13 insertions, 14 deletions
diff --git a/dev-java/datavision/datavision-0.8.2.ebuild b/dev-java/datavision/datavision-0.8.2.ebuild
index 320821879e95..c463ecf8739a 100644
--- a/dev-java/datavision/datavision-0.8.2.ebuild
+++ b/dev-java/datavision/datavision-0.8.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/datavision/datavision-0.8.2.ebuild,v 1.5 2005/06/09 00:51:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/datavision/datavision-0.8.2.ebuild,v 1.6 2005/07/09 16:34:49 swegener Exp $
inherit java-pkg
@@ -79,26 +79,25 @@ src_install() {
pkg_postinst() {
einfo "CONFIGURATION NOTES"
- einfo " "
+ einfo
einfo "Make sure your CLASSPATH variable is updated via java-config(1)"
einfo "to use your desired JDBC driver."
- einfo " "
+ einfo
einfo "You must then create a database. Run '/usr/bin/${PN}'"
einfo "and fill the connection dialog box with your database details."
if use mysql; then
- einfo " "
+ einfo
einfo "MySQL example:"
einfo "Driver class name: com.mysql.jdbc.Driver"
einfo "Connection: jdbc:mysql://localhost/database"
fi
if use postgres; then
- einfo " "
+ einfo
einfo "PostgreSQL example:"
einfo "Driver class name:org.postgresql.Driver"
einfo "Connection: jdbc:postgresql://localhost/database"
fi
- einfo " "
- einfo " "
+ einfo
}
diff --git a/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild b/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild
index af297714939e..eca019c25adc 100644
--- a/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild
+++ b/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild,v 1.2 2005/05/20 19:06:38 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild,v 1.3 2005/07/09 16:33:49 swegener Exp $
inherit java-pkg
@@ -16,15 +16,15 @@ DEPEND="app-arch/unzip"
RESTRICT="fetch"
pkg_nofetch() {
- einfo " "
+ einfo
einfo " Due to license restrictions, we cannot fetch the"
einfo " distributables automagically."
- einfo " "
+ einfo
einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
einfo " 3. Download ${A}"
einfo " 4. Move file to ${DISTDIR}"
- einfo " "
+ einfo
}
src_unpack() {
@@ -32,16 +32,16 @@ src_unpack() {
echo " "
echo "!!! Missing ${DISTDIR}/${A}"
echo " "
- einfo " "
+ einfo
einfo " Due to license restrictions, we cannot fetch the"
einfo " distributables automagically."
- einfo " "
+ einfo
einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
einfo " 3. Download ${A}"
einfo " 4. Move file to ${DISTDIR}"
einfo " 5. Run emerge on this package again to complete"
- einfo " "
+ einfo
die "User must manually download distfile"
fi
unzip -qq ${DISTDIR}/${A}