Hi,

Attached is a first cut at building a package with the Python support
files.  It builds a package called python2.6-gnucash.

Cheers!

-- 
Andrew Ruthven
Wellington, New Zealand
At home: [email protected] |      linux.conf.au 2012 
                           | Come with us, Under the Stars
                           | http://lcaunderthestars.org.au
diff -Nur gnucash-2.4.5/debian/control gnucash-2.4.4/debian/control
--- gnucash-2.4.5/debian/control	2011-04-30 23:43:23.000000000 +1200
+++ gnucash-2.4.4/debian/control	2011-03-27 22:04:46.000000000 +1300
@@ -61,3 +62,16 @@
  This package contains the architecture independent parts of Gnucash. It should
  not be installed directly, but is pulled in automatically by the dependencies
  of the Gnucash package.
+
+Package: python2.6-gnucash
+Architecture: all
+Depends: gnucash (= ${binary:Version}), ${misc:Depends}, ${python:Depends}
+Description: Python binding for the accounting software Gnucash
+ Gnucash provides accounting functions suitable for use by small businesses and
+ individuals. It can track finances in multiple accounts, keeping running and
+ reconciled balances. There is support for customer, vendor and employee
+ processing. It has an X based graphical user interface, double entry, a
+ hierarchy of accounts, expense accounts (categories), and can import Quicken
+ QIF files and OFX files.
+ .
+ This package contains the Python 2.6 bindings for Gnucash.
diff -Nur gnucash-2.4.5/debian/gnucash-python.examples gnucash-2.4.4/debian/gnucash-python.examples
--- gnucash-2.4.5/debian/gnucash-python.examples	1970-01-01 12:00:00.000000000 +1200
+++ gnucash-2.4.4/debian/gnucash-python.examples	2011-03-27 21:46:55.000000000 +1300
@@ -0,0 +1 @@
+src/optional/python-bindings/example_scripts/*
diff -Nur gnucash-2.4.5/debian/gnucash-python.install gnucash-2.4.4/debian/gnucash-python.install
--- gnucash-2.4.5/debian/gnucash-python.install	1970-01-01 12:00:00.000000000 +1200
+++ gnucash-2.4.4/debian/gnucash-python.install	2011-03-27 21:46:55.000000000 +1300
@@ -0,0 +1 @@
+/usr/lib/python2.6/
diff -Nur gnucash-2.4.5/debian/python2.6-gnucash.examples gnucash-2.4.4/debian/python2.6-gnucash.examples
--- gnucash-2.4.5/debian/python2.6-gnucash.examples	1970-01-01 12:00:00.000000000 +1200
+++ gnucash-2.4.4/debian/python2.6-gnucash.examples	2011-03-27 22:04:46.000000000 +1300
@@ -0,0 +1 @@
+src/optional/python-bindings/example_scripts/*
diff -Nur gnucash-2.4.5/debian/python2.6-gnucash.install gnucash-2.4.4/debian/python2.6-gnucash.install
--- gnucash-2.4.5/debian/python2.6-gnucash.install	1970-01-01 12:00:00.000000000 +1200
+++ gnucash-2.4.4/debian/python2.6-gnucash.install	2011-03-27 22:04:46.000000000 +1300
@@ -0,0 +1 @@
+/usr/lib/python2.6/
diff -Nur gnucash-2.4.5/debian/rules gnucash-2.4.4/debian/rules
--- gnucash-2.4.5/debian/rules	2011-02-10 09:54:55.000000000 +1300
+++ gnucash-2.4.4/debian/rules	2011-03-27 22:04:46.000000000 +1300
@@ -34,7 +34,8 @@
 		--enable-dbi \
 		--enable-ofx \
 		--enable-aqbanking \
-		--enable-locale-specific-tax
+		--enable-locale-specific-tax \
+		--enable-python-bindings
 
 install:	build
 	dh install

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to