diff --git a/python-trove-classifiers.changes b/python-trove-classifiers.changes index 61ede00..bf446ab 100644 --- a/python-trove-classifiers.changes +++ b/python-trove-classifiers.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Oct 2 01:23:29 UTC 2025 - Steve Kowalik + +- Update to 2025.9.11.17: + * Add support for Odoo 19.0 in classifiers + * Add classifier: Framework InvenTree + * Add `"Programming Language :: Zig"` classifier + * Add Django 6 classifiers to trove_classifiers + * Add classifier for CUDA 13 + * Add trove classifier for GraalPython + * feat: add free-threading classifiers + * Add several missing languages + * Add Trove classifier for Python 3.15 + * Don't assume basename of sys.executable is "python" + * Add entry point to enable installing with pipx or uvx + * Add classifier for Wagtail 7 + ------------------------------------------------------------------- Sun Mar 30 08:16:54 UTC 2025 - Dirk Müller diff --git a/python-trove-classifiers.spec b/python-trove-classifiers.spec index ab7ff4f..cd82d1b 100644 --- a/python-trove-classifiers.spec +++ b/python-trove-classifiers.spec @@ -1,7 +1,7 @@ # # spec file for package python-trove-classifiers # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,10 +24,15 @@ %define psuffix %{nil} %bcond_with test %endif +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-trove-classifiers%{?psuffix} -Version: 2025.3.19.19 +Version: 2025.9.11.17 Release: 0 Summary: Canonical source for classifiers on PyPI License: Apache-2.0 @@ -41,8 +46,16 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module trove-classifiers = %{version}} %endif BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %python_subpackages %description @@ -57,6 +70,7 @@ Classifiers categorize projects per PEP 301. Use this package to validate classi %install %pyproject_install +%python_clone -a %{buildroot}%{_bindir}/trove-classifiers %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -66,9 +80,20 @@ Classifiers categorize projects per PEP 301. Use this package to validate classi %endif %if !%{with test} +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative trove-classifiers + +%post +%python_install_alternative trove-classifiers + +%postun +%python_uninstall_alternative trove-classifiers + %files %{python_files} %doc README.md %license LICENSE +%python_alternative %{_bindir}/trove-classifiers %{python_sitelib}/trove_classifiers %{python_sitelib}/trove_classifiers-%{version}.dist-info %endif diff --git a/trove_classifiers-2025.3.19.19.tar.gz b/trove_classifiers-2025.3.19.19.tar.gz deleted file mode 100644 index 0f650c6..0000000 --- a/trove_classifiers-2025.3.19.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98e9d396fe908d5f43b7454fa4c43d17cd0fdadf046f45fb38a5e3af8d959ecd -size 16280 diff --git a/trove_classifiers-2025.9.11.17.tar.gz b/trove_classifiers-2025.9.11.17.tar.gz new file mode 100644 index 0000000..c6123c7 --- /dev/null +++ b/trove_classifiers-2025.9.11.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:931ca9841a5e9c9408bc2ae67b50d28acf85bef56219b56860876dd1f2d024dd +size 16975