pkgsrc/sysutils/py-Glances/Makefile
fox c0fcf1939f py-Glances: Update to 3.1.3
- Fixes the name of executable in ALTERNATIVES
- Removes the Node.js based WebUI assets from PLIST

Changes since 3.1.2:

Version 3.1.3
=============

Enhancements and new features:

  * Add a new TCP connections status plugin enhancement #1526
  * Add --enable-plugin option from the command line

Bugs corrected:

  * Fix custom refresh time in the web UI #1548 by notFloran
  * Fix issue in WebUI with empty docker stats #1546 by notFloran
  * Glances fails without network interface bug #1535
  * Disable option in the configuration file is now take into account

Others:

  * Sensors plugin is disable by default (high CPU consumption on some Liux distribution).
2019-10-16 11:07:57 +00:00

38 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2019/10/16 11:07:57 fox Exp $
DISTNAME= Glances-3.1.3
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
USE_LANGUAGES= # none
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"