commit 4ef11a39ed085601a762839fe9ab1b0b88efcffe31aa6524ef67239ad09ee1ba Author: Thomas Bechtold Date: Fri Mar 23 15:23:56 2018 +0000 - Initial packaging (version 2.0.1) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async_timeout?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/async-timeout-2.0.1.tar.gz b/async-timeout-2.0.1.tar.gz new file mode 100644 index 0000000..2e1ccb4 --- /dev/null +++ b/async-timeout-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00cff4d2dce744607335cba84e9929c3165632da2d27970dbc55802a0c7873d0 +size 10463 diff --git a/python-async_timeout.changes b/python-async_timeout.changes new file mode 100644 index 0000000..0b35f30 --- /dev/null +++ b/python-async_timeout.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Mar 23 15:19:43 UTC 2018 - tbechtold@suse.com + +- Initial packaging (version 2.0.1) diff --git a/python-async_timeout.spec b/python-async_timeout.spec new file mode 100644 index 0000000..aa61288 --- /dev/null +++ b/python-async_timeout.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-async_timeout +# +# Copyright (c) 2018 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-async_timeout +Version: 2.0.1 +Release: 0 +Summary: Timeout context manager for asyncio programs +License: Apache-2.0 +Group: Development/Languages/Python +Url: https://github.com/aio-libs/async_timeout/ +Source: https://files.pythonhosted.org/packages/source/a/async_timeout/async-timeout-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch + +%python_subpackages + +%description +asyncio-compatible timeout context manager. + +%prep +%setup -q -n async-timeout-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/* + +%changelog