Revision 39f82261
Von cstim vor fast 20 Jahren hinzugefügt
ChangeLog | ||
---|---|---|
! remember to do SO_CURRENT++ and SO_AGE++ before next release !
|
||
------------------------------------------------------------------------
|
||
|
||
2005-10-05 Christian Stimming <stimming@tuhh.de>
|
||
|
||
* configure.ac: Loosen the requirements on an installed python
|
||
ctypes; instead, only python is considered sufficient for
|
||
installing the python wrappers. I propose to enable python by
|
||
default (and did so in the rpm spec file), although currently it
|
||
is still disabled by default.
|
||
|
||
* bindings/python/__init__.py: Update AB_Error to latest
|
||
additions. Clarify argument change of AB_Banking_new >= 1.3.0 by
|
||
renaming the second argument to configdir (vs. config file).
|
||
|
||
2005-10-02 Christian Stimming <stimming@tuhh.de>
|
||
|
||
* src/*.cpp: Remove unneeded casts to (QObject*) and QWidget.
|
README | ||
---|---|---|
required for the aqgeldkarte backend, otherwise the geldkarte
|
||
parts cannot be compiled
|
||
|
||
- The python module "ctypes" http://sf.net/projects/ctypes is required
|
||
for the python wrappers of aqbanking. Otherwise you cannot enable
|
||
python support (--enable-python), which is disabled by default.
|
||
- The python module "ctypes" http://sf.net/projects/ctypes is
|
||
required for the python wrappers of aqbanking. The python wrappers
|
||
are installed by default (to disable it, use --disable-python),
|
||
but they cannot be used unless "ctypes" is installed.
|
||
|
||
In aqbanking versions earlier than 1.3.0, the backends (e.g.
|
||
"aqhbci") were available in separate packages, but since 1.3.0
|
aqbanking.spec.in | ||
---|---|---|
%setup -q
|
||
|
||
%build
|
||
%{configure} --with-backends=%{backendlist}
|
||
%{configure} --with-backends=%{backendlist} --enable-python
|
||
make
|
||
|
||
%install
|
||
... | ... | |
%{_datadir}/%{name}/imexporters/ofx
|
||
%{_datadir}/%{name}/imexporters/openhbci1
|
||
%{_datadir}/%{name}/imexporters/swift
|
||
%{py_sitedir}/*.py*
|
||
### The aqhbci files
|
||
%{_datadir}/aqhbci
|
||
%{_bindir}/aqhbci-tool
|
bindings/python/__init__.py | ||
---|---|---|
bad_data,
|
||
unknown,
|
||
aborted,
|
||
) = range(0,-19,-1)
|
||
default_value,
|
||
) = range(0,-20,-1)
|
||
(user1,
|
||
user2,
|
||
user3,
|
||
... | ... | |
c_int, c_void_p, c_char_p, c_char_p, c_int)),
|
||
)
|
||
|
||
def __init__(self, name, config=None):
|
||
def __init__(self, name, configdir=None):
|
||
global aqb
|
||
c_void_p.__init__(self, aqb.AB_Banking_new(name, config))
|
||
c_void_p.__init__(self, aqb.AB_Banking_new(name, configdir))
|
||
self.inited = False
|
||
self.bankingFree = aqb.AB_Banking_free
|
||
l = []
|
bindings/python/gtkui.py | ||
---|---|---|
|
||
class BankingGtk(aqbanking.BankingBase):
|
||
|
||
def __init__(self, name, config=None):
|
||
aqbanking.BankingBase.__init__(self, name, config)
|
||
def __init__(self, name, configdir=None):
|
||
aqbanking.BankingBase.__init__(self, name, configdir)
|
||
self.cancel_flag = False
|
||
self.textbuffer = self.progwin = self.logwin = None
|
||
|
configure.ac | ||
---|---|---|
# Python
|
||
#
|
||
|
||
AC_MSG_CHECKING(whether to install python-bindings)
|
||
AC_ARG_ENABLE(python,
|
||
[ --enable-python install python bindings (default=no)],
|
||
[ case "${enableval}" in
|
||
... | ... | |
],
|
||
enable_python="no")
|
||
|
||
# Check for python interpreter unless it is explicitly disabled
|
||
if test "x$enable_python" = "xyes"; then
|
||
AC_MSG_RESULT(yes)
|
||
# Make sure at least version 2.3 is available (otherwise ctypes
|
||
# won't work)
|
||
AM_PATH_PYTHON( [2.3] )
|
||
AM_PATH_PYTHON( [2.3], [enable_python="yes"], [enable_python="no"] )
|
||
fi
|
||
|
||
AC_MSG_CHECKING(whether to install python-bindings)
|
||
if test "x$enable_python" = "xyes"; then
|
||
AC_MSG_RESULT(yes)
|
||
# Check for python ctypes module, otherwise terminate
|
||
AC_PYTHON_MODULE( [ctypes], [required] )
|
||
#AC_PYTHON_MODULE( [ctypes], [required] )
|
||
else
|
||
AC_MSG_RESULT(no)
|
||
fi
|
Auch abrufbar als: Unified diff
2005-10-05 Christian Stimming <stimming@tuhh.de>
ctypes; instead, only python is considered sufficient for
installing the python wrappers. I propose to enable python by
default (and did so in the rpm spec file), although currently it
is still disabled by default.
additions. Clarify argument change of AB_Banking_new >= 1.3.0 by
renaming the second argument to configdir (vs. config file).
git-svn-id: https://devel.aqbanking.de/svn/aqbanking/trunk@630 5c42a225-8b10-0410-9873-89b7810ad06e