From 1573a2eda32a9464f307a41d105903f68750857460396346f9c005ceece01a53 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 21 Sep 2025 19:29:27 +0000 Subject: [PATCH] - update to 30.4.4: * Update license list to latest ScanCode and SPDX 3.27 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-license-expression?expand=0&rev=20 --- .gitattributes | 23 ++++++++ .gitignore | 1 + license_expression-30.4.4.tar.gz | 3 + python-license-expression.changes | 93 +++++++++++++++++++++++++++++++ python-license-expression.spec | 68 ++++++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 license_expression-30.4.4.tar.gz create mode 100644 python-license-expression.changes create mode 100644 python-license-expression.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/license_expression-30.4.4.tar.gz b/license_expression-30.4.4.tar.gz new file mode 100644 index 0000000..7dd8a72 --- /dev/null +++ b/license_expression-30.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73448f0aacd8d0808895bdc4b2c8e01a8d67646e4188f887375398c761f340fd +size 186402 diff --git a/python-license-expression.changes b/python-license-expression.changes new file mode 100644 index 0000000..294f3c8 --- /dev/null +++ b/python-license-expression.changes @@ -0,0 +1,93 @@ +------------------------------------------------------------------- +Sun Sep 21 19:29:08 UTC 2025 - Dirk Müller + +- update to 30.4.4: + * Update license list to latest ScanCode and SPDX 3.27 + +------------------------------------------------------------------- +Sat Jul 5 10:22:11 UTC 2025 - Dirk Müller + +- update to 30.4.3: + * Release license-expression wheels properly + * Update license list to latest ScanCode + +------------------------------------------------------------------- +Fri May 30 14:17:02 UTC 2025 - Markéta Machová + +- Update to 30.4.1 + * Use latest skeleton + * Update license list to latest ScanCode and SPDX 3.26 + * Drop support for Python 3.8 +- Convert to pip-based build + +------------------------------------------------------------------- +Fri Mar 22 20:44:33 UTC 2024 - Dirk Müller + +- update to 30.3.0: + * Use latest skeleton + * Update license list to latest ScanCode and SPDX 3.23 + * Drop support for Python 3.7 + +------------------------------------------------------------------- +Thu Dec 7 22:56:34 UTC 2023 - Dirk Müller + +- update to 30.2.0: + * Use latest skeleton + * Update license list to latest ScanCode and SPDX 3.22 + * Add Python 3.12 support in CI + +------------------------------------------------------------------- +Sun Mar 26 19:48:59 UTC 2023 - Dirk Müller + +- update to 30.1.0 + * This is a minor release without API changes + * Use latest skeleton (and updated configure script) + * Update license list to latest ScanCode and SPDX 3.19 + * Use correct syntax for python_require + * Drop using Travis and Appveyor + * Drop support for Python 3.7 and add Python 3.11 + +------------------------------------------------------------------- +Thu Sep 22 11:33:49 UTC 2022 - Matthias Fehring + +- Requires boolean.py 4.0 or newer + +------------------------------------------------------------------- +Sat Sep 17 05:25:43 UTC 2022 - John Vandenberg + +- Update to v30.0.0 + * Use latest skeleton (and updated configure script) + * Drop using calver + * Improve error checking when combining licenses +- from v21.6.14 + * Switch to calver for package versioning to better convey the + currency of the bundled data. + * Include https://scancode-licensedb.aboutcode.org/ licenses list + with ScanCode (v21.6.7) and SPDX licenses (v3.13) keys. Add new + functions to create Licensing using these licenses as LicenseSymbol. + * Add new License.dedup() method to deduplicate and simplify license + expressions without over simplifying. + * Add new License.validate() method to return a new ExpressionInfo + object with details on a license expression validation. + * Drop support for Python 2. + * Adopt the project skeleton from https://github.com/nexB/skeleton + and its new configure script + +------------------------------------------------------------------- +Wed Apr 15 11:55:39 UTC 2020 - pgajdos@suse.com + +- version update to 1.2 + * Fix anomalous backslashes in strings + * Update the thirdparty directory structure. + * New version of boolean.py library + * Add ability to leave license expressions unsorted when simplifying + +------------------------------------------------------------------- +Mon Sep 9 15:24:31 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner + +------------------------------------------------------------------- +Thu Sep 5 13:23:12 UTC 2019 - Carmen Bianca Bakker + +- New package, version 0.999 diff --git a/python-license-expression.spec b/python-license-expression.spec new file mode 100644 index 0000000..6293f1b --- /dev/null +++ b/python-license-expression.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-license-expression +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-license-expression +Version: 30.4.4 +Release: 0 +Summary: Library to parse, compare, simplify and normalize license expressions +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/nexB/license-expression +Source: https://files.pythonhosted.org/packages/source/l/license_expression/license_expression-%{version}.tar.gz +BuildRequires: %{python_module boolean.py >= 4.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-boolean.py >= 4.0 +BuildArch: noarch +%python_subpackages + +%description +This module defines a mini language to parse, validate, simplify, normalize and +compare license expressions using a boolean logic engine. + +This supports SPDX license expressions and also accepts other license naming +conventions and license identifiers aliases to resolve and normalize licenses. + +Using boolean logic, license expressions can be tested for equality, +containment, equivalence and can be normalized or simplified. + +%prep +%setup -q -n license_expression-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest tests + +%files %{python_files} +%license apache-2.0.LICENSE NOTICE +%doc README.rst +%{python_sitelib}/license[_-]expression +%{python_sitelib}/license[_-]expression-%{version}*-info + +%changelog