commit b10eb462b91365405dab57ea93d7dab3e2cd1ecb1fb864f73fcb8910ea40ff3a Author: Dirk Mueller Date: Thu Sep 29 19:07:22 2022 +0000 Accepting request 1007001 from home:Guillaume_G:branches:devel:languages:python - Initial version 8.1.3.2 OBS-URL: https://build.opensuse.org/request/show/1007001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncclick?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/asyncclick-8.1.3.2.tar.gz b/asyncclick-8.1.3.2.tar.gz new file mode 100644 index 0000000..5001b83 --- /dev/null +++ b/asyncclick-8.1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dd7a60bbe60603269fcf3f3a4bddd8506f435a07edb15fb0fd74f9deecf4002 +size 341440 diff --git a/python-asyncclick.changes b/python-asyncclick.changes new file mode 100644 index 0000000..3c0dcbb --- /dev/null +++ b/python-asyncclick.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Sep 29 13:17:28 UTC 2022 - Guillaume GARDET + +- Initial version 8.1.3.2 + diff --git a/python-asyncclick.spec b/python-asyncclick.spec new file mode 100644 index 0000000..eea57e4 --- /dev/null +++ b/python-asyncclick.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-asyncclick +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define oldpython python +%define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-asyncclick +Version: 8.1.3.2 +Release: 0 +Summary: A wrapper around optparse for command line utilities +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/python-trio/asyncclick +Source: https://files.pythonhosted.org/packages/source/a/asyncclick/asyncclick-%{version}.tar.gz +BuildRequires: %{python_module anyio} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module click} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module trio} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-setuptools +BuildArch: noarch +%python_subpackages + +%description +AsyncClick ist a fork of Click that works well with trio or asyncio. + +Click is a Python package for creating command line interfaces +in a composable way with as little code as necessary. It's the "Command +Line Interface Creation Kit". It is configurable, and comes with +defaults out of the box. + +%prep +%setup -q -n asyncclick-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export LANG=en_US.UTF-8 +%pytest -rs --tb=short + +%files %{python_files} +%license LICENSE.rst +%doc CHANGES.rst README.rst +%{python_sitelib}/asyncclick +%{python_sitelib}/asyncclick-*.dist-info/ + +%changelog