From 1cbd04a8d939d610965a76d6a2c82190ae9ef724 Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Sat, 25 May 2024 17:15:59 +0300 Subject: [PATCH] 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 5e9025a5d6f..00000000000 --- 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 1762cbcc172..71b78e7f328 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 " 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 }