changes (CPUSTATES/etc). Last part. - some of these might be in code that's not actually built or rarely used but it's not worth the hassle evaluating that, i'm just bumping & moving on. - as mentioned before, there might still be runtime problems relating to the addition or renumbering.
34 lines
735 B
Makefile
34 lines
735 B
Makefile
# $OpenBSD: Makefile,v 1.10 2018/06/01 15:44:28 sthen Exp $
|
|
|
|
COMMENT = library to retrieve system information and utilisation
|
|
|
|
MODPY_EGG_VERSION = 5.4.3
|
|
GH_ACCOUNT = giampaolo
|
|
GH_PROJECT = psutil
|
|
GH_TAGNAME = release-${MODPY_EGG_VERSION}
|
|
DISTNAME = psutil-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-psutil-${MODPY_EGG_VERSION}
|
|
CATEGORIES = sysutils
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = https://github.com/giampaolo/psutil
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += kvm pthread ${MODPY_WANTLIB}
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
TEST_DEPENDS = ${BUILD_PKGPATH} \
|
|
devel/py-mock${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
.if ! ${FLAVOR:Mpython3}
|
|
TEST_DEPENDS += net/py-ipaddress${MODPY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|