* Re: electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
@ 2024-11-10 19:25 ` ar-jan
2024-11-11 13:24 ` [PR PATCH] [Updated] " ar-jan
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ar-jan @ 2024-11-10 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
New comment by ar-jan on void-packages repository
https://github.com/void-linux/void-packages/pull/52984#issuecomment-2466855291
Comment:
Ping @lemmi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
2024-11-10 19:25 ` ar-jan
@ 2024-11-11 13:24 ` ar-jan
2024-11-11 13:25 ` ar-jan
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ar-jan @ 2024-11-11 13:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages electrum
https://github.com/void-linux/void-packages/pull/52984
electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package: python3-jsonpatch
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
python3-jsonpatch is required for electrum v4.5.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/52984.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-electrum-52984.patch --]
[-- Type: text/x-diff, Size: 4268 bytes --]
From 24faeccd4587a6fdbd07aa1b0e1b3ed33b9961e2 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 17:58:22 +0100
Subject: [PATCH 1/3] New package: python3-jsonpatch-1.33
---
srcpkgs/python3-jsonpatch/template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/python3-jsonpatch/template
diff --git a/srcpkgs/python3-jsonpatch/template b/srcpkgs/python3-jsonpatch/template
new file mode 100644
index 00000000000000..4ad872a3a86fdb
--- /dev/null
+++ b/srcpkgs/python3-jsonpatch/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-jsonpatch'
+pkgname=python3-jsonpatch
+version=1.33
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-pypandoc"
+depends="python3-jsonpointer"
+checkdepends="$depends"
+short_desc="Apply JSON Patches according to RFC 6902"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/stefankoegl/python-json-patch"
+distfiles="https://github.com/stefankoegl/python-json-patch/archive/v${version}.tar.gz"
+checksum=c0163a2703dd8fa6be9c3018bcff6723bdfb240c8d56fb62d0673043cf647cda
+
+do_check() {
+ python -m unittest
+}
+
+post_install() {
+ vlicense LICENSE
+}
From 63038d1bf00a75eb93205564e4b63991612cbc87 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 18:26:17 +0100
Subject: [PATCH 2/3] libsecp256k1: update to 0.5.1.
---
srcpkgs/libsecp256k1/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/libsecp256k1/template b/srcpkgs/libsecp256k1/template
index 428975a6205903..8b834a9b81957c 100644
--- a/srcpkgs/libsecp256k1/template
+++ b/srcpkgs/libsecp256k1/template
@@ -1,6 +1,6 @@
# Template file for 'libsecp256k1'
pkgname=libsecp256k1
-version=0.4.1
+version=0.5.1
revision=1
build_style=gnu-configure
configure_args="--disable-benchmark --disable-coverage --enable-experimental
@@ -12,7 +12,7 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://github.com/bitcoin-core/secp256k1"
distfiles="https://github.com/bitcoin-core/secp256k1/archive/v${version}.tar.gz"
-checksum="31b1a03c7365dbce7aff4be9526243da966c58a8b88b6255556d51b3016492c5"
+checksum="081f4730becba2715a6b0fd198fedd9e649a6caaa6a7d6d3cf0f9fa7483f2cf1"
pre_configure() {
./autogen.sh
From 4392c7555c5e4644eab9457e789a4d457463f3d5 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 16:30:27 +0100
Subject: [PATCH 3/3] electrum: update to 4.5.8.
---
srcpkgs/electrum/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/electrum/template b/srcpkgs/electrum/template
index f269ad008f807d..58c07e3b45283e 100644
--- a/srcpkgs/electrum/template
+++ b/srcpkgs/electrum/template
@@ -1,14 +1,15 @@
# Template file for 'electrum'
pkgname=electrum
-version=4.4.6
-revision=2
+version=4.5.8
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
+hostmakedepends="python3-setuptools python3-pyqt6-devel-tools"
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
- python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib
- python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5
+ python3-dnspython python3-ecdsa python3-jsonrpclib python3-Pillow
+ python3-protobuf python3-pyaes python3-pycryptodomex python3-pyqt6
python3-qrcode python3-socks python3-cryptography libsecp256k1
- python3-certifi libzbar"
+ python3-async-timeout python3-certifi python3-jsonpatch libzbar
+ python3-pyqt6-declarative python3-pyqt6-gui python3-pyqt6-network"
# Optional dependencies:
# btchip - BTChip hardware wallet support
# trezor - TREZOR hardware wallet support
@@ -21,7 +22,7 @@ license="MIT"
homepage="https://electrum.org/"
changelog="https://raw.githubusercontent.com/spesmilo/electrum/master/RELEASE-NOTES"
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
-checksum=8bec8bfcee5c27a47b3c4753dd39692b60face0fc90ef1bcfb8d4c464900c6ab
+checksum=84221054e6452ea11d4b80cb4bf6e0c539c57dbff3c414c1a44e5442dc9e1caf
post_install() {
vsed -i -e 's|electrum %u|electrum|' \
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
2024-11-10 19:25 ` ar-jan
2024-11-11 13:24 ` [PR PATCH] [Updated] " ar-jan
@ 2024-11-11 13:25 ` ar-jan
2024-11-12 21:13 ` lemmi
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ar-jan @ 2024-11-11 13:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
New comment by ar-jan on void-packages repository
https://github.com/void-linux/void-packages/pull/52984#issuecomment-2468174950
Comment:
Removed python3-bitstring dependency (https://github.com/spesmilo/electrum/pull/9020).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
` (2 preceding siblings ...)
2024-11-11 13:25 ` ar-jan
@ 2024-11-12 21:13 ` lemmi
2024-11-18 0:50 ` [PR REVIEW] " lemmi
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: lemmi @ 2024-11-12 21:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
New comment by lemmi on void-packages repository
https://github.com/void-linux/void-packages/pull/52984#issuecomment-2471594212
Comment:
Alright. Will merge ~end of the week :)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR REVIEW] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
` (3 preceding siblings ...)
2024-11-12 21:13 ` lemmi
@ 2024-11-18 0:50 ` lemmi
2024-11-18 12:16 ` [PR PATCH] [Updated] " ar-jan
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: lemmi @ 2024-11-18 0:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
New review comment by lemmi on void-packages repository
https://github.com/void-linux/void-packages/pull/52984#discussion_r1845715854
Comment:
Is this correct? It breaks the build for almost all target except x86. `pypandoc` seems only be used in [`setup.py`](https://github.com/stefankoegl/python-json-patch/blob/d8e1a6e244728c04229d601bc9a384d9b034c603/setup.py#L42). So my guess it can be moved to `hostmakedepends` or be conditional on archs which don't have `python3-pypandoc` available.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
` (4 preceding siblings ...)
2024-11-18 0:50 ` [PR REVIEW] " lemmi
@ 2024-11-18 12:16 ` ar-jan
2024-11-18 12:41 ` [PR PATCH] [Merged]: " lemmi
2024-11-18 12:42 ` [PR REVIEW] " ar-jan
7 siblings, 0 replies; 9+ messages in thread
From: ar-jan @ 2024-11-18 12:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages electrum
https://github.com/void-linux/void-packages/pull/52984
electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package: python3-jsonpatch
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
python3-jsonpatch is required for electrum v4.5.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/52984.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-electrum-52984.patch --]
[-- Type: text/x-diff, Size: 4252 bytes --]
From 34666e35e69f3949da9418bf4623ea6e14b5a74d Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 17:58:22 +0100
Subject: [PATCH 1/3] New package: python3-jsonpatch-1.33
---
srcpkgs/python3-jsonpatch/template | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 srcpkgs/python3-jsonpatch/template
diff --git a/srcpkgs/python3-jsonpatch/template b/srcpkgs/python3-jsonpatch/template
new file mode 100644
index 00000000000000..4b8a4cbb4d3a58
--- /dev/null
+++ b/srcpkgs/python3-jsonpatch/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-jsonpatch'
+pkgname=python3-jsonpatch
+version=1.33
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pypandoc"
+depends="python3-jsonpointer"
+checkdepends="$depends"
+short_desc="Apply JSON Patches according to RFC 6902"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/stefankoegl/python-json-patch"
+distfiles="https://github.com/stefankoegl/python-json-patch/archive/v${version}.tar.gz"
+checksum=c0163a2703dd8fa6be9c3018bcff6723bdfb240c8d56fb62d0673043cf647cda
+
+do_check() {
+ python -m unittest
+}
+
+post_install() {
+ vlicense LICENSE
+}
From a79f94bb3304154b55c4676a03c64dbbbc050907 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 18:26:17 +0100
Subject: [PATCH 2/3] libsecp256k1: update to 0.5.1.
---
srcpkgs/libsecp256k1/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/libsecp256k1/template b/srcpkgs/libsecp256k1/template
index 428975a6205903..8b834a9b81957c 100644
--- a/srcpkgs/libsecp256k1/template
+++ b/srcpkgs/libsecp256k1/template
@@ -1,6 +1,6 @@
# Template file for 'libsecp256k1'
pkgname=libsecp256k1
-version=0.4.1
+version=0.5.1
revision=1
build_style=gnu-configure
configure_args="--disable-benchmark --disable-coverage --enable-experimental
@@ -12,7 +12,7 @@ maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://github.com/bitcoin-core/secp256k1"
distfiles="https://github.com/bitcoin-core/secp256k1/archive/v${version}.tar.gz"
-checksum="31b1a03c7365dbce7aff4be9526243da966c58a8b88b6255556d51b3016492c5"
+checksum="081f4730becba2715a6b0fd198fedd9e649a6caaa6a7d6d3cf0f9fa7483f2cf1"
pre_configure() {
./autogen.sh
From 4f4d03d4ccd5168ac2a714ae6d416affb3870b87 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 10 Nov 2024 16:30:27 +0100
Subject: [PATCH 3/3] electrum: update to 4.5.8.
---
srcpkgs/electrum/template | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/electrum/template b/srcpkgs/electrum/template
index f269ad008f807d..58c07e3b45283e 100644
--- a/srcpkgs/electrum/template
+++ b/srcpkgs/electrum/template
@@ -1,14 +1,15 @@
# Template file for 'electrum'
pkgname=electrum
-version=4.4.6
-revision=2
+version=4.5.8
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
+hostmakedepends="python3-setuptools python3-pyqt6-devel-tools"
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
- python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib
- python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5
+ python3-dnspython python3-ecdsa python3-jsonrpclib python3-Pillow
+ python3-protobuf python3-pyaes python3-pycryptodomex python3-pyqt6
python3-qrcode python3-socks python3-cryptography libsecp256k1
- python3-certifi libzbar"
+ python3-async-timeout python3-certifi python3-jsonpatch libzbar
+ python3-pyqt6-declarative python3-pyqt6-gui python3-pyqt6-network"
# Optional dependencies:
# btchip - BTChip hardware wallet support
# trezor - TREZOR hardware wallet support
@@ -21,7 +22,7 @@ license="MIT"
homepage="https://electrum.org/"
changelog="https://raw.githubusercontent.com/spesmilo/electrum/master/RELEASE-NOTES"
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
-checksum=8bec8bfcee5c27a47b3c4753dd39692b60face0fc90ef1bcfb8d4c464900c6ab
+checksum=84221054e6452ea11d4b80cb4bf6e0c539c57dbff3c414c1a44e5442dc9e1caf
post_install() {
vsed -i -e 's|electrum %u|electrum|' \
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Merged]: electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
` (5 preceding siblings ...)
2024-11-18 12:16 ` [PR PATCH] [Updated] " ar-jan
@ 2024-11-18 12:41 ` lemmi
2024-11-18 12:42 ` [PR REVIEW] " ar-jan
7 siblings, 0 replies; 9+ messages in thread
From: lemmi @ 2024-11-18 12:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
There's a merged pull request on the void-packages repository
electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
https://github.com/void-linux/void-packages/pull/52984
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package: python3-jsonpatch
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
python3-jsonpatch is required for electrum v4.5.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR REVIEW] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33
2024-11-10 19:13 [PR PATCH] electrum: update to 4.5.8; New package: python3-jsonpatch-1.33 ar-jan
` (6 preceding siblings ...)
2024-11-18 12:41 ` [PR PATCH] [Merged]: " lemmi
@ 2024-11-18 12:42 ` ar-jan
7 siblings, 0 replies; 9+ messages in thread
From: ar-jan @ 2024-11-18 12:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
New review comment by ar-jan on void-packages repository
https://github.com/void-linux/void-packages/pull/52984#discussion_r1846519426
Comment:
Right, just `hostmakedepends` was sufficient.
^ permalink raw reply [flat|nested] 9+ messages in thread