# $NetBSD: Makefile,v 1.14 2014/01/21 08:38:04 wiz Exp $ DISTNAME= sympy-0.7.4.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math MASTER_SITES= https://github.com/sympy/sympy/releases/download/${DISTNAME}/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://code.google.com/p/sympy/ COMMENT= Python library for symbolic mathematics LICENSE= modified-bsd USE_LANGUAGES= # none PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} REPLACE_PYTHON+= sympy/mpmath/tests/runtests.py REPLACE_PYTHON+= sympy/utilities/tests/diagnose_imports.py SUBST_CLASSES+= manpath SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},' SUBST_FILES.manpath+= setup.py SUBST_STAGE.manpath= pre-configure SUBST_MESSAGE.manpath= Fix man page installation path. # advanced.pidigits is broken, don't worry if it fails do-test: (cd ${WRKSRC}/examples && ${PYTHONBIN} all.py) post-install: cd ${DESTDIR}${PREFIX} && \ mv bin/isympy bin/isympy${PYVERSSUFFIX} && \ mv ${PKGMANDIR}/man1/isympy.1 \ ${PKGMANDIR}/man1/isympy${PYVERSSUFFIX}.1 .include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk"