Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 65c7c2fe3d | |||
| 4b14999735 | |||
| 3e0bce576e | 
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:1af10592909caaf519c00e706eac842c5e77f8d4356215fe9c61c7b2258a88fb |  | ||||||
| size 64830 |  | ||||||
							
								
								
									
										3
									
								
								magic-wormhole-mailbox-server-0.5.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								magic-wormhole-mailbox-server-0.5.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:a007a03672293204657681dbf502045d6d5817c57f9aae2f2226e6ea1a008ca1 | ||||||
|  | size 69758 | ||||||
| @@ -1,42 +0,0 @@ | |||||||
| diff -upr magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_rlimits.py magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_rlimits.py |  | ||||||
| --- magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_rlimits.py	2022-05-17 17:46:58.549457994 +0200 |  | ||||||
| +++ magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_rlimits.py	2022-05-17 17:46:58.553458020 +0200 |  | ||||||
| @@ -1,5 +1,5 @@ |  | ||||||
|  from __future__ import print_function, unicode_literals |  | ||||||
| -import mock |  | ||||||
| +from unittest import mock |  | ||||||
|  from twisted.trial import unittest |  | ||||||
|  from ..increase_rlimits import increase_rlimits |  | ||||||
|   |  | ||||||
| diff -upr magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_server.py magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_server.py |  | ||||||
| --- magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_server.py	2022-05-17 17:46:58.549457994 +0200 |  | ||||||
| +++ magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_server.py	2022-05-17 17:46:58.553458020 +0200 |  | ||||||
| @@ -1,5 +1,5 @@ |  | ||||||
|  from __future__ import print_function, unicode_literals |  | ||||||
| -import mock |  | ||||||
| +from unittest import mock |  | ||||||
|  from twisted.trial import unittest |  | ||||||
|  from twisted.python import log |  | ||||||
|  from .common import ServerBase, _Util |  | ||||||
| diff -upr magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_service.py magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_service.py |  | ||||||
| --- magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_service.py	2022-05-17 17:46:58.549457994 +0200 |  | ||||||
| +++ magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_service.py	2022-05-17 17:46:58.553458020 +0200 |  | ||||||
| @@ -1,6 +1,6 @@ |  | ||||||
|  from __future__ import unicode_literals, print_function |  | ||||||
|  from twisted.trial import unittest |  | ||||||
| -import mock |  | ||||||
| +from unittest import mock |  | ||||||
|  from twisted.application.service import MultiService |  | ||||||
|  from .. import server_tap |  | ||||||
|   |  | ||||||
| diff -upr magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_web.py magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_web.py |  | ||||||
| --- magic-wormhole-mailbox-server-0.4.1.orig/src/wormhole_mailbox_server/test/test_web.py	2022-05-17 17:46:58.549457994 +0200 |  | ||||||
| +++ magic-wormhole-mailbox-server-0.4.1/src/wormhole_mailbox_server/test/test_web.py	2022-05-17 17:46:58.553458020 +0200 |  | ||||||
| @@ -1,6 +1,6 @@ |  | ||||||
|  from __future__ import print_function, unicode_literals |  | ||||||
|  import io, time |  | ||||||
| -import mock |  | ||||||
| +from unittest import mock |  | ||||||
|  import treq |  | ||||||
|  from twisted.trial import unittest |  | ||||||
|  from twisted.internet import defer, reactor |  | ||||||
| @@ -1,3 +1,16 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Nov 11 20:22:51 UTC 2024 - Dirk Müller <dmueller@suse.com> | ||||||
|  |  | ||||||
|  | - update to 0.5.1: | ||||||
|  |   * properly require "setuptools" for install | ||||||
|  |   * correctly close a mailbox which still has a nameplate | ||||||
|  |   * remove python2 support | ||||||
|  |   * test on python 3.8, 3.9, 3.10, 3.11 and 3.12 series | ||||||
|  |   * drop "six" | ||||||
|  |   * upgrade "versioneer" | ||||||
|  | - drop python-magic-wormhole-mailbox-server-no-mock.patch | ||||||
|  |   (upstream) | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Tue Mar 28 10:00:03 UTC 2023 - pgajdos@suse.com | Tue Mar 28 10:00:03 UTC 2023 - pgajdos@suse.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-magic-wormhole-mailbox-server | # spec file for package python-magic-wormhole-mailbox-server | ||||||
| # | # | ||||||
| # Copyright (c) 2023 SUSE LLC | # Copyright (c) 2024 SUSE LLC | ||||||
| # | # | ||||||
| # All modifications and additions to the file contributed by third parties | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -16,17 +16,15 @@ | |||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
| %define skip_python36 1 | %{?sle15_python_module_pythons} | ||||||
| Name:           python-magic-wormhole-mailbox-server | Name:           python-magic-wormhole-mailbox-server | ||||||
| Version:        0.4.1 | Version:        0.5.1 | ||||||
| Release:        0 | Release:        0 | ||||||
| Summary:        Key exchange and control message server for Magic-Wormhole | Summary:        Key exchange and control message server for Magic-Wormhole | ||||||
| License:        MIT | License:        MIT | ||||||
| Group:          Development/Languages/Python | Group:          Development/Languages/Python | ||||||
| URL:            https://github.com/warner/magic-wormhole-mailbox-server | URL:            https://github.com/warner/magic-wormhole-mailbox-server | ||||||
| Source:         https://files.pythonhosted.org/packages/source/m/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-%{version}.tar.gz | Source:         https://files.pythonhosted.org/packages/source/m/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-%{version}.tar.gz | ||||||
| # https://github.com/magic-wormhole/magic-wormhole/issues/439 |  | ||||||
| Patch0:         python-magic-wormhole-mailbox-server-no-mock.patch |  | ||||||
| BuildRequires:  %{python_module Twisted-tls >= 17.5.0} | BuildRequires:  %{python_module Twisted-tls >= 17.5.0} | ||||||
| BuildRequires:  %{python_module attrs >= 16.3.0} | BuildRequires:  %{python_module attrs >= 16.3.0} | ||||||
| BuildRequires:  %{python_module autobahn >= 0.14.1} | BuildRequires:  %{python_module autobahn >= 0.14.1} | ||||||
| @@ -40,6 +38,7 @@ BuildRequires:  python-rpm-macros | |||||||
| Requires:       python-Twisted-tls >= 17.5.0 | Requires:       python-Twisted-tls >= 17.5.0 | ||||||
| Requires:       python-attrs >= 16.3.0 | Requires:       python-attrs >= 16.3.0 | ||||||
| Requires:       python-autobahn >= 0.14.1 | Requires:       python-autobahn >= 0.14.1 | ||||||
|  | Requires:       python-setuptools | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| %python_subpackages | %python_subpackages | ||||||
|  |  | ||||||
| @@ -51,8 +50,6 @@ a transit-relay. | |||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %autosetup -p1 -n magic-wormhole-mailbox-server-%{version} | %autosetup -p1 -n magic-wormhole-mailbox-server-%{version} | ||||||
| # https://github.com/magic-wormhole/magic-wormhole-mailbox-server/issues/35 |  | ||||||
| sed '/six/d' setup.py src/magic_wormhole_mailbox_server.egg-info/requires.txt |  | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %pyproject_wheel | %pyproject_wheel | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user