| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package python-magic-wormhole-mailbox-server
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:50:00 +00:00
										 |  |  | # Copyright (c) 2022 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					
						
							| 
									
										
										
										
											2021-07-14 15:18:46 +00:00
										 |  |  | %define skip_python36 1
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | Name:           python-magic-wormhole-mailbox-server
 | 
					
						
							| 
									
										
										
										
											2019-10-08 14:26:11 +00:00
										 |  |  | Version:        0.4.1
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2019-06-03 08:04:52 +00:00
										 |  |  | Summary:        Key exchange and control message server for Magic-Wormhole
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | License:        MIT
 | 
					
						
							|  |  |  | Group:          Development/Languages/Python
 | 
					
						
							|  |  |  | 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
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:50:00 +00:00
										 |  |  | # https://github.com/magic-wormhole/magic-wormhole/issues/439
 | 
					
						
							|  |  |  | Patch0:         python-magic-wormhole-mailbox-server-no-mock.patch
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | BuildRequires:  %{python_module Twisted >= 17.5.0}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module attrs >= 16.3.0}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module autobahn >= 0.14.1}
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | BuildRequires:  %{python_module pip}
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | BuildRequires:  %{python_module pytest}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module six}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module treq}
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | BuildRequires:  %{python_module wheel}
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | BuildRequires:  fdupes
 | 
					
						
							|  |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							|  |  |  | Requires:       python-Twisted >= 17.5.0
 | 
					
						
							|  |  |  | Requires:       python-attrs >= 16.3.0
 | 
					
						
							|  |  |  | Requires:       python-autobahn >= 0.14.1
 | 
					
						
							|  |  |  | Requires:       python-six
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | %python_subpackages
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2019-06-03 08:04:52 +00:00
										 |  |  | The main server for Magic-Wormhole. This server performs
 | 
					
						
							|  |  |  | store-and-forward delivery for small key-exchange and control
 | 
					
						
							|  |  |  | messages. Bulk data is sent over a direct TCP connection, or through
 | 
					
						
							|  |  |  | a transit-relay.
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | %autosetup -p1 -n magic-wormhole-mailbox-server-%{version}
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | %pyproject_wheel
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | %pyproject_install
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | %pytest src/wormhole_mailbox_server/test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files %{python_files}
 | 
					
						
							|  |  |  | %doc README.md
 | 
					
						
							|  |  |  | %license LICENSE
 | 
					
						
							| 
									
										
										
										
											2022-05-18 19:55:44 +00:00
										 |  |  | %{python_sitelib}/magic_wormhole_mailbox_server-%{version}*-info
 | 
					
						
							|  |  |  | %{python_sitelib}/twisted/plugins/magic_wormhole_mailbox.py
 | 
					
						
							|  |  |  | %{python_sitelib}/wormhole_mailbox_server
 | 
					
						
							|  |  |  | %pycache_only %{python_sitelib}/twisted/plugins/__pycache__/magic_wormhole_mailbox*.pyc
 | 
					
						
							| 
									
										
										
										
											2019-05-20 07:45:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |