pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bashtop: Update to v0.9.25



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Sun Apr 12 12:35:30 2026 +0200
Changeset:	873e3531433c650938de126793ee950b54b9e855

Modified Files:
	bashtop/Makefile
	bashtop/distinfo

Log Message:
bashtop: Update to v0.9.25

- Fix the build in NetBSD.
- Add proper runtime dependencies.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=873e3531433c650938de126793ee950b54b9e855

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bashtop/Makefile | 23 ++++++++++++++---------
 bashtop/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 12 deletions(-)

diffs:
diff --git a/bashtop/Makefile b/bashtop/Makefile
index 577096868d..2de6768668 100644
--- a/bashtop/Makefile
+++ b/bashtop/Makefile
@@ -1,27 +1,32 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	bashtop
-GITHUB_TAG=	v0.8.14
-DISTNAME=	v0.8.14
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
-CATEGORIES=	sysutils
+DISTNAME=	bashtop-0.9.25
+CATEGORIES=	sysutils python
 MASTER_SITES=	${MASTER_SITE_GITHUB:=aristocratos/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	dan%alt.md@localhost
 HOMEPAGE=	https://github.com/aristocratos/bashtop/
-COMMENT=	Linux resource monitor
+COMMENT=	Linux/OSX/FreeBSD resource monitor
 LICENSE=	apache-2.0
 
-ONLY_FOR_PLATFORM=	Linux-*-*
+USE_TOOLS=	bash:run
+RUN_DEPENDS=	${PYPKGPREFIX}-psutil>=5.7.0:../../sysutils/py-psutil
 
-WRKSRC=		${WRKDIR}/bashtop-0.8.14
 USE_LANGUAGES=	# none
 NO_BUILD=	yes
 
+SUBST_CLASSES+=			fix-python-interp
+SUBST_STAGE.fix-python-interp=	pre-install
+SUBST_FILES.fix-python-interp=	bashtop
+SUBST_SED.fix-python-interp=	-e 's|python3|${PYTHONBIN}|g'
+
+REPLACE_BASH=	bashtop
+
 INSTALLATION_DIRS+=	bin
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bashtop ${DESTDIR}${PREFIX}/bin
 
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/bashtop/distinfo b/bashtop/distinfo
index ea199d46fe..70663873e3 100644
--- a/bashtop/distinfo
+++ b/bashtop/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (bashtop/v0.8.14.tar.gz) = c3a0670dd4288805164e0afdbd48ea4224dbb334
-SHA512 (bashtop/v0.8.14.tar.gz) = 8fd2f4d0fff00baa91e657a67abca5c486b62402e2c41774f1fc649b95e0148c1e27530c7dbc955b01e20ec52caefa5f5d4d0bd13ad07d2660e8e2ffe9a17039
-Size (bashtop/v0.8.14.tar.gz) = 418001 bytes
+BLAKE2s (bashtop-0.9.25.tar.gz) = 7398a6cc9323b863f60afe40723055921c4480cf8964aba5012a4d53e26cc07c
+SHA512 (bashtop-0.9.25.tar.gz) = bd70c1e5b8876be38afe5987e60af0d59496532e6f0a87d2b3cd62c2a251fe627d0fac77e757f01979a6d20b43948860f0bcba4d8a1c54f8ef52d02ad4547a7f
+Size (bashtop-0.9.25.tar.gz) = 443776 bytes


Home | Main Index | Thread Index | Old Index