forked from Lainports/freebsd-ports
Provides easy storaging of Python objects in a SQLite 3 database and working with the data in an easy way with concise syntax. WWW: https://github.com/thp/minidb
26 lines
603 B
Makefile
26 lines
603 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= minidb
|
|
DISTVERSION= 2.0.2
|
|
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} \
|
|
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
|
|
|
USES= python:3.3+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v
|
|
|
|
.include <bsd.port.mk>
|