34 lines
661 B
Makefile
34 lines
661 B
Makefile
# $OpenBSD: Makefile,v 1.2 2019/07/12 20:45:47 sthen Exp $
|
|
|
|
COMMENT = some useful dict-like structures
|
|
|
|
MODPY_EGG_VERSION = 1.04
|
|
DISTNAME = cooldict-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
HOMEPAGE = https://github.com/zardus/cooldict
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYTEST = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
RUN_DEPENDS = devel/py-ana${MODPY_FLAVOR}
|
|
|
|
# tests fail:
|
|
# ana.errors.ANAError: SimpleDataLayer does not support state loading.
|
|
do-test:
|
|
cd ${WRKSRC} && PYTHONPATH=. ${MODPY_BIN} cooldict.py
|
|
|
|
.include <bsd.port.mk>
|