diff --git a/pip-licenses-2.3.0.tar.gz b/pip-licenses-2.3.0.tar.gz deleted file mode 100644 index 94785d3..0000000 --- a/pip-licenses-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:630f7e1b51ac0751c9c218e2ed76bb982e769301510a0bcca0dd4a47d05198fd -size 24158 diff --git a/pip-licenses-3.0.0.tar.gz b/pip-licenses-3.0.0.tar.gz new file mode 100644 index 0000000..9afc470 --- /dev/null +++ b/pip-licenses-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:318f09905529492d13b048a90cbdf92e196fc660e8700dc2e3cf99c7c957c775 +size 24441 diff --git a/python-pip-licenses.changes b/python-pip-licenses.changes index 07a52e0..aab7145 100644 --- a/python-pip-licenses.changes +++ b/python-pip-licenses.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 24 00:58:48 UTC 2020 - John Vandenberg + +- Update to v3.0.0 + * Change default behavior to `--from=mixed` + ------------------------------------------------------------------- Sun Oct 4 14:33:50 UTC 2020 - John Vandenberg diff --git a/python-pip-licenses.spec b/python-pip-licenses.spec index 6f1189b..c5fadcc 100644 --- a/python-pip-licenses.spec +++ b/python-pip-licenses.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pip-licenses -Version: 2.3.0 +Version: 3.0.0 Release: 0 Summary: Python packages license list License: MIT @@ -49,10 +49,10 @@ Dump the software license list of Python packages installed with pip. %setup -q -n pip-licenses-%{version} # PTable is an incompatible PrettyTable fork, and pip-licenses supports # either https://github.com/raimon49/pip-licenses/pull/52 -sed -i 's/PTable/PrettyTable/' setup.py +sed -i 's/PTable/prettytable/' setup.cfg piplicenses.py test_piplicenses.py sed -i '/addopts/d' setup.cfg -sed -i '/pytest-/d' setup.py +sed -i '/pytest-/d' setup.cfg sed -i '1{/^#!/d}' piplicenses.py %build @@ -65,8 +65,9 @@ sed -i '1{/^#!/d}' piplicenses.py %check export LANG=en_US.UTF-8 -# Fails due to pytest output incompatibility -%pytest -k 'not test_format_plain_vertical' +# test_format_plain_vertical fails due to pytest output incompatibility +# test_from_meta fails due to SPDX license naming +%pytest -k 'not (test_format_plain_vertical or test_from_meta)' %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %{buildroot}%{_bindir}/pip-licenses-%{$python_bin_suffix} -s %post