blob: c0414c8ef904840ca10b67481a74e096dc3afa2f (
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
|
# $NetBSD: Makefile,v 1.8 2010/08/11 13:36:48 drochner Exp $
#
DISTNAME= sympy-0.6.7
PKGNAME= ${PYPKGPREFIX}-sympy-0.6.7
CATEGORIES= math
MASTER_SITES= http://sympy.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/sympy/
COMMENT= Python library for symbolic mathematics
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 26 25 24
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-extract:
${CP} ${WRKSRC}/bin/isympy ${WRKSRC}/bin/isympy${PYVERSSUFFIX}
${CP} ${WRKSRC}/doc/man/isympy.1 \
${WRKSRC}/doc/man/isympy${PYVERSSUFFIX}.1
# advanced.pidigits is broken, don't worry if it fails
do-test:
(cd ${WRKSRC}/examples && ${PYTHONBIN} all.py)
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|