we expected and it's easier|safer to do it this way than fiddle with pkg_add now. thanks aja for update tests with a quick bulk.
42 lines
781 B
Makefile
42 lines
781 B
Makefile
# $OpenBSD: Makefile,v 1.52 2019/04/28 20:51:41 sthen Exp $
|
|
|
|
# no libGL (toolchain issue)
|
|
NOT_FOR_ARCHS= m88k
|
|
|
|
COMMENT= cairo bindings for Python
|
|
|
|
MODPY_EGG_VERSION= 1.18.1
|
|
GH_ACCOUNT= pygobject
|
|
GH_PROJECT= pycairo
|
|
GH_TAGNAME= v${MODPY_EGG_VERSION}
|
|
PKGNAME= py-cairo-${MODPY_EGG_VERSION}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= https://pycairo.readthedocs.io
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# LGPLv2.1 / MPL 1.1
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += ${MODPY_WANTLIB} cairo pthread
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
FLAVORS= python3
|
|
FLAVOR ?=
|
|
|
|
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
|
|
graphics/cairo
|
|
|
|
TEST_DEPENDS= devel/py-test${MODPY_FLAVOR}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${MODPY_BIN} ./${MODPY_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|