15
0

Accepting request 1084817 from devel:languages:python

- Update to 4.3.1:
  * Fix to treat package names as normalized as in PEP 503 with
    --packages and --ignore-packages option
- 4.3.0:
  * Implement new option --no-version

OBS-URL: https://build.opensuse.org/request/show/1084817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip-licenses?expand=0&rev=11
This commit is contained in:
2023-05-05 13:57:37 +00:00
committed by Git OBS Bridge
4 changed files with 15 additions and 6 deletions

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80236ae03036f0edccae57489de3932aa93984a7b552f4fd47399b08793918ff
size 34646

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 4 16:56:21 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 4.3.1:
* Fix to treat package names as normalized as in PEP 503 with
--packages and --ignore-packages option
- 4.3.0:
* Implement new option --no-version
-------------------------------------------------------------------
Wed Apr 12 13:26:16 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -18,7 +18,7 @@
%define skip_python2 1
Name: python-pip-licenses
Version: 4.2.0
Version: 4.3.1
Release: 0
Summary: Python packages license list
License: MIT
@@ -40,6 +40,7 @@ BuildRequires: %{python_module PrettyTable}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module wheel}
# /SECTION
%python_subpackages
@@ -65,8 +66,7 @@ sed -i '1{/^#!/d}' piplicenses.py
%check
export LANG=en_US.UTF-8
# gh#raimon49/pip-licenses#120 for test_from_all
# gh#raimon49/pip-licenses#156 for test_different_python
%pytest -k 'not (test_from_all or test_different_python)'
%pytest -k 'not test_from_all'
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %{buildroot}%{_bindir}/pip-licenses-%{$python_bin_suffix} -s
%post