Hello community, here is the log from the commit of package python-pontos for openSUSE:Factory checked in at 2020-10-29 14:52:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pontos (Old) and /work/SRC/openSUSE:Factory/.python-pontos.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pontos" Thu Oct 29 14:52:28 2020 rev:2 rq:844835 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pontos/python-pontos.changes 2020-10-13 15:31:51.964926063 +0200 +++ /work/SRC/openSUSE:Factory/.python-pontos.new.3463/python-pontos.changes 2020-10-29 14:52:35.881251079 +0100 @@ -1,0 +2,20 @@ +Tue Oct 27 14:04:04 UTC 2020 - Benjamin Greiner <[email protected]> + +- Update to version 0.3.0 + * Add possibility to update the version within a cmake project. + * Add possibility to execute version script via poetry run + version + * Add CHANGELOG.md handling (updating unreleased, get unreleased + information) + * Add release command to make a release + * Add prepare release command + * __main__ checks if there is CMakeLists.txt or pyproject.toml + in path. + * Based on that it decide which version command it will execute. +- Kill dephell dependency by using the PyPI sdist setup.py +- Switch to plain python unittest because pytest finds some broken + functions in test_changelog_changelog.py +- package for Python3.6 with dataclasses backport despite upstream + not supporting it + +------------------------------------------------------------------- Old: ---- pontos-0.2.0.tar.gz New: ---- pontos-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pontos.spec ++++++ --- /var/tmp/diff_new_pack.Enen9x/_old 2020-10-29 14:52:36.437251268 +0100 +++ /var/tmp/diff_new_pack.Enen9x/_new 2020-10-29 14:52:36.441251270 +0100 @@ -1,6 +1,7 @@ # # spec file for package python-pontos # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2020, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -12,25 +13,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pontos -Version: 0.2.0 +Version: 0.3.0 Release: 0 Summary: Common utilities and tools maintained by Greenbone Networks License: GPL-3.0-or-later Group: Development/Languages/Python URL: https://github.com/greenbone/pontos Source: https://files.pythonhosted.org/packages/source/p/pontos/pontos-%{version}.tar.gz +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module tomlkit} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python-dephell-rpm-macros +BuildRequires: (python3-dataclasses if python3 < 3.7) +BuildRequires: (python36-dataclasses if python36) BuildArch: noarch +%if %{python_version_nodots} < 37 +Requires: python-dataclasses +%endif %python_subpackages %description @@ -41,21 +48,32 @@ %prep %setup -q -n pontos-%{version} -%dephell_gensetup %build %python_build %install %python_install +%python_clone -a %{buildroot}%{_bindir}/pontos-release +%python_clone -a %{buildroot}%{_bindir}/pontos-version +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pyunittest -v + +%post +%python_install_alternative pontos-release pontos-version + +%postun +%python_uninstall_alternative pontos-release %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/pontos* +%python_alternative pontos-release +%python_alternative pontos-version +%{python_sitelib}/pontos +%{python_sitelib}/pontos-%{version}*-info %changelog ++++++ pontos-0.2.0.tar.gz -> pontos-0.3.0.tar.gz ++++++ ++++ 2302 lines of diff (skipped)
