0391d31327
Changelog: https://github.com/spyder-ide/qtawesome/blob/v0.6.0/CHANGELOG.md kmos@ added the bits to enable tests. Thank you! OK kmos@
35 lines
737 B
Makefile
35 lines
737 B
Makefile
# $OpenBSD: Makefile,v 1.6 2019/11/11 18:38:03 bket Exp $
|
|
|
|
COMMENT = FontAwesome icons in PyQt and PySide applications
|
|
|
|
MODPY_EGG_VERSION = 0.6.0
|
|
DISTNAME = QtAwesome-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-qtawesome-${MODPY_EGG_VERSION}
|
|
CATEGORIES = x11
|
|
|
|
HOMEPAGE = https://github.com/spyder-ide/qtawesome
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
|
|
x11/py-qtpy${MODPY_FLAVOR}
|
|
TEST_DEPENDS = x11/py-qt5${MODPY_FLAVOR}
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
MODPY_PYTEST_ARGS = qtawesome
|
|
|
|
# Wants py-qtbot for one test but doesn't work *with* py-qtbot
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
pre-test:
|
|
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
|
|
|
.include <bsd.port.mk>
|