pkgsrc-WIP-changes archive

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

py-electrum: fix dark theme



Module Name:	pkgsrc-wip
Committed By:	Stepan Ipatov <st.ipatov%gmail.com@localhost>
Pushed By:	st.ipatov
Date:		Mon Oct 27 23:43:16 2025 +0000
Changeset:	23b53db1c38171d4afef6a1025f588ab52933d18

Modified Files:
	py-electrum/Makefile
	py-electrum/PLIST
	py-electrum/TODO
	py-electrum/options.mk

Log Message:
py-electrum: fix dark theme

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

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

diffstat:
 py-electrum/Makefile   |  3 +++
 py-electrum/PLIST      | 12 ++++++------
 py-electrum/TODO       |  1 -
 py-electrum/options.mk |  2 +-
 4 files changed, 10 insertions(+), 8 deletions(-)

diffs:
diff --git a/py-electrum/Makefile b/py-electrum/Makefile
index ec30dafb17..796f44a4c3 100644
--- a/py-electrum/Makefile
+++ b/py-electrum/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	Electrum-4.6.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	https://download.electrum.org/4.6.2/
 
@@ -27,6 +28,8 @@ PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 USE_LANGUAGES=	# none
 
+WHEEL_NAME=	${DISTNAME:tl}
+
 REPLACE_PYTHON=		*.py
 
 .include "options.mk"
diff --git a/py-electrum/PLIST b/py-electrum/PLIST
index f20b07462d..b666e76156 100644
--- a/py-electrum/PLIST
+++ b/py-electrum/PLIST
@@ -1,11 +1,11 @@
 @comment $NetBSD$
 bin/electrum
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/METADATA
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/RECORD
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/WHEEL
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/licenses/AUTHORS
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/licenses/LICENCE
-${PYSITELIB}/electrum-${PKGVERSION}.dist-info/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENCE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/electrum/__init__.py
 ${PYSITELIB}/electrum/__init__.pyc
 ${PYSITELIB}/electrum/__init__.pyo
diff --git a/py-electrum/TODO b/py-electrum/TODO
index 0b95a4cff5..20f68db128 100644
--- a/py-electrum/TODO
+++ b/py-electrum/TODO
@@ -1,2 +1 @@
-* Dark theme support is currently unavailable, as the required dependency wip/py-qdarkstyle is presently broken.
 * Hardware wallets (Ledger, Trezor, KeepKey) are not yet supported due to the absence of several required dependencies.
diff --git a/py-electrum/options.mk b/py-electrum/options.mk
index 3e99f862b0..b9f6f26c7e 100644
--- a/py-electrum/options.mk
+++ b/py-electrum/options.mk
@@ -9,5 +9,5 @@ PKG_SUGGESTED_OPTIONS=		x11
 
 .if !empty(PKG_OPTIONS:Mx11)
 DEPENDS+=	${PYPKGPREFIX}-qt6>=6.9.0:../../x11/py-qt6
-#DEPENDS+=	${PYPKGPREFIX}-qdarkstyle>=3.2:../../wip/py-qdarkstyle
+DEPENDS+=	${PYPKGPREFIX}-qdarkstyle>=3.2:../../wip/py-qdarkstyle
 .endif


Home | Main Index | Thread Index | Old Index