mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
32 lines
776 B
Makefile
32 lines
776 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
|
|
PORTNAME= sympy
|
|
PORTVERSION= 1.9
|
|
CATEGORIES= math python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Python Library For Symbolic Mathematics
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${PY_FLAVOR}
|
|
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= PYGLET
|
|
PYGLET_DESC= Enable plotting support
|
|
|
|
PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:graphics/py-pyglet@${PY_FLAVOR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s#share/man/man1#man/man1#" ${WRKSRC}/setup.py
|
|
|
|
do-test: install
|
|
(cd ${WRKSRC} && py.test)
|
|
|
|
.include <bsd.port.mk>
|