15
0

Accepting request 1078727 from devel:languages:python

- Update to 4.2.0:
  - Implement new option --with-maintainers
  - Implement new option --python
  - Allow version spec in --ignore-packages parameters
  - When the Author field is UNKNOWN, the output is automatically
    completed from Author-email
  - When the home-page field is UNKNOWN, the output is
    automatically completed from Project-URL
- Update to 4.1.0:
  - Support case-insensitive license name matching around
    --fail-on and --allow-only parameters

OBS-URL: https://build.opensuse.org/request/show/1078727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip-licenses?expand=0&rev=10
This commit is contained in:
2023-04-12 13:48:22 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Apr 12 13:26:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Update to 4.2.0:
- Implement new option --with-maintainers
- Implement new option --python
- Allow version spec in --ignore-packages parameters
- When the Author field is UNKNOWN, the output is automatically
completed from Author-email
- When the home-page field is UNKNOWN, the output is
automatically completed from Project-URL
- Update to 4.1.0:
- Support case-insensitive license name matching around
--fail-on and --allow-only parameters
-------------------------------------------------------------------
Mon Feb 6 05:39:44 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

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