Files
sthen 4bc2c599d6 don't include stray __pycache__ dir, that is present in the sdist, in the
package. py-installer 1.0.0 will strip that ("Do not install __pycache__
from wheels")
2026-03-30 11:13:17 +00:00

34 lines
723 B
Makefile

COMMENT = cross-platform curses-based monitoring tool
MODPY_DISTV = 4.5.1
REVISION = 0
DISTNAME = glances-${MODPY_DISTV}
EPOCH = 0
CATEGORIES = sysutils
HOMEPAGE = https://nicolargo.github.io/glances
MAINTAINER = Laurent Cheylus <foxy@free.fr>
# LGPLv3
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PYBUILD = setuptools
MODPY_PI = Yes
# XXX to run properly, tests need fastapi (not ported) and a github checkout,
# pypi sdist is missing tests-data and tests/conftest.py
MODPY_PYTEST_ARGS = tests/test_core.py
RUN_DEPENDS = sysutils/py-psutil \
sysutils/py-packaging \
textproc/py-defusedxml
pre-configure:
sed -i 's,/etc,${SYSCONFDIR},g' ${WRKSRC}/glances/config.py
.include <bsd.port.mk>