summaryrefslogtreecommitdiff
path: root/repo/electrum
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/electrum
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/electrum')
-rw-r--r--repo/electrum/0001-apk-add-instead-of-apt-get-install.patch22
-rw-r--r--repo/electrum/electrum.xibuild31
2 files changed, 0 insertions, 53 deletions
diff --git a/repo/electrum/0001-apk-add-instead-of-apt-get-install.patch b/repo/electrum/0001-apk-add-instead-of-apt-get-install.patch
deleted file mode 100644
index 29d2201..0000000
--- a/repo/electrum/0001-apk-add-instead-of-apt-get-install.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 46e1404ddad66422bd2106ff6e6954741191826e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20Adamski?= <michal@ert.pl>
-Date: Wed, 14 Oct 2020 11:06:33 +0200
-Subject: [PATCH] `apk add` instead of `apt-get install`
-
-
-diff --git a/electrum/gui/qt/__init__.py b/electrum/gui/qt/__init__.py
-index 1e1d2831f..b7fe2c42d 100644
---- a/electrum/gui/qt/__init__.py
-+++ b/electrum/gui/qt/__init__.py
-@@ -34,7 +34,7 @@ from typing import Optional, TYPE_CHECKING, List
- try:
- import PyQt5
- except Exception:
-- sys.exit("Error: Could not import PyQt5 on Linux systems, you may try 'sudo apt-get install python3-pyqt5'")
-+ sys.exit("Error: Could not import PyQt5 on Linux systems, you may try 'sudo apk add py3-qt5'")
-
- from PyQt5.QtGui import QGuiApplication
- from PyQt5.QtWidgets import (QApplication, QSystemTrayIcon, QWidget, QMenu,
---
-2.25.1
-
diff --git a/repo/electrum/electrum.xibuild b/repo/electrum/electrum.xibuild
deleted file mode 100644
index dd21511..0000000
--- a/repo/electrum/electrum.xibuild
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-NAME="electrum"
-DESC="Lightweight Bitcoin Wallet"
-
-MAKEDEPS="python python-pytest python-pyside2 python-mock"
-
-PKG_VER=4.3.1
-SOURCE="
- https://download.electrum.org/$PKG_VER/Electrum-$PKG_VER.tar.gz
- "
-
-ADDITIONAL="
-0001-apk-add-instead-of-apt-get-install.patch
-"
-prepare () {
- apply_patches
-}
-
-build() {
- python3 setup.py build
-}
-
-check() {
- CI=1 python3 -m pytest
-}
-
-package() {
- python3 setup.py install --prefix=/usr --root="$PKG_DEST"
- rm -r "${pkgdir:?}"/home
-}