On Sat, Oct 17, 2020 at 02:50:04AM -0400, Daniel Dickman wrote:
> pyrex itself does not seem to need Numeric. Only a single example script 
> (which is used for testin) seems to need Numeric.

> Just remove that example script to clean up the need for Numeric

> ok?

ok kmos

--Kurt

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/pyrex/Makefile,v
> retrieving revision 1.19
> diff -u -p -u -r1.19 Makefile
> --- Makefile  26 Jan 2020 11:14:31 -0000      1.19
> +++ Makefile  17 Oct 2020 06:47:38 -0000
> @@ -5,7 +5,7 @@ COMMENT=      Python-alike language for writi
>  MODPY_EGG_VERSION=   0.9.9
>  DISTNAME=    Pyrex-${MODPY_EGG_VERSION}
>  PKGNAME=     ${DISTNAME:L}
> -REVISION =   1
> +REVISION =   2
>  CATEGORIES=  devel
>  
>  HOMEPAGE=    http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
> @@ -17,8 +17,6 @@ MASTER_SITES=       https://distfiles.sigtrap.
>               ${HOMEPAGE}
>  
>  MODULES=     lang/python
> -
> -TEST_DEPENDS=math/py-Numeric
>  
>  pre-build:
>       @perl -pi -e "s,/usr/bin/env python,${MODPY_BIN}," \
> Index: patches/patch-Demos_Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/pyrex/patches/patch-Demos_Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -r1.1.1.1 patch-Demos_Makefile
> --- patches/patch-Demos_Makefile      16 Nov 2006 01:09:38 -0000      1.1.1.1
> +++ patches/patch-Demos_Makefile      17 Oct 2020 06:47:38 -0000
> @@ -1,7 +1,8 @@
>  $OpenBSD: patch-Demos_Makefile,v 1.1.1.1 2006/11/16 01:09:38 alek Exp $
> ---- Demos/Makefile.orig      Sun Nov 12 22:04:13 2006
> -+++ Demos/Makefile   Sun Nov 12 22:04:14 2006
> -@@ -1,10 +1,10 @@
> +Index: Demos/Makefile
> +--- Demos/Makefile.orig
> ++++ Demos/Makefile
> +@@ -1,10 +1,9 @@
>   all:
>  -    python Setup.py build_ext --inplace
>  +    ${PYTHON} Setup.py build_ext --inplace
> @@ -11,7 +12,6 @@ $OpenBSD: patch-Demos_Makefile,v 1.1.1.1
>  -    python run_numeric_demo.py
>  -    python run_spam.py
>  +    ${PYTHON} run_primes.py 20
> -+    ${PYTHON} run_numeric_demo.py
>  +    ${PYTHON} run_spam.py
>       cd callback; $(MAKE) test
>   
> Index: patches/patch-Demos_Setup_py
> ===================================================================
> RCS file: patches/patch-Demos_Setup_py
> diff -N patches/patch-Demos_Setup_py
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-Demos_Setup_py      17 Oct 2020 06:47:38 -0000
> @@ -0,0 +1,13 @@
> +$OpenBSD$
> +
> +Index: Demos/Setup.py
> +--- Demos/Setup.py.orig
> ++++ Demos/Setup.py
> +@@ -8,7 +8,6 @@ setup(
> +   ext_modules=[ 
> +     Extension("primes",       ["primes.pyx"]),
> +     Extension("spam",         ["spam.pyx"]),
> +-    Extension("numeric_demo", ["numeric_demo.pyx"]),
> +     ],
> +   cmdclass = {'build_ext': build_ext}
> + )
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/pyrex/pkg/PLIST,v
> retrieving revision 1.4
> diff -u -p -u -r1.4 PLIST
> --- pkg/PLIST 5 Sep 2010 17:18:22 -0000       1.4
> +++ pkg/PLIST 17 Oct 2020 06:47:38 -0000
> @@ -145,10 +145,10 @@ share/examples/pyrex/embed/Makefile.unix
>  share/examples/pyrex/embed/README
>  share/examples/pyrex/embed/embedded.pyx
>  share/examples/pyrex/embed/main.c
> -share/examples/pyrex/numeric_demo.pyx
> +@comment share/examples/pyrex/numeric_demo.pyx
>  share/examples/pyrex/primes.pyx
>  share/examples/pyrex/pyprimes.py
> -share/examples/pyrex/run_numeric_demo.py
> +@comment share/examples/pyrex/run_numeric_demo.py
>  share/examples/pyrex/run_primes.py
>  share/examples/pyrex/run_spam.py
>  share/examples/pyrex/spam.pyx
> 

Reply via email to