Github messages for voidlinux
 help / color / mirror / Atom feed
From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] magic-wormhole: update to 0.14.0
Date: Sat, 25 May 2024 17:10:04 +0200	[thread overview]
Message-ID: <20240525151004.4A0012006D@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50520@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

There is an updated pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages magic-wormhole
https://github.com/void-linux/void-packages/pull/50520

magic-wormhole: update to 0.14.0
@travankor 

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)

A patch file from https://github.com/void-linux/void-packages/pull/50520.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-magic-wormhole-50520.patch --]
[-- Type: text/x-diff, Size: 5007 bytes --]

From 0126d6a58cdf15cf48f3e2749c59e31c2ec9a354 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sat, 25 May 2024 17:15:30 +0300
Subject: [PATCH 1/3] New package: python3-iterable-io-1.0.0

---
 srcpkgs/python3-iterable-io/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-iterable-io/template

diff --git a/srcpkgs/python3-iterable-io/template b/srcpkgs/python3-iterable-io/template
new file mode 100644
index 00000000000000..d7616cfd136baf
--- /dev/null
+++ b/srcpkgs/python3-iterable-io/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-iterable-io'
+pkgname=python3-iterable-io
+version=1.0.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python library to adapt iterables to a file-like interface"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="LGPL-3.0-only"
+homepage="https://github.com/pR0Ps/iterable-io"
+distfiles="${PYPI_SITE}/i/iterable-io/iterable-io-${version}.tar.gz"
+checksum=fb9e1b739587a9ba0d5c60a3e1eb71246761583bc9f18b3c35bb112b44b18c3c

From 024eb8593b5cb3f9504e34ff95dee6333af19640 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sat, 25 May 2024 17:15:46 +0300
Subject: [PATCH 2/3] New package: python3-zipstream-ng-1.7.1

---
 srcpkgs/python3-zipstream-ng/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-zipstream-ng/template

diff --git a/srcpkgs/python3-zipstream-ng/template b/srcpkgs/python3-zipstream-ng/template
new file mode 100644
index 00000000000000..e6581ff6fa77b7
--- /dev/null
+++ b/srcpkgs/python3-zipstream-ng/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-zipstream-ng'
+pkgname=python3-zipstream-ng
+version=1.7.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Modern and easy to use streamable zip file generator"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="LGPL-3.0-only"
+homepage="https://github.com/pR0Ps/zipstream-ng"
+distfiles="${PYPI_SITE}/z/zipstream-ng/zipstream-ng-${version}.tar.gz"
+checksum=f92023b9ca578cd7fdd94ec733c65664ecf7ee32493e38cdf8e365a1316e9ffc
+conflicts="python3-zipstream"

From 92a9b5d3e2aa2889e83add013ea02b483ebd43b7 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sat, 25 May 2024 17:15:59 +0300
Subject: [PATCH 3/3] magic-wormhole: update to 0.14.0

---
 srcpkgs/magic-wormhole/patches/python3.12.patch | 14 --------------
 srcpkgs/magic-wormhole/template                 | 12 ++++++++----
 2 files changed, 8 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/magic-wormhole/patches/python3.12.patch

diff --git a/srcpkgs/magic-wormhole/patches/python3.12.patch b/srcpkgs/magic-wormhole/patches/python3.12.patch
deleted file mode 100644
index 5e9025a5d6f8bb..00000000000000
--- a/srcpkgs/magic-wormhole/patches/python3.12.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- ./versioneer.py.orig	2023-09-29 10:02:24.403985079 -0400
-+++ ./versioneer.py	2023-09-29 10:02:36.679060444 -0400
-@@ -339,9 +339,9 @@
-     # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
-     # the top of versioneer.py for instructions on writing your setup.cfg .
-     setup_cfg = os.path.join(root, "setup.cfg")
--    parser = configparser.SafeConfigParser()
-+    parser = configparser.ConfigParser()
-     with open(setup_cfg, "r") as f:
--        parser.readfp(f)
-+        parser.read_file(f)
-     VCS = parser.get("versioneer", "VCS")  # mandatory
- 
-     def get(parser, name):
diff --git a/srcpkgs/magic-wormhole/template b/srcpkgs/magic-wormhole/template
index 1762cbcc172d46..71b78e7f328139 100644
--- a/srcpkgs/magic-wormhole/template
+++ b/srcpkgs/magic-wormhole/template
@@ -1,19 +1,23 @@
 # Template file for 'magic-wormhole'
 pkgname=magic-wormhole
-version=0.13.0
-revision=2
+version=0.14.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3 python3-build python3-setuptools python3-wheel"
 depends="python3-autobahn python3-cffi python3-click python3-humanize
  python3-idna python3-pynacl python3-service_identity python3-spake2
- python3-tqdm python3-txtorcon"
+ python3-tqdm python3-txtorcon python3-iterable-io python3-zipstream-ng"
 short_desc="Get things from one computer to another, safely"
 maintainer="travankor <travankor@tuta.io>"
 license="MIT"
 homepage="https://magic-wormhole.readthedocs.io/en/latest/"
 distfiles="https://github.com/warner/magic-wormhole/archive/${version}.tar.gz"
-checksum=80c68433e06583b40323f19aa519a108b3f4b06b904051dd71c52c243931e401
+checksum=6104ff2ce1223bf8fefc3a7a2a3bca0dddb86e008b21b6f47543dd74ab18db3c
 
 post_install() {
 	vlicense LICENSE
+	rm ${DESTDIR}/usr/wormhole_complete.*
+	vcompletion wormhole_complete.bash bash wormhole
+	vcompletion wormhole_complete.fish fish wormhole
+	vcompletion wormhole_complete.zsh zsh _wormhole
 }

  parent reply	other threads:[~2024-05-25 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-25 14:53 [PR PATCH] " chrysos349
2024-05-25 14:56 ` [PR PATCH] [Updated] " chrysos349
2024-05-25 15:10 ` chrysos349 [this message]
2024-05-26 18:20 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240525151004.4A0012006D@inbox.vuxu.org \
    --to=chrysos349@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).