pkgsrc/devel/py-cython/Makefile
wiz d851399c0e Update to 0.23.4:
0.23.4 (2015-10-10)
===================

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

* Memory leak when calling Python functions in PyPy.

* Compilation problem with MSVC in C99-ish mode.

* Warning about unused values in a helper macro.


0.23.3 (2015-09-29)
===================

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

* Invalid C code for some builtin methods.  This fixes ticket 856 again.

* Incorrect C code in helper functions for PyLong conversion and string
  decoding.  This fixes ticket 863, ticket 864 and ticket 865.
  Original patch by Nikolaus Rath.

* Large folded or inserted integer constants could use too small C
  integer types and thus trigger a value wrap-around.

Other changes
-------------

* The coroutine and generator types of Cython now also register directly
  with the ``Coroutine`` and ``Generator`` ABCs in the ``backports_abc``
  module if it can be imported.  This fixes ticket 870.
2015-10-19 09:42:22 +00:00

38 lines
990 B
Makefile

# $NetBSD: Makefile,v 1.31 2015/10/19 09:42:22 wiz Exp $
DISTNAME= Cython-0.23.4
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"