blob: 3d8e8208f4b79ee367b3a03931ad7f0684c70a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.19 2014/02/18 16:13:31 wiz Exp $
DISTNAME= Cython-0.20
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/}
PKGREVISION= 1
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} 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"
|