forked from pool/python-onionshare
Accepting request 678198 from home:rfrohl:branches:devel:languages:python
onionshare version 2.0 OBS-URL: https://build.opensuse.org/request/show/678198 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-onionshare?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-onionshare
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 Dr. Axel Braun
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
%define modname onionshare
|
||||
Name: python-%{modname}
|
||||
Version: 1.3.2
|
||||
Version: 2.0
|
||||
Release: 0
|
||||
Summary: Self-hosting Tor Onion Service based file sharing
|
||||
License: GPL-3.0-or-later
|
||||
@@ -32,9 +32,12 @@ URL: https://github.com/micahflee/onionshare
|
||||
Source0: https://github.com/micahflee/onionshare/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||
Source1: %{modname}.desktop
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module PySocks}
|
||||
BuildRequires: %{python_module nautilus}
|
||||
BuildRequires: %{python_module pycrypto}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module stem}
|
||||
BuildRequires: fdupes
|
||||
@@ -73,7 +76,7 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications/ %{modname}.desk
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} test
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests
|
||||
|
||||
%files %{python_files}
|
||||
%python3_only %{_bindir}/%{modname}*
|
||||
|
||||
Reference in New Issue
Block a user