pkgsrc/devel/py-cython/Makefile
adam 120b3cdf4c py-cython: updated to 0.29.5
0.29.5:
Bugs fixed
* Crash when defining a Python subclass of an extension type and repeatedly calling
  a cpdef method on it.
* Compiler crash when prange() loops appear inside of with-statements.
* Some C compiler warnings were resolved.
* Python conversion of C++ enums failed in 0.29.
2019-02-09 17:20:03 +00:00

33 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.53 2019/02/09 17:20:03 adam Exp $
DISTNAME= Cython-0.29.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cython.org/
COMMENT= C-Extensions for Python
LICENSE= apache-1.1
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 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} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
# for test only
#.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"