pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-fann Python bindings for Fast Artificial Neur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10a163b7a643
branches:  trunk
changeset: 519571:10a163b7a643
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Oct 05 14:56:23 2006 +0000

description:
Python bindings for Fast Artificial Neural Network Library.

diffstat:

 devel/py-fann/DESCR            |   1 +
 devel/py-fann/Makefile         |  15 +++++++++++++++
 devel/py-fann/PLIST            |   6 ++++++
 devel/py-fann/distinfo         |   6 ++++++
 devel/py-fann/patches/patch-aa |  12 ++++++++++++
 5 files changed, 40 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r ac5dfcf0f244 -r 10a163b7a643 devel/py-fann/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-fann/DESCR       Thu Oct 05 14:56:23 2006 +0000
@@ -0,0 +1,1 @@
+Python bindings for Fast Artificial Neural Network Library.
diff -r ac5dfcf0f244 -r 10a163b7a643 devel/py-fann/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-fann/Makefile    Thu Oct 05 14:56:23 2006 +0000
@@ -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 -r ac5dfcf0f244 -r 10a163b7a643 devel/py-fann/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-fann/PLIST       Thu Oct 05 14:56:23 2006 +0000
@@ -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 -r ac5dfcf0f244 -r 10a163b7a643 devel/py-fann/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-fann/distinfo    Thu Oct 05 14:56:23 2006 +0000
@@ -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 -r ac5dfcf0f244 -r 10a163b7a643 devel/py-fann/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-fann/patches/patch-aa    Thu Oct 05 14:56:23 2006 +0000
@@ -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']) ]
+ )
+ 



Home | Main Index | Thread Index | Old Index