forked from pool/python-click-aliases
- update to 1.0.5:
* typing hints * fix cmd.name to name * dependency bumps OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-aliases?expand=0&rev=9
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
click-aliases-1.0.4-gh.tar.gz
Normal file
3
click-aliases-1.0.4-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1474c7587a85af101337eb391af45f239131a8f2008f52a4a2188722049edabe
|
||||
size 25755
|
||||
3
click-aliases-1.0.5-gh.tar.gz
Normal file
3
click-aliases-1.0.5-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:726f7f3b3b88d37e144130485dfcb4be95a05e1adf4527cf96ebde3a59447e13
|
||||
size 28075
|
||||
29
python-click-aliases.changes
Normal file
29
python-click-aliases.changes
Normal file
@@ -0,0 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 13:58:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.5:
|
||||
* typing hints
|
||||
* fix cmd.name to name
|
||||
* dependency bumps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 10:09:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.4:
|
||||
* support new click versions
|
||||
* convert to poetry
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 07:15:45 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Disable test_invalid checks, quotes change in output
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 03:41:04 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add LANG to %check to fix build on Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 26 02:14:14 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v1.0.1
|
||||
66
python-click-aliases.spec
Normal file
66
python-click-aliases.spec
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-click-aliases
|
||||
#
|
||||
# Copyright (c) 2024 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-click-aliases
|
||||
Version: 1.0.5
|
||||
Release: 0
|
||||
Summary: Command aliases for Click
|
||||
License: MIT
|
||||
URL: https://github.com/click-contrib/click-aliases
|
||||
Source: https://github.com/click-contrib/click-aliases/archive/refs/tags/v%{version}.tar.gz#/click-aliases-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-click
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
# See https://github.com/click-contrib/click-aliases/issues/5
|
||||
# for problems with click 6.7 currently on Leap.
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Command aliases for Click.
|
||||
|
||||
%prep
|
||||
%setup -q -n click-aliases-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
# test_invalid fails with new click as the quotes in output changed from single to regular ones
|
||||
%pytest -k 'not test_invalid'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/click_aliases
|
||||
%{python_sitelib}/click_aliases-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user