diff options
author | gdt <gdt@pkgsrc.org> | 2006-10-05 14:56:23 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2006-10-05 14:56:23 +0000 |
commit | 409d5f250c97d3e09bc212e0eaae79bab44a7d41 (patch) | |
tree | 17ec8ea99bc4268fe012f9da41404c85fb1d466e /devel/py-fann | |
parent | b5edca5632d771ff84a3f488840cbcd2ed75cbd3 (diff) | |
download | pkgsrc-409d5f250c97d3e09bc212e0eaae79bab44a7d41.tar.gz |
Python bindings for Fast Artificial Neural Network Library.
Diffstat (limited to 'devel/py-fann')
-rw-r--r-- | devel/py-fann/DESCR | 1 | ||||
-rw-r--r-- | devel/py-fann/Makefile | 15 | ||||
-rw-r--r-- | devel/py-fann/PLIST | 6 | ||||
-rw-r--r-- | devel/py-fann/distinfo | 6 | ||||
-rw-r--r-- | devel/py-fann/patches/patch-aa | 12 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/py-fann/DESCR b/devel/py-fann/DESCR new file mode 100644 index 00000000000..ab298b90313 --- /dev/null +++ b/devel/py-fann/DESCR @@ -0,0 +1 @@ +Python bindings for Fast Artificial Neural Network Library. diff --git a/devel/py-fann/Makefile b/devel/py-fann/Makefile new file mode 100644 index 00000000000..4dd940de9b7 --- /dev/null +++ b/devel/py-fann/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/05 14:56:23 gdt Exp $ + +.include "../../devel/fann/Makefile.common" +PKGNAME= ${PYPKGPREFIX}-fann-${FANNVERSION} + + +COMMENT= Fast Artificial Neural Network python interface + +#WRKSRC= work/fann-${FANNVERSION}/python +PYDISTUTILSPKG= YES +PYSETUPSUBDIR= python + +.include "../../devel/fann/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-fann/PLIST b/devel/py-fann/PLIST new file mode 100644 index 00000000000..0e9ed1b3823 --- /dev/null +++ b/devel/py-fann/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/05 14:56:23 gdt Exp $ +${PYSITELIB}/pyfann/_libfann.so +${PYSITELIB}/pyfann/libfann.py +${PYSITELIB}/pyfann/libfann.pyc +${PYSITELIB}/pyfann/libfann.pyo +@dirrm ${PYSITELIB}/pyfann diff --git a/devel/py-fann/distinfo b/devel/py-fann/distinfo new file mode 100644 index 00000000000..cb1eaafbd77 --- /dev/null +++ b/devel/py-fann/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/10/05 14:56:23 gdt Exp $ + +SHA1 (fann-2.0.0.tar.gz) = ca82372412501934cfdbccc3a994420c69e57bf2 +RMD160 (fann-2.0.0.tar.gz) = 71f59a6c1f13f8b9989ae9b8db0b64d0fbd53921 +Size (fann-2.0.0.tar.gz) = 2544249 bytes +SHA1 (patch-aa) = 15db8364e7598517cce3fc182bb3c5c7d46923a2 diff --git a/devel/py-fann/patches/patch-aa b/devel/py-fann/patches/patch-aa new file mode 100644 index 00000000000..172acc780ea --- /dev/null +++ b/devel/py-fann/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/10/05 14:56:23 gdt Exp $ + +--- python/setup.py.orig 2006-01-06 16:45:28.000000000 -0500 ++++ python/setup.py +@@ -40,6 +40,6 @@ setup(
+ url='http://sourceforge.net/projects/fann/',
+ license='GNU LESSER GENERAL PUBLIC LICENSE (LGPL)',
+ py_modules=['pyfann.libfann','pyfann.fann'],
+- ext_modules=[Extension('pyfann._libfann',['pyfann/pyfann.i','pyfann/fann_helper.c'], include_dirs=['../src/include'], extra_objects=['../src/doublefann.o']) ]
++ ext_modules=[Extension('pyfann._libfann',['pyfann/pyfann.i','pyfann/fann_helper.c'], include_dirs=['../src/include'], extra_objects=['/usr/pkg/lib/libdoublefann.a']) ]
+ )
+
|