Accepting request 693302 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/693302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testpath?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-04-12 07:16:03 +00:00 committed by Git OBS Bridge
commit 4572cd0b69
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 6 02:55:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove unnecessary Windows executables
- Activate test suite
-------------------------------------------------------------------
Thu Oct 11 16:13:29 UTC 2018 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-testpath
#
# 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -25,7 +25,7 @@ License: LGPL-2.1-or-later OR BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/jupyter/testpath
Source0: https://files.pythonhosted.org/packages/source/t/testpath/testpath-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -41,6 +41,8 @@ for mocking system commands and recording calls to those.
%prep
%setup -q -n testpath-%{version}
rm testpath/*.exe
%build
%python_build
@ -48,6 +50,9 @@ for mocking system commands and recording calls to those.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest
%files %{python_files}
%doc README.rst
%license LICENSE