1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/math/py-pysmt/Makefile
Mateusz Piotrowski 116c083715 math/py-pysmt: Update to 0.9.0
Release notes: https://github.com/pysmt/pysmt/releases/tag/v0.9.0

Also:
- Add some solvers to TEST_DEPENDS to skip less tests
- Drop support for Python 2, it's not longer supported upstream
2020-08-08 22:47:28 +00:00

33 lines
765 B
Makefile

# $FreeBSD$
PORTNAME= pysmt
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Solver-agnostic library for SMT formulae manipulation and solving
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}z3-solver>0:math/py-z3-solver@${PY_FLAVOR} \
z3>0:math/z3 \
cvc4>0:math/cvc4
USES= python:3.5+
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_PKGNAME= PySMT
NO_ARCH= yes
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v)
.include <bsd.port.mk>