Debian Patches

Status for python-fann2/1:1.2.0+ds-6

Patch Description Author Forwarded Bugs Origin Last update
Improve-SWIG-invocation.patch Improve SWIG invocation
Only build the extension in the build target (instead of in all targets but
sdist), and don't install unnecessary files.
Christian Kastner <ckk@kvr.at> not-needed 2015-09-29
Add-an-example.patch Add an example
Add one of Vincenzo Di Massa's (the original author of the bindings) code
examples.

Taken from the original FANN source.
Christian Kastner <ckk@kvr.at> no 2015-09-29
Don-t-check-for-existence-of-libfann.patch Don't check for existence of libfann
It's in Build-Depends, and therefore present.
Christian Kastner <ckk@debian.org> not-needed 2019-02-17
build-with-swig-4.5.0.patch Build with swig 4.5.0

Without this patch, the package FTBFS with swig 4.5.0. This is due to
the removal of the Python 2 compatibility macros in version 4.5.0. [1]
According to the SWIG authors, these macros were retained in the
generated code (pyhead.swg) solely for user typemaps. All typemap
using these macros are updated to call the Python 3 C API
directly.

[1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
Rafael Laboissière <rafael@debian.org> no debian 2026-08-30

All known versions for source package 'python-fann2'

Links