Hello community,

here is the log from the commit of package python-pip-licenses for 
openSUSE:Leap:15.2 checked in at 2020-02-22 17:49:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pip-licenses (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pip-licenses.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip-licenses"

Sat Feb 22 17:49:41 2020 rev:1 rq:775683 version:1.18.0

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-pip-licenses.new.26092/python-pip-licenses.changes
     2020-02-22 17:49:42.205439392 +0100
@@ -0,0 +1,14 @@
+-------------------------------------------------------------------
+Sun Dec 22 05:03:39 UTC 2019 - John Vandenberg <[email protected]>
+
+- Update to v1.18.0
+
+-------------------------------------------------------------------
+Tue Dec 17 08:15:17 UTC 2019 - John Vandenberg <[email protected]>
+
+- Update to v0.17.0
+
+-------------------------------------------------------------------
+Wed May  8 03:54:23 PM UTC 2019 - John Vandenberg <[email protected]>
+
+- Initial spec for v1.13.0

New:
----
  pip-licenses-1.18.0.tar.gz
  python-pip-licenses.changes
  python-pip-licenses.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pip-licenses.spec ++++++
#
# spec file for package python-pip-licenses
#
# Copyright (c) 2019 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-pip-licenses
Version:        1.18.0
Release:        0
Summary:        Python packages license list
License:        MIT
Group:          Development/Languages/Python
URL:            https://github.com/raimon49/pip-licenses
Source:         
https://files.pythonhosted.org/packages/source/p/pip-licenses/pip-licenses-%{version}.tar.gz
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-PrettyTable
BuildArch:      noarch
# SECTION test requirements
BuildRequires:  %{python_module PrettyTable}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module wheel}
# /SECTION
%python_subpackages

%description
Dump the software license list of Python packages installed with pip.

%prep
%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 '/addopts/d' setup.cfg
sed -i '/pytest-/d' setup.py
sed -i '1{/^#!/d}' piplicenses.py

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%pytest
PYTHONPATH=%{buildroot}%{python3_sitelib} %{buildroot}%{_bindir}/pip-licenses -s

%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
%python3_only %{_bindir}/pip-licenses
%{python_sitelib}/*

%changelog

Reply via email to