Accepting request 687903 from home:sebix:branches:devel:languages:python

please forward to Factory
- Remove patch setup-tests.patch, we are using pytest now.

OBS-URL: https://build.opensuse.org/request/show/687903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2019-03-23 15:56:31 +00:00 committed by Git OBS Bridge
parent 5ee444f032
commit 56ff328a60
3 changed files with 12 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 23 14:37:28 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Remove patch setup-tests.patch, we are using pytest now.
-------------------------------------------------------------------
Wed Mar 20 21:12:28 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -12,7 +12,8 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@ -20,22 +21,22 @@
Name: python-sphinx-autodoc-typehints
Version: 1.6.0
Release: 0
License: MIT
Summary: Type hints (PEP 484) support for the Sphinx autodoc extension
Url: https://github.com/agronholm/sphinx-autodoc-typehints
License: MIT
Group: Development/Languages/Python
Url: https://github.com/agronholm/sphinx-autodoc-typehints
Source: https://files.pythonhosted.org/packages/source/s/sphinx-autodoc-typehints/sphinx-autodoc-typehints-%{version}.tar.gz
Requires: python-typing_extensions
Requires: python-Sphinx
BuildRequires: python-rpm-macros
Requires: python-typing_extensions
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools >= 36.2.7}
BuildRequires: %{python_module setuptools_scm >= 1.7.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION tests
BuildRequires: %{python_module Sphinx >= 1.7}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions}
# /SECTION
BuildArch: noarch

View File

@ -1,14 +0,0 @@
--- sphinx-autodoc-typehints-1.6.0/setup.py 2018-01-01 02:48:40.000000000 +0100
+++ sphinx-autodoc-typehints-1.6.0/setup.py 2019-03-20 22:30:36.262439430 +0100
@@ -5,5 +5,6 @@
setup_requires=[
'setuptools_scm >= 1.7.0',
'setuptools >= 36.2.7'
- ]
+ ],
+ test_suite='tests',
)
--- /dev/null 2019-03-17 09:10:37.176419428 +0100
+++ sphinx-autodoc-typehints-1.6.0/tests/__init__.py 2019-03-20 22:36:39.207014883 +0100
@@ -0,0 +1 @@
+