commit b6c68de3ad78abacde04dd6ea56323b1b2bf438c Author: Matej Cepl Date: Tue Jan 31 18:08:06 2023 +0000 See superseded desc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloup?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/cloup-2.0.0.post1.tar.gz b/cloup-2.0.0.post1.tar.gz new file mode 100644 index 0000000..b23d1c5 --- /dev/null +++ b/cloup-2.0.0.post1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1430c9075062e09cb64cd84ab7afe5d5acd28adf561d6ab3109eb1975bbd7b6b +size 224547 diff --git a/python-cloup.changes b/python-cloup.changes new file mode 100644 index 0000000..9db3a22 --- /dev/null +++ b/python-cloup.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jan 30 00:12:13 UTC 2023 - Eyad Issa + +- Version 2.0.0 diff --git a/python-cloup.spec b/python-cloup.spec new file mode 100644 index 0000000..9690725 --- /dev/null +++ b/python-cloup.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-cloup +# +# Copyright (c) 2023 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/ +# + + +Name: python-cloup +Version: 2.0.0.post1 +Release: 0 +Summary: Python packages that adds features to Click +License: BSD-3-Clause +URL: https://github.com/janLuke/cloup +Source: https://files.pythonhosted.org/packages/source/c/cloup/cloup-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} +# SECTION test requirements +BuildRequires: %{python_module click >= 8.0} +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +Requires: python-click >= 8.0 +Suggests: python-typing_extensions +BuildArch: noarch +%python_subpackages + +%description +Adds features to Click: option groups, constraints, subcommand sections and help themes. + +%prep +%setup -q -n cloup-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest tests + +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license LICENSE +%dir %{python_sitelib}/cloup +%{python_sitelib}/cloup +%{python_sitelib}/cloup-%{version}*-info + +%changelog