Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24927 - New test versions of hk_classes and knoda with python scripting support
Summary: New test versions of hk_classes and knoda with python scripting support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 15:56 UTC by Peter Ruskin
Modified: 2003-10-02 08:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hk_classes-0.6.1_alpha3.ebuild (hk_classes-0.6.1_alpha3.ebuild,2.15 KB, text/plain)
2003-09-22 05:11 UTC, Peter Ruskin
Details
hk_classes-0.6.1_alpha3.ebuild (hk_classes-0.6.1_alpha3.ebuild,2.15 KB, text/plain)
2003-09-22 05:11 UTC, Peter Ruskin
Details
knoda-0.6.1_alpha3.ebuild (knoda-0.6.1_alpha3.ebuild,461 bytes, text/plain)
2003-09-22 05:13 UTC, Peter Ruskin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2003-07-20 15:56:01 UTC
1)  Message from Horst Knorr on hk-classes-discuss@lists.sourceforge.net:
the main feature of the next release will be the support of python as 
scripting language, so you can extend the capabilities of your forms. The 
feature has been  implemented already and so it is time to start testing and 
debugging.

2)  Here's the diff for hk_classes:

$ diff -u hk_classes-0.6.ebuild hk_classes-0.6.1_alpha1.ebuild
--- hk_classes-0.6.ebuild       2003-07-20 11:41:21.000000000 +0100
+++ hk_classes-0.6.1_alpha1.ebuild      2003-07-20 23:47:37.000000000 +0100
@@ -1,14 +1,15 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.6.ebuild,v
1.2 2003/06/17 12:58:31 caleb Exp $
+# $Header:  Exp $

 DESCRIPTION="GUI-independent C++ libraries for database applications, including
API documentation and tutorials."
 HOMEPAGE="http://hk-classes.sourceforge.net/"
-SRC_URI="mirror://sourceforge/sourceforge/hk-classes/${P}.tar.gz
-       mirror://sourceforge/sourceforge/knoda/hk_docs-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/sourceforge/hk-classes/hk_classes-0.6.1-test1.tar.bz2
+                mirror://sourceforge/sourceforge/knoda/knodapython.tar.bz2
+                mirror://sourceforge/sourceforge/knoda/hk_docs-0.6.tar.gz"
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~x86"
 IUSE="mysql postgres odbc"

 # At least one of the following is required
@@ -16,7 +17,7 @@
        postgres? ( >=dev-db/postgresql-7.3 )
         odbc? ( >=dev-db/unixODBC-2.0.6 )"

-S=${WORKDIR}/${P}
+S=${WORKDIR}/hk_classes-0.6.1-test1

 src_compile() {
        local myconf
@@ -37,6 +38,29 @@
 }

 src_install() {
-       use doc && dohtml -r ${WORKDIR}/hk_docs-${PV}
+       use doc && dohtml -r ${WORKDIR}/hk_docs-0.6
+       use doc && dohtml -r ${WORKDIR}/knodapythondoc
        make DESTDIR=${D} install || die
 }
+
+pkg_postinst() {
+       echo
+       einfo "hk_classes has been installed in /usr/lib/hk_classes"
+       if [ `use mysql` ]; then
+               einfo "MySQL driver is installed in /usr/lib/hk_classes/drivers"
+       fi
+       if [ `use postgres` ]; then
+               einfo "PostgreSQL driver is installed in
/usr/lib/hk_classes/drivers"
+       fi
+       if [ `use odbc` ]; then
+               einfo "ODBC driver is installed in /usr/lib/hk_classes/drivers"
+       fi
+       if [ `use doc` ]; then
+               echo
+               einfo "API documentation and tutorial are installed in"
+               einfo " /usr/share/doc/${P}/html/hk_docs-0.6"
+               einfo "A small Python tutorial is installed in"
+               einfo " /usr/share/doc/${P}/html/knodapythondoc"
+       fi
+       echo
+}

3)  Here's the diff for knoda:

$ diff -u knoda-0.6.ebuild knoda-0.6.1_alpha1.ebuild
--- knoda-0.6.ebuild    2003-05-28 15:19:03.000000000 +0100
+++ knoda-0.6.1_alpha1.ebuild   2003-07-20 23:54:27.000000000 +0100
@@ -1,17 +1,17 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/dev-db/knoda/knoda-0.6.ebuild,v 1.1
2003/05/28 14:19:03 caleb Exp $
+# $Header: Exp $

 inherit kde-base
 need-kde 3

-S=${WORKDIR}/${P}
+S=${WORKDIR}/knoda-0.6.1-test1

 IUSE=""
 DESCRIPTION="KDE database frontend based on the hk_classes library"
-SRC_URI="mirror://sourceforge/sourceforge/knoda/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/sourceforge/knoda/knoda-0.6.1-test1.tar.bz2"
 HOMEPAGE="http://hk-classes.sourceforge.net/"
 LICENSE="GPL-2"
-KEYWORDS="x86"
+KEYWORDS="~x86"

 newdepend ">=dev-db/hk_classes-0.6"
Comment 1 Peter Ruskin 2003-09-22 05:11:01 UTC
Created attachment 18121 [details]
hk_classes-0.6.1_alpha3.ebuild
Comment 2 Peter Ruskin 2003-09-22 05:11:48 UTC
Created attachment 18122 [details]
hk_classes-0.6.1_alpha3.ebuild
Comment 3 Peter Ruskin 2003-09-22 05:13:00 UTC
Created attachment 18123 [details]
knoda-0.6.1_alpha3.ebuild
Comment 4 Peter Ruskin 2003-09-22 05:15:23 UTC
*knoda-0.6_alpha3 (22 Sep 2003)
  22 Sep 2003; Peter Ruskin <aoyu93@dsl.pipex.com> knoda-0.6_alpha3.ebuild:
  Many bugs are fixed. Scripting support for reports improved. ODBC driver fixed

OK, here are the latest versions of hk_classes and knoda, with exciting scripting support.  They emerge and build fine here.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-10-02 08:32:26 UTC
now in portage.  thanks for the report.