SHA256
1
0
forked from pool/python-pyosf

Accepting request 708285 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/708285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyosf?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-06-12 11:13:06 +00:00 committed by Git OBS Bridge
commit 8edb519929
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 7 11:08:14 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- call spec-cleaner
- note there are online tests only
-------------------------------------------------------------------
Tue Dec 4 12:52:35 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyosf
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@ Release: 0
Summary: Python lib for synching with OpenScienceFramework projects
License: MIT
Group: Development/Languages/Python
Url: https://github.com/psychopy/pyosf
URL: https://github.com/psychopy/pyosf
Source: https://files.pythonhosted.org/packages/source/p/pyosf/pyosf-%{version}.zip
Source10: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/README.md
Source11: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/The%20MIT%20License%20%28MIT%29.md
@ -31,15 +31,14 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-requests
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
# /SECTION
Requires: python-requests
BuildArch: noarch
%python_subpackages
%description
@ -70,8 +69,10 @@ cp "%{SOURCE11}" LICENSE.md
%python_install
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%check
# online tests only
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md
%license LICENSE.md
%{python_sitelib}/*