Changes 1.1.1: Units ----- Fix an issue with the Quantity Add postprocessor in Python 3.6. Support functions with quantities and dimensions. Fix addition of a quantity and a number. Workaround power of a quantity. Fix SI prefix definitions Core ---- Fix the Add/Mul postprocessor logic for subclasses. Fix various recursion issues in the Add assumptions that prevented isympy from working with the cache off. Fix some test failures on 32-bit systems. Allow for complex NumPy scalars in sympify. Code generation --------------- Only call asarray in lambdify on Python builtin numeric types. Fixes lambdify for array subclasses such as xarray. Fix using preprocessor_statements kwarg in CCodeGen. Matrices -------- Fix stacking of empty matrices. Other ----- Build the docs with the latest version of Sphinx. Fixes the search functionality being broken in the docs. Fix the language classifiers in setup.py
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2017/09/17 11:53:47 adam Exp $
|
|
|
|
DISTNAME= sympy-1.1.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://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"
|