2 Commits

Author SHA256 Message Date
496239661a Accepting request 1191240 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=23
2024-08-03 18:04:49 +00:00
f03bc30d8e Accepting request 1191183 from home:glaubitz:branches:devel:languages:python
- Update to version 0.12.0
  * Declare support for Python 3.12 (#279)
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
- Limit Python files matched in %files section

OBS-URL: https://build.opensuse.org/request/show/1191183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=46
2024-08-02 15:48:42 +00:00
4 changed files with 21 additions and 7 deletions

View File

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

BIN
knack-0.12.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Aug 2 11:56:05 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.12.0
* Declare support for Python 3.12 (#279)
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
- Limit Python files matched in %files section
-------------------------------------------------------------------
Wed Mar 6 14:07:45 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-knack
Version: 0.11.0
Version: 0.12.0
Release: 0
Summary: A Command-Line Interface framework
License: MIT
@@ -28,11 +28,13 @@ Source: https://files.pythonhosted.org/packages/source/k/knack/knack-%{v
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module argcomplete}
BuildRequires: %{python_module jmespath}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tabulate}
BuildRequires: %{python_module vcrpy}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
@@ -50,10 +52,10 @@ A Command-Line Interface framework
%setup -q -n knack-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +64,7 @@ A Command-Line Interface framework
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/knack
%{python_sitelib}/knack-*.dist-info
%changelog