pkgsrc/devel/py-cython/Makefile
wiz 7d5f947d27 Update to 0.22:
0.22.1 (2015-06-20)
===================

Bugs fixed
----------

* Crash when returning values on generator termination.

* In some cases, exceptions raised during internal isinstance() checks were
  not propagated.

* Runtime reported file paths of source files (e.g for profiling and tracing)
  are now relative to the build root directory instead of the main source file.

* Tracing exception handling code could enter the trace function with an active
  exception set.

* The internal generator function type was not shared across modules.

* Comparisons of (inferred) ctuples failed to compile.

* Closures inside of cdef functions returning ``void`` failed to compile.

* Using ``const`` C++ references in intermediate parts of longer expressions
  could fail to compile.

* C++ exception declarations with mapping functions could fail to compile when
  pre-declared in .pxd files.

* C++ compilation could fail with an ambiguity error in recent MacOS-X Xcode
  versions.

* C compilation could fail in pypy3.

* Fixed a memory leak in the compiler when compiling multiple modules.

* When compiling multiple modules, external library dependencies could leak
  into later compiler runs.  Fix by Jeroen Demeyer.  This fixes ticket 845.
2015-07-01 09:55:42 +00:00

38 lines
990 B
Makefile

# $NetBSD: Makefile,v 1.27 2015/07/01 09:55:42 wiz Exp $
DISTNAME= Cython-0.22.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/}
CATEGORIES= lang python
MASTER_SITES= http://cython.org/release/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://cython.org/
COMMENT= C-Extensions for Python
LICENSE= apache-1.1
USE_LANGUAGES= c
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PLIST_VARS= cygdb
REPLACE_PYTHON+= Cython/Build/Cythonize.py
REPLACE_PYTHON+= Cython/Debugger/Cygdb.py
REPLACE_PYTHON+= Cython/Debugger/libpython.py
REPLACE_PYTHON+= cython.py
# for test only
#USE_LANGUAGES+= c++
do-test:
(cd ${WRKSRC} && ${PYTHONBIN} runtests.py)
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} cython cython${PYVERSSUFFIX} && \
${MV} cythonize cythonize${PYVERSSUFFIX} && \
${MV} cygdb cygdb${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
# for test only
#.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"