Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-magic-wormhole for openSUSE:Factory checked in at 2024-05-23 15:36:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-magic-wormhole (Old) and /work/SRC/openSUSE:Factory/.python-magic-wormhole.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-magic-wormhole" Thu May 23 15:36:10 2024 rev:14 rq:1176459 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-magic-wormhole/python-magic-wormhole.changes 2024-02-27 22:48:27.182748971 +0100 +++ /work/SRC/openSUSE:Factory/.python-magic-wormhole.new.24587/python-magic-wormhole.changes 2024-05-23 15:36:51.107080724 +0200 @@ -1,0 +2,12 @@ +Mon Apr 29 05:19:22 UTC 2024 - Joshua Smith <smolsh...@opensuse.org> + +- Update URL. The old URL redirects to the magic-wormhole org. +- Change spec from obsoleted setup to autosetup +- Update to version 0.14.0 + * Add completion files for bash, zsh and fish + * Python 3.12 added to CI, versioneer updated + * Support streaming compression of directories + * Remove obsolete compatibility code + * Add "ecosystem" document + +------------------------------------------------------------------- Old: ---- magic-wormhole-0.13.0.tar.gz New: ---- magic-wormhole-0.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-magic-wormhole.spec ++++++ --- /var/tmp/diff_new_pack.z9wYpj/_old 2024-05-23 15:36:51.999113094 +0200 +++ /var/tmp/diff_new_pack.z9wYpj/_new 2024-05-23 15:36:52.003113240 +0200 @@ -18,11 +18,11 @@ %define modname magic-wormhole Name: python-magic-wormhole -Version: 0.13.0 +Version: 0.14.0 Release: 0 Summary: Tool for transferring files through a secure channel License: MIT -URL: https://github.com/warner/magic-wormhole +URL: https://github.com/magic-wormhole/magic-wormhole Source: https://files.pythonhosted.org/packages/source/m/magic-wormhole/%{modname}-%{version}.tar.gz BuildRequires: %{python_module Automat} BuildRequires: %{python_module PyNaCl} @@ -32,35 +32,41 @@ BuildRequires: %{python_module click} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module humanize} +BuildRequires: %{python_module iterable-io >= 1.0.0} BuildRequires: %{python_module magic-wormhole-mailbox-server} BuildRequires: %{python_module magic-wormhole-transit-relay} BuildRequires: %{python_module noiseprotocol} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: %{python_module spake2 >= 0.8} BuildRequires: %{python_module tqdm >= 4.13.0} BuildRequires: %{python_module txtorcon >= 18.0.2} BuildRequires: %{python_module versioneer} BuildRequires: %{python_module wheel} +BuildRequires: %{python_module zipstream-ng >= 1.7.1} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros +# Shell completions +BuildRequires: bash-completion +BuildRequires: fish +BuildRequires: zsh Requires: python-Automat Requires: python-PyNaCl Requires: python-Twisted -Requires: python-attrs >= 19.0.2 +Requires: python-attrs >= 19.2.0 Requires: python-autobahn Requires: python-click Requires: python-cryptography Requires: python-humanize -Requires: python-six +Requires: python-iterable-io >= 1.0.0 Requires: python-spake2 >= 0.8 Requires: python-tqdm >= 4.13.0 Requires: python-txtorcon >= 18.0.2 +Requires: python-zipstream-ng >= 1.7.1 Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(preun): update-alternatives Suggests: python-magic-wormhole-mailbox-server Suggests: python-magic-wormhole-transit-relay Suggests: python-noiseprotocol @@ -74,11 +80,41 @@ "wormhole codes": in general, the sending machine generates and displays the code, which must then be typed into the receiving machine. +%package -n %{name}-bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Supplements: (%{name} and bash-completion) +Requires: bash-completion +Requires: python3dist(magic-wormhole) +BuildArch: noarch + +%description -n %{name}-bash-completion +Bash command-line completion support for %{name}. + +%package -n %{name}-fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Supplements: (%{name} and fish) +Requires: fish +Requires: python3dist(magic-wormhole) +BuildArch: noarch + +%description -n %{name}-fish-completion +Fish command-line completion support for %{name}. + +%package -n %{name}-zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Supplements: (%{name} and zsh) +Requires: zsh +Requires: python3dist(magic-wormhole) +BuildArch: noarch + +%description -n %{name}-zsh-completion +Zsh command-line completion support for %{name}. + %prep -%setup -q -n %{modname}-%{version} -# replace vendored old versioneer by system version with python 3.12 support -# gh#magic-wormhole/magic-wormhole#507 -rm versioneer.py +%autosetup -n %{modname}-%{version} %build %pyproject_wheel @@ -87,9 +123,13 @@ %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/wormhole +install -Dm644 wormhole_complete.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} +install -Dm644 wormhole_complete.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +install -Dm644 wormhole_complete.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish +rm %{buildroot}/usr/wormhole_complete* %check -%pytest src/wormhole/test -k 'not test_welcome' +%pytest src/wormhole/test %post %python_install_alternative wormhole @@ -97,10 +137,19 @@ %postun %python_uninstall_alternative wormhole -%files %{python_files} +%files %python_files %license LICENSE %doc NEWS.md README.md %python_alternative %{_bindir}/wormhole %{python_sitelib}/wormhole %{python_sitelib}/magic_wormhole-%{version}.dist-info +%files -n %{name}-bash-completion +%{_datadir}/bash-completion/* + +%files -n %{name}-fish-completion +%{_datadir}/fish/* + +%files -n %{name}-zsh-completion +%{_datadir}/zsh/* + ++++++ magic-wormhole-0.13.0.tar.gz -> magic-wormhole-0.14.0.tar.gz ++++++ ++++ 9050 lines of diff (skipped)