pkgsrc/devel/py-cython/Makefile
wiz 8333323c83 Update to 0.19.2:
0.19.2 (2013-10-13)
===================

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

* Some standard declarations were fixed or updated, including the previously
  incorrect declaration of ``PyBuffer_FillInfo()`` and some missing bits in
  ``libc.math``.

* Heap allocated subtypes of ``type`` used the wrong base type struct at the
  C level.

* Calling the unbound method dict.keys/value/items() in dict subtypes could
  call the bound object method instead of the unbound supertype method.

* "yield" wasn't supported in "return" value expressions.

* Using the "bint" type in memory views lead to unexpected results.
  It is now an error.

* Assignments to global/closure variables could catch them in an illegal state
  while deallocating the old value.
2013-10-20 22:04:31 +00:00

37 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.16 2013/10/20 22:04:31 wiz Exp $
DISTNAME= Cython-0.19.2
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
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_INCLUDE_3X= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
PLIST_VARS= cygdb
REPLACE_PYTHON+= Cython/Debugger/Cygdb.py
REPLACE_PYTHON+= Cython/Debugger/libpython.py
REPLACE_PYTHON+= cython.py
post-extract:
cd ${WRKSRC}/bin && ${MV} cython cython${PYVERSSUFFIX}
cd ${WRKSRC}/bin && ${MV} cygdb cygdb${PYVERSSUFFIX}
# for test only
#USE_LANGUAGES+= c++
do-test:
(cd ${WRKSRC} && ${PYTHONBIN} runtests.py)
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
# for test only
#.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"