commit 952f78b254f2aec872c4c82d446ad84c4c19825315c280986bee5b53be770820 Author: Tomáš Chvátal Date: Sat Mar 3 17:38:41 2018 +0000 Accepting request 582193 from home:sebix can also maintain it - initial package for version 1.0.5 OBS-URL: https://build.opensuse.org/request/show/582193 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyannotate?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pyannotate-1.0.5.tar.gz b/pyannotate-1.0.5.tar.gz new file mode 100644 index 0000000..1c09f06 --- /dev/null +++ b/pyannotate-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43291f9b21b8a980064a6400c91f9883c1fdbc600c62c9cf138d5623a5da654f +size 41917 diff --git a/python-pyannotate.changes b/python-pyannotate.changes new file mode 100644 index 0000000..92d3651 --- /dev/null +++ b/python-pyannotate.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Dec 17 14:42:53 UTC 2017 - sebix+novell.com@sebix.at + +- initial package for version 1.0.5 diff --git a/python-pyannotate.spec b/python-pyannotate.spec new file mode 100644 index 0000000..bc6d48f --- /dev/null +++ b/python-pyannotate.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-pyannotate +# +# Copyright (c) 2017 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ + +%if %python3_version_nodots < 34 +%define skip_python3 1 +%endif +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pyannotate +Version: 1.0.5 +Release: 0 +License: Apache-2.0 +Summary: PyAnnotate: Auto-generate PEP-484 annotations +Url: https://github.com/dropbox/pyannotate +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/pyannotate/pyannotate-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools >= 28.8.0} +# SECTION test requirements +BuildRequires: %{python_module mypy_extensions} +BuildRequires: %{python_module six >= 1.11.0} +BuildRequires: %{python_module pytest => 3.3.0} +# /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 +Insert annotations into your source code based on call arguments and return types observed at runtime. + +%prep +%setup -q -n pyannotate-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md example/ +%license LICENSE +%python3_only %{_bindir}/pyannotate +%{python_sitelib}/* + +%changelog