660a9b7ef5
* Update the TEST_DEPENDS and adjust output of test suite to give a summary about skipped tests as well. Changelog: https://github.com/thp/minidb/compare/2.0.2...2.0.4
26 lines
546 B
Makefile
26 lines
546 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= minidb
|
|
DISTVERSION= 2.0.4
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Simple SQLite3-based store for Python objects
|
|
|
|
LICENSE= ISCL
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.3+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
|
|
|
.include <bsd.port.mk>
|