Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pylineclip for openSUSE:Factory checked in at 2021-01-25 18:23:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pylineclip (Old) and /work/SRC/openSUSE:Factory/.python-pylineclip.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pylineclip" Mon Jan 25 18:23:43 2021 rev:2 rq:866280 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pylineclip/python-pylineclip.changes 2019-12-10 22:42:12.493813901 +0100 +++ /work/SRC/openSUSE:Factory/.python-pylineclip.new.28504/python-pylineclip.changes 2021-01-25 18:24:01.088463333 +0100 @@ -1,0 +2,8 @@ +Sat Jan 23 18:47:26 UTC 2021 - Benjamin Greiner <[email protected]> + +- The rpm packaging does neither require pip, twine nor any of the + static linters or coverage tools. +- Numpy is not used anywhere +- Install DemoLineclip.py into docs dir + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pylineclip.spec ++++++ --- /var/tmp/diff_new_pack.NtPGJJ/_old 2021-01-25 18:24:01.592464066 +0100 +++ /var/tmp/diff_new_pack.NtPGJJ/_new 2021-01-25 18:24:01.592464066 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pylineclip # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,20 +25,12 @@ License: MIT URL: https://github.com/scivision/lineclipping-python-fortran Source: https://github.com/scivision/lineclipping-python-fortran/archive/v%{version}.tar.gz#/lineclipping-python-fortran-%{version}.tar.gz -BuildRequires: %{python_module pip >= 10} BuildRequires: %{python_module setuptools >= 38.6} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module twine >= 1.11} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module coveralls} -BuildRequires: %{python_module flake8} -BuildRequires: %{python_module mypy} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -55,15 +47,20 @@ %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand # +mkdir demo-%{$python_bin_suffix} +sed -e '1 {s|^#!.*$|#!%{_bindir}/$python|}' DemoLineclip.py > demo-%{$python_bin_suffix}/DemoLineclip.py +%fdupes %{buildroot}%{$python_sitelib} +} rm %{buildroot}%{_bindir}/DemoLineclip.py %check %pytest %files %{python_files} -%doc README.md +%doc README.md demo-%{python_bin_suffix}/DemoLineclip.py %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/pylineclip +%{python_sitelib}/pylineclip-%{version}*-info %changelog
