diff options
author | gdt <gdt@pkgsrc.org> | 2006-10-12 19:05:08 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2006-10-12 19:05:08 +0000 |
commit | aca739dd2262175e49d8b854cafd6a2b8f5941d9 (patch) | |
tree | ee6d564c8a4a26a1c9abfeb333e92d7a4d10254e | |
parent | 543e1daba06276443614efb1e981e668bc878053 (diff) | |
download | pkgsrc-aca739dd2262175e49d8b854cafd6a2b8f5941d9.tar.gz |
Use fann-devel rather than fann; python support in 2.0.0 doesn't work.
-rw-r--r-- | devel/py-fann/Makefile | 11 | ||||
-rw-r--r-- | devel/py-fann/PLIST | 5 | ||||
-rw-r--r-- | devel/py-fann/distinfo | 10 | ||||
-rw-r--r-- | devel/py-fann/patches/patch-aa | 21 |
4 files changed, 23 insertions, 24 deletions
diff --git a/devel/py-fann/Makefile b/devel/py-fann/Makefile index a6b357d5d58..dcd7ee4cd97 100644 --- a/devel/py-fann/Makefile +++ b/devel/py-fann/Makefile @@ -1,15 +1,16 @@ -# $NetBSD: Makefile,v 1.4 2006/10/05 18:51:01 gdt Exp $ +# $NetBSD: Makefile,v 1.5 2006/10/12 19:05:08 gdt Exp $ -.include "../../devel/fann/Makefile.common" -PKGNAME= ${PYPKGPREFIX}-fann-${FANNVERSION} -PKGREVISION= 1 +.include "../../devel/fann-devel/Makefile.common" +PKGNAME= ${PYPKGPREFIX}-fann-${FANNVERSION}.${FANNDATE} COMMENT= Fast Artificial Neural Network python interface +USE_LANGUAGES= c c++ + PYDISTUTILSPKG= YES PYSETUPSUBDIR= python -.include "../../devel/fann/buildlink3.mk" +.include "../../devel/fann-devel/buildlink3.mk" .include "../../devel/swig/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-fann/PLIST b/devel/py-fann/PLIST index 71a8fbc78d5..c03da0eb0be 100644 --- a/devel/py-fann/PLIST +++ b/devel/py-fann/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2006/10/05 18:51:01 gdt Exp $ +@comment $NetBSD: PLIST,v 1.3 2006/10/12 19:05:08 gdt Exp $ ${PYSITELIB}/pyfann/__init__.py ${PYSITELIB}/pyfann/__init__.pyc ${PYSITELIB}/pyfann/__init__.pyo @@ -6,7 +6,4 @@ ${PYSITELIB}/pyfann/_libfann.so ${PYSITELIB}/pyfann/libfann.py ${PYSITELIB}/pyfann/libfann.pyc ${PYSITELIB}/pyfann/libfann.pyo -${PYSITELIB}/pyfann/fann.py -${PYSITELIB}/pyfann/fann.pyc -${PYSITELIB}/pyfann/fann.pyo @dirrm ${PYSITELIB}/pyfann diff --git a/devel/py-fann/distinfo b/devel/py-fann/distinfo index bb6964eeb2d..77cdf684ec0 100644 --- a/devel/py-fann/distinfo +++ b/devel/py-fann/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2006/10/05 18:51:01 gdt Exp $ +$NetBSD: distinfo,v 1.3 2006/10/12 19:05:08 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) = 889cf88228a29728cc5fd15378251e3460d71db7 +SHA1 (fann-2.1.0-20061012.tar.bz2) = 4ad8f9a55e3410bbb3a583e9466a774acd1c574e +RMD160 (fann-2.1.0-20061012.tar.bz2) = caf138cb743752108c66a8b2542bc4cffe1c6e67 +Size (fann-2.1.0-20061012.tar.bz2) = 3396644 bytes +SHA1 (patch-aa) = 5b283f9682aca1cba3b4bd2ebbb1aa605ed4630a diff --git a/devel/py-fann/patches/patch-aa b/devel/py-fann/patches/patch-aa index 0a3c67b15b5..fd7197cd19e 100644 --- a/devel/py-fann/patches/patch-aa +++ b/devel/py-fann/patches/patch-aa @@ -1,12 +1,13 @@ -$NetBSD: patch-aa,v 1.2 2006/10/05 18:51:01 gdt Exp $ +$NetBSD: patch-aa,v 1.3 2006/10/12 19:05:08 gdt Exp $ ---- python/setup.py.orig 2006-01-06 16:45:28.000000000 -0500 +--- python/setup.py.orig 2006-03-18 12:37:12.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'], libraries=['doublefann'] )]
- )
-
+@@ -42,7 +42,7 @@ setup(
+ py_modules=['pyfann.libfann'],
+ ext_modules=[Extension('pyfann._libfann',['pyfann/pyfann_wrap.cxx'],
+ include_dirs=['../src/include'],
+- extra_objects=['../src/doublefann.o'],
++ libraries=['doublefann'],
+ define_macros=[("SWIG_COMPILE",None)]
+ ),
+ ]
|