From bcca5d9f17f3356f5f0acb44d2718a9952fa9c8018893e1fd1ded615be0658ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 25 May 2019 09:48:54 +0000 Subject: [PATCH] - Update to 1.0.7: * No upstream changelog - Run testsuite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyannotate?expand=0&rev=7 --- pyannotate-1.0.5.tar.gz | 3 --- python-pyannotate.changes | 7 +++++++ python-pyannotate.spec | 29 ++++++++++++++--------------- v1.0.7.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 pyannotate-1.0.5.tar.gz create mode 100644 v1.0.7.tar.gz diff --git a/pyannotate-1.0.5.tar.gz b/pyannotate-1.0.5.tar.gz deleted file mode 100644 index 1c09f06..0000000 --- a/pyannotate-1.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:43291f9b21b8a980064a6400c91f9883c1fdbc600c62c9cf138d5623a5da654f -size 41917 diff --git a/python-pyannotate.changes b/python-pyannotate.changes index 3b3afdc..e48dbc7 100644 --- a/python-pyannotate.changes +++ b/python-pyannotate.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 25 09:48:22 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.7: + * No upstream changelog +- Run testsuite + ------------------------------------------------------------------- Tue Dec 4 12:51:54 UTC 2018 - Matej Cepl diff --git a/python-pyannotate.spec b/python-pyannotate.spec index a192706..ff6185d 100644 --- a/python-pyannotate.spec +++ b/python-pyannotate.spec @@ -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 diff --git a/v1.0.7.tar.gz b/v1.0.7.tar.gz new file mode 100644 index 0000000..7cc498a --- /dev/null +++ b/v1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c61c80199a3b48adf67c42ecb39242fc19f6169553afc6f67338f3650fee2d6b +size 44716