1a760da5b0
Changes: - Fix a regression in 1.5 that allowed expressions to compare equal to strings, and caused == to call str() on the other object. - Avoid using scipy versions of numpy functions, which are deprecated, in lambdify. Take MAINTAINERship.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2020/01/31 04:51:40 minskim Exp $
|
|
|
|
DISTNAME= sympy-1.5.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://www.sympy.org/
|
|
COMMENT= Python library for symbolic mathematics
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.19:../../math/py-mpmath
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
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/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|