pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-bpytop: Move the package to the correct name for python packages.
Module Name: pkgsrc-wip
Committed By: Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By: fox
Date: Sun Apr 12 10:29:29 2026 +0200
Changeset: b4050c0ae1cf494ebade54534fe83d39bbdf3434
Added Files:
py-bpytop/DESCR
py-bpytop/Makefile
py-bpytop/PLIST
py-bpytop/distinfo
py-bpytop/patches/patch-pyproject.toml
Removed Files:
bpytop/DESCR
bpytop/Makefile
bpytop/PLIST
bpytop/distinfo
Log Message:
py-bpytop: Move the package to the correct name for python packages.
While here also
- Make package depend on wheel for building.
- Patch pyproject.toml for the correct poetry backend.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b4050c0ae1cf494ebade54534fe83d39bbdf3434
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bpytop/DESCR | 17 -----------------
bpytop/Makefile | 19 -------------------
bpytop/PLIST | 11 -----------
bpytop/distinfo | 5 -----
py-bpytop/DESCR | 17 +++++++++++++++++
py-bpytop/Makefile | 24 ++++++++++++++++++++++++
py-bpytop/PLIST | 10 ++++++++++
py-bpytop/distinfo | 6 ++++++
py-bpytop/patches/patch-pyproject.toml | 12 ++++++++++++
9 files changed, 69 insertions(+), 52 deletions(-)
diffs:
diff --git a/bpytop/DESCR b/bpytop/DESCR
deleted file mode 100644
index 2be2839a04..0000000000
--- a/bpytop/DESCR
+++ /dev/null
@@ -1,17 +0,0 @@
-Resource monitor that shows usage and stats for processor, memory,
-disks, network and processes. Python port and continuation of bashtop.
-
-Features:
-
-- Easy to use, with a game inspired menu system.
-- Full mouse support, all buttons with a highlighted key is clickable
- and mouse scroll works in process list and menu boxes.
-- Fast and responsive UI with UP, DOWN keys process selection.
-- Function for showing detailed stats for selected process.
-- Ability to filter processes, multiple filters can be entered.
-- Easy switching between sorting options.
-- Send SIGTERM, SIGKILL, SIGINT to selected process.
-- UI menu for changing all config file options.
-- Auto scaling graph for network usage.
-- Shows message in menu if new version is available
-- Shows current read and write speeds for disks
diff --git a/bpytop/Makefile b/bpytop/Makefile
deleted file mode 100644
index 2b98232acf..0000000000
--- a/bpytop/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD$
-
-DISTNAME= bpytop-1.0.68
-CATEGORIES= sysutils python
-MASTER_SITES= ${MASTER_SITE_PYPI:=b/bpytop/}
-
-MAINTAINER= kamelderouiche%yahoo.com@localhost
-HOMEPAGE= https://github.com/aristocratos/bpytop
-COMMENT= Stats for processor, memory, disks, network and processes
-LICENSE= apache-2.0
-
-DEPENDS+= ${PYPKGPREFIX}-psutil>=5.7.0:../../sysutils/py-psutil
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
-USE_LANGUAGES= # none
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/bpytop/PLIST b/bpytop/PLIST
deleted file mode 100644
index 2e634d88c3..0000000000
--- a/bpytop/PLIST
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD$
-bin/bpytop
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/bpytop.py
-${PYSITELIB}/bpytop.pyc
-${PYSITELIB}/bpytop.pyo
diff --git a/bpytop/distinfo b/bpytop/distinfo
deleted file mode 100644
index 5f5fbe5416..0000000000
--- a/bpytop/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (bpytop-1.0.68.tar.gz) = 611ecaea4a8c7850c8c5685b854d773bf94d10cd33a899ba553c992028d6e76a
-SHA512 (bpytop-1.0.68.tar.gz) = 3525a3cce9b039c4ffe310d829866570119b3d36da4a73e5a0c94cc22e1044ce710ad02d205bef9d52cfdf6fabd434523d7d753c5950f160c8594627dcdbed6f
-Size (bpytop-1.0.68.tar.gz) = 78658 bytes
diff --git a/py-bpytop/DESCR b/py-bpytop/DESCR
new file mode 100644
index 0000000000..2be2839a04
--- /dev/null
+++ b/py-bpytop/DESCR
@@ -0,0 +1,17 @@
+Resource monitor that shows usage and stats for processor, memory,
+disks, network and processes. Python port and continuation of bashtop.
+
+Features:
+
+- Easy to use, with a game inspired menu system.
+- Full mouse support, all buttons with a highlighted key is clickable
+ and mouse scroll works in process list and menu boxes.
+- Fast and responsive UI with UP, DOWN keys process selection.
+- Function for showing detailed stats for selected process.
+- Ability to filter processes, multiple filters can be entered.
+- Easy switching between sorting options.
+- Send SIGTERM, SIGKILL, SIGINT to selected process.
+- UI menu for changing all config file options.
+- Auto scaling graph for network usage.
+- Shows message in menu if new version is available
+- Shows current read and write speeds for disks
diff --git a/py-bpytop/Makefile b/py-bpytop/Makefile
new file mode 100644
index 0000000000..614bb4053e
--- /dev/null
+++ b/py-bpytop/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME= bpytop-1.0.68
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/g/G/}
+CATEGORIES= sysutils python
+MASTER_SITES= ${MASTER_SITE_PYPI:=b/bpytop/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/aristocratos/bpytop
+COMMENT= Stats for processor, memory, disks, network and processes
+LICENSE= apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=0.12:../../devel/py-poetry-core
+DEPENDS+= ${PYPKGPREFIX}-psutil>=5.7.0:../../sysutils/py-psutil
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON= bpytop.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-bpytop/PLIST b/py-bpytop/PLIST
new file mode 100644
index 0000000000..263489e4d0
--- /dev/null
+++ b/py-bpytop/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/bpytop
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/bpytop.py
+${PYSITELIB}/bpytop.pyc
+${PYSITELIB}/bpytop.pyo
diff --git a/py-bpytop/distinfo b/py-bpytop/distinfo
new file mode 100644
index 0000000000..01e7ebe51c
--- /dev/null
+++ b/py-bpytop/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (bpytop-1.0.68.tar.gz) = 611ecaea4a8c7850c8c5685b854d773bf94d10cd33a899ba553c992028d6e76a
+SHA512 (bpytop-1.0.68.tar.gz) = 3525a3cce9b039c4ffe310d829866570119b3d36da4a73e5a0c94cc22e1044ce710ad02d205bef9d52cfdf6fabd434523d7d753c5950f160c8594627dcdbed6f
+Size (bpytop-1.0.68.tar.gz) = 78658 bytes
+SHA1 (patch-pyproject.toml) = 1d550b1d146de7b24d43ee71ac84d89dcb171abc
diff --git a/py-bpytop/patches/patch-pyproject.toml b/py-bpytop/patches/patch-pyproject.toml
new file mode 100644
index 0000000000..b34e1e9dba
--- /dev/null
+++ b/py-bpytop/patches/patch-pyproject.toml
@@ -0,0 +1,12 @@
+$NetBSD$
+
+Replace the deprecated poetry backend.
+
+--- pyproject.toml.orig 2026-04-12 08:11:43.424528978 +0000
++++ pyproject.toml
+@@ -23,4 +23,4 @@ bpytop = "bpytop:main"
+
+ [build-system]
+ requires = ["poetry>=0.12"]
+-build-backend = "poetry.masonry.api"
++build-backend = "poetry.core.masonry.api"
Home |
Main Index |
Thread Index |
Old Index