15
0

Accepting request 1135261 from devel:languages:python

- update to 1.0.4:
  * support new click versions
  * convert to poetry

OBS-URL: https://build.opensuse.org/request/show/1135261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click-aliases?expand=0&rev=4
This commit is contained in:
2023-12-28 22:01:24 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f48012077e0788eb02f4f8ee458fef3601873fec6c998e9ea8b4554394e705a3
size 4190

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1474c7587a85af101337eb391af45f239131a8f2008f52a4a2188722049edabe
size 25755

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
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>

View File

@@ -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