pkgsrc/sysutils/py-Glances/Makefile
fox 75cbf623e4 sysutils/py-Glances: Update to 3.2.7
Changes since 3.2.6.4:

===============
Version 3.2.7
===============

Enhancements:

    * Config to disable all plugins by default (or enable an exclusive list) #2089
    * Keybind(s) for modifying nice level #2081
    * [WEBUI] Reorganize help screen #2037
    * Add a Json stdout option #2060
    * Improve error message when export error occures
    * Improve error message when MQTT error occures
    * Change the way core are displayed
    * Remove unused key in the process list
    * Refactor top menu of the curse interface
    * Improve Irix display for the load plugin

Bug corrected:

    * In the sensor plugin thresholds in the configuration file should overwrite system ones #2058
    * Drive names truncated in Web UI #2055
    * Correct issue with CPU label

Documentation and CI:

    * Improve makefile help #2078
    * Add quote to the update command line (already ok for the installation). Related to #2073
    * Make Glances (almost) compliant with REUSE #2042
    * Update README for Debian package users
    * Update documentation for Docker
    * Update docs for new shortcut
    * Disable Pyright on the Git actions pipeline
    * Refactor comments
    * Except datutil import error
    * Another dep issue solved in the Alpine Docker + issue in the outdated method

Contributors for this version:

    * Nicolargo
    * Sylvain MOUQUET
    * FastThenLeft
    * Jiajie Chen
    * dbrennand
    * ewuerger
2022-08-08 09:28:06 +00:00

44 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2022/08/08 09:28:06 fox Exp $
DISTNAME= Glances-3.2.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=G/Glances/}
MAINTAINER= fox@NetBSD.org
HOMEPAGE= https://nicolargo.github.io/glances/
COMMENT= Cross-platform curses-based monitoring tool
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-psutil>=5.3.0:../../sysutils/py-psutil
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
DEPENDS+= ${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel
DEPENDS+= ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Set correct prefix in setup.py
SUBST_FILES.prefix= ${WRKSRC}/setup.py
SUBST_SED.prefix= -e 's,share/man,${PKGMANDIR},'
post-extract:
# Removes the nodejs component which is not required.
${RM} -fR ${WRKSRC}/glances/outputs/static
post-install:
cd ${DESTDIR}${PREFIX} && \
${MV} bin/glances bin/glances-${PYVERSSUFFIX} && \
${MV} ${PKGMANDIR}/man1/glances.1 ${PKGMANDIR}/man1/glances-${PYVERSSUFFIX}.1 && \
${MV} share/doc/glances share/doc/glances-${PYVERSSUFFIX} && \
${MV} share/examples/glances share/examples/glances-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"