From dd89faf1c56ec6e055effe17aeed52b288342ab4a1a2e9b2a138bd41e54547af Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 10:10:55 +0000 Subject: [PATCH] - update to 1.0.4: * support new click versions * convert to poetry OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-aliases?expand=0&rev=7 --- click-aliases-1.0.1.tar.gz | 3 --- click-aliases-1.0.4-gh.tar.gz | 3 +++ python-click-aliases.changes | 7 +++++++ python-click-aliases.spec | 19 +++++++++++-------- 4 files changed, 21 insertions(+), 11 deletions(-) delete mode 100644 click-aliases-1.0.1.tar.gz create mode 100644 click-aliases-1.0.4-gh.tar.gz diff --git a/click-aliases-1.0.1.tar.gz b/click-aliases-1.0.1.tar.gz deleted file mode 100644 index 2d19163..0000000 --- a/click-aliases-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f48012077e0788eb02f4f8ee458fef3601873fec6c998e9ea8b4554394e705a3 -size 4190 diff --git a/click-aliases-1.0.4-gh.tar.gz b/click-aliases-1.0.4-gh.tar.gz new file mode 100644 index 0000000..086303a --- /dev/null +++ b/click-aliases-1.0.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1474c7587a85af101337eb391af45f239131a8f2008f52a4a2188722049edabe +size 25755 diff --git a/python-click-aliases.changes b/python-click-aliases.changes index 62a1fca..d99aade 100644 --- a/python-click-aliases.changes +++ b/python-click-aliases.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 27 10:09:10 UTC 2023 - Dirk Müller + +- update to 1.0.4: + * support new click versions + * convert to poetry + ------------------------------------------------------------------- Mon Apr 27 07:15:45 UTC 2020 - Tomáš Chvátal diff --git a/python-click-aliases.spec b/python-click-aliases.spec index 64e2830..ac3c1dc 100644 --- a/python-click-aliases.spec +++ b/python-click-aliases.spec @@ -1,7 +1,7 @@ # # spec file for package python-click-aliases # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -16,15 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-click-aliases -Version: 1.0.1 +Version: 1.0.4 Release: 0 Summary: Command aliases for Click License: MIT URL: https://github.com/click-contrib/click-aliases -Source: https://files.pythonhosted.org/packages/source/c/click-aliases/click-aliases-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +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 @@ -44,10 +46,10 @@ Command aliases for Click. %setup -q -n click-aliases-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,6 +60,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/click_aliases +%{python_sitelib}/click_aliases-%{version}.dist-info %changelog