17
0

Accepting request 705396 from devel:languages:python

- Update to 1.0.7:
  * No upstream changelog
- Run testsuite

OBS-URL: https://build.opensuse.org/request/show/705396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyannotate?expand=0&rev=4
This commit is contained in:
2019-05-27 06:39:36 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43291f9b21b8a980064a6400c91f9883c1fdbc600c62c9cf138d5623a5da654f
size 41917

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat May 25 09:48:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.7:
* No upstream changelog
- Run testsuite
-------------------------------------------------------------------
Tue Dec 4 12:51:54 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyannotate
#
# 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
@@ -16,33 +16,29 @@
#
%if %python3_version_nodots < 34
%define skip_python3 1
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyannotate
Version: 1.0.5
Version: 1.0.7
Release: 0
Summary: PyAnnotate: Auto-generate PEP-484 annotations
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/dropbox/pyannotate
Source: https://files.pythonhosted.org/packages/source/p/pyannotate/pyannotate-%{version}.tar.gz
URL: https://github.com/dropbox/pyannotate
Source: https://github.com/dropbox/pyannotate/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 28.8.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mypy_extensions
Requires: python-six >= 1.11.0
Requires: python-typing
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mypy_extensions}
BuildRequires: %{python_module pytest => 3.3.0}
BuildRequires: %{python_module six >= 1.11.0}
BuildRequires: %{python_module typing}
BuildRequires: python3-testsuite
# /SECTION
BuildRequires: fdupes
Requires: python-mypy_extensions
Requires: python-six >= 1.11.0
%if %python_version_nodots < 35
Requires: python-typing >= 3.5.3
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -59,6 +55,9 @@ arguments and return types observed at runtime.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md example/
%license LICENSE

3
v1.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c61c80199a3b48adf67c42ecb39242fc19f6169553afc6f67338f3650fee2d6b
size 44716