Hello community, here is the log from the commit of package python-promise for openSUSE:Factory checked in at 2019-02-13 10:01:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-promise (Old) and /work/SRC/openSUSE:Factory/.python-promise.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-promise" Wed Feb 13 10:01:20 2019 rev:2 rq:673322 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-promise/python-promise.changes 2018-05-15 10:32:40.945773850 +0200 +++ /work/SRC/openSUSE:Factory/.python-promise.new.28833/python-promise.changes 2019-02-13 10:01:30.829618977 +0100 @@ -1,0 +2,7 @@ +Mon Feb 11 12:12:50 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to version 2.2.1: + * support python3 + * have license in tarball + +------------------------------------------------------------------- Old: ---- LICENSE promise-2.1.tar.gz New: ---- promise-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-promise.spec ++++++ --- /var/tmp/diff_new_pack.nRIs57/_old 2019-02-13 10:01:32.849618479 +0100 +++ /var/tmp/diff_new_pack.nRIs57/_new 2019-02-13 10:01:32.853618479 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-promise # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,43 +12,43 @@ # 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/ # Name: python-promise -Version: 2.1 -# for license file -%define tag b055d1e2aa1368062bc4f265b525bf2e48fadc47 +Version: 2.2.1 Release: 0 Summary: Promises/A+ implementation for Python License: MIT Group: Development/Languages/Python -Url: https://github.com/syrusakbary/promise +URL: https://github.com/syrusakbary/promise Source: https://files.pythonhosted.org/packages/source/p/promise/promise-%{version}.tar.gz -Source10: https://raw.githubusercontent.com/syrusakbary/promise/%{tag}/LICENSE -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six -Requires: python-typing -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%ifpython2 +Requires: python-typing +%endif +%python_subpackages %description This is an implementation of Promises in Python %prep %setup -q -n promise-%{version} -cp %{SOURCE10} . %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) +%files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/* ++++++ promise-2.1.tar.gz -> promise-2.2.1.tar.gz ++++++ ++++ 1921 lines of diff (skipped)
