15
0

Accepting request 1282326 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1282326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-license-expression?expand=0&rev=8
This commit is contained in:
2025-06-03 15:57:06 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 11 deletions

View File

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

View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-license-expression
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -16,19 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-license-expression
Version: 30.3.0
Version: 30.4.1
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
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
@@ -46,13 +47,13 @@ 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}
%setup -q -n license_expression-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,6 +62,7 @@ containment, equivalence and can be normalized or simplified.
%files %{python_files}
%license apache-2.0.LICENSE NOTICE
%doc README.rst
%{python_sitelib}/license[_-]expression*
%{python_sitelib}/license[_-]expression
%{python_sitelib}/license[_-]expression-%{version}*-info
%changelog