From f03bc30d8e2a4dddc328c06d4f66f362137be6b28f79ec6aceea6060562996ec Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 2 Aug 2024 15:48:42 +0000 Subject: [PATCH] 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 --- knack-0.11.0.tar.gz | 3 --- knack-0.12.0.tar.gz | 3 +++ python-knack.changes | 11 +++++++++++ python-knack.spec | 11 +++++++---- 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 knack-0.11.0.tar.gz create mode 100644 knack-0.12.0.tar.gz diff --git a/knack-0.11.0.tar.gz b/knack-0.11.0.tar.gz deleted file mode 100644 index 9fc5aca..0000000 --- a/knack-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb6568001e9110b1b320941431c51033d104cc98cda2254a5c2b09ba569fd494 -size 72308 diff --git a/knack-0.12.0.tar.gz b/knack-0.12.0.tar.gz new file mode 100644 index 0000000..7462d6f --- /dev/null +++ b/knack-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71f2a6b42ae9a302e43243320fa05edb09b19339fcf1f331f5b6d07bf97f5291 +size 72401 diff --git a/python-knack.changes b/python-knack.changes index 418dd67..e289aa2 100644 --- a/python-knack.changes +++ b/python-knack.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 2 11:56:05 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-knack.spec b/python-knack.spec index e365414..bcaffe2 100644 --- a/python-knack.spec +++ b/python-knack.spec @@ -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