37 lines
850 B
Makefile
37 lines
850 B
Makefile
# $OpenBSD: Makefile,v 1.7 2020/07/03 21:12:49 sthen Exp $
|
|
|
|
COMMENT = generic test automation framework for acceptance testing
|
|
|
|
MODPY_EGG_VERSION = 3.1.2
|
|
|
|
# We could use PyPI, but the test suite is not distributed via that means.
|
|
GH_ACCOUNT = robotframework
|
|
GH_PROJECT = robotframework
|
|
GH_TAGNAME = v${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = devel
|
|
|
|
# Apache
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH}
|
|
|
|
post-install:
|
|
.for i in rebot robot
|
|
mv ${PREFIX}/bin/$i ${PREFIX}/bin/$i${MODPY_BIN_SUFFIX}
|
|
.endfor
|
|
|
|
# There is also a suite of acceptance tests, but they are *very* slow and
|
|
# it asks the user to type things and click stuff.
|
|
do-test:
|
|
cd ${WRKSRC}/utest && ${MODPY_BIN} run.py
|
|
|
|
.include <bsd.port.mk>
|