forked from pool/python-license-expression
- update to 30.4.3:
* Release license-expression wheels properly * Update license list to latest ScanCode OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-license-expression?expand=0&rev=18
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
license-expression-30.3.0.tar.gz
Normal file
3
license-expression-30.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1295406f736b4f395ff069aec1cebfad53c0fcb3cf57df0f5ec58fc7b905aea5
|
||||
size 174389
|
||||
3
license_expression-30.4.1.tar.gz
Normal file
3
license_expression-30.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9f02105f9e0fcecba6a85dfbbed7d94ea1c3a70cf23ddbfb5adf3438a6f6fce0
|
||||
size 177184
|
||||
3
license_expression-30.4.3.tar.gz
Normal file
3
license_expression-30.4.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49f439fea91c4d1a642f9f2902b58db1d42396c5e331045f41ce50df9b40b1f2
|
||||
size 183031
|
||||
87
python-license-expression.changes
Normal file
87
python-license-expression.changes
Normal file
@@ -0,0 +1,87 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 5 10:22:11 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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á <mmachova@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <buschmann23@opensuse.org>
|
||||
|
||||
- Requires boolean.py 4.0 or newer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 17 05:25:43 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <tchvatal@suse.com>
|
||||
|
||||
- Format with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 13:23:12 UTC 2019 - Carmen Bianca Bakker <carmen@carmenbianca.eu>
|
||||
|
||||
- New package, version 0.999
|
||||
68
python-license-expression.spec
Normal file
68
python-license-expression.spec
Normal file
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-license-expression
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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.3
|
||||
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
|
||||
Reference in New Issue
Block a user