forked from pool/python-inflection
Accepting request 895697 from home:pgajdos:python
setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895697 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflection?expand=0&rev=12
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 06:52:58 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: run testsuite with %pytest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 22 08:35:11 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-inflection
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,16 +24,16 @@ Release: 0
|
||||
Summary: A port of Ruby on Rails inflector to Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/jpvanhal/inflection
|
||||
URL: https://github.com/jpvanhal/inflection
|
||||
Source: https://files.pythonhosted.org/packages/source/i/inflection/inflection-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -52,7 +52,7 @@ Inflection is a port of `Ruby on Rails`_' `inflector`_ to Python.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user