From e4e901d4657a7615ecd56335279ff5b373f9ad83e0f69be95573b705152fbf0c Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 11 Apr 2019 15:07:17 +0000 Subject: [PATCH] Accepting request 691928 from home:jayvdb:branches:devel:languages:python - Remove unnecessary Windows executables - Activate test suite OBS-URL: https://build.opensuse.org/request/show/691928 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-testpath?expand=0&rev=6 --- python-testpath.changes | 6 ++++++ python-testpath.spec | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/python-testpath.changes b/python-testpath.changes index 5473ca8..150263d 100644 --- a/python-testpath.changes +++ b/python-testpath.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Apr 6 02:55:27 UTC 2019 - John Vandenberg + +- Remove unnecessary Windows executables +- Activate test suite + ------------------------------------------------------------------- Thu Oct 11 16:13:29 UTC 2018 - Todd R diff --git a/python-testpath.spec b/python-testpath.spec index b20f15d..cf61ce0 100644 --- a/python-testpath.spec +++ b/python-testpath.spec @@ -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