2022-03-11 19:57:10 +00:00

38 lines
811 B
Makefile

COMMENT = pure python IPMI protocol library
MODPY_EGG_VERSION = 1.5.29
DISTNAME = pyghmi-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/${MODPY_PY_PREFIX}/}
REVISION = 0
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
CATEGORIES = sysutils
HOMEPAGE = https://github.com/openstack/pyghmi
# Apache2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
BUILD_DEPENDS = devel/py-pbr${MODPY_FLAVOR} \
security/py-cryptography${MODPY_FLAVOR}
RUN_DEPENDS = devel/py-dateutil${MODPY_FLAVOR} \
security/py-cryptography${MODPY_FLAVOR}
# Requires unported oslotest
NO_TEST = Yes
post-install:
.for s in fakebmc pyghmicons pyghmiutil virshbmc
mv ${PREFIX}/bin/$s{,${MODPY_BIN_SUFFIX}}
.endfor
.include <bsd.port.mk>