Hello community, here is the log from the commit of package python-Epsilon for openSUSE:Factory checked in at 2018-06-08 23:14:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Epsilon (Old) and /work/SRC/openSUSE:Factory/.python-Epsilon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Epsilon" Fri Jun 8 23:14:47 2018 rev:7 rq:614357 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Epsilon/python-Epsilon.changes 2015-04-23 08:03:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-Epsilon.new/python-Epsilon.changes 2018-06-08 23:14:52.649338233 +0200 @@ -1,0 +2,11 @@ +Tue Jun 5 15:00:08 UTC 2018 - mc...@suse.com + +- Cleanup with spec-cleaner +- Unfortunately python2-only and no tests (upstream bug filed) + +------------------------------------------------------------------- +Thu Aug 24 13:38:17 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -41,0 +53 @@ + Old: ---- Epsilon-0.7.0.tar.gz New: ---- Epsilon-0.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Epsilon.spec ++++++ --- /var/tmp/diff_new_pack.gqe4gG/_old 2018-06-08 23:14:53.509307175 +0200 +++ /var/tmp/diff_new_pack.gqe4gG/_new 2018-06-08 23:14:53.513307030 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Epsilon # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,24 +16,27 @@ # +# +%define skip_python3 1 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Epsilon -Version: 0.7.0 +Version: 0.7.1 Release: 0 Summary: Divmod utility package License: MIT Group: Development/Languages/Python -Url: https://github.com/twisted/epsilon -Source0: http://pypi.python.org/packages/source/E/Epsilon/Epsilon-%{version}.tar.gz -BuildRequires: python-Twisted >= 13.2.0 -BuildRequires: python-devel -BuildRequires: python-setuptools +URL: https://github.com/twisted/epsilon +Source0: https://files.pythonhosted.org/packages/source/E/Epsilon/Epsilon-%{version}.tar.gz +BuildRequires: %{python_module Twisted >= 13.2.0} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyOpenSSL >= 0.13} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Twisted >= 13.2.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description A small utility package that depends on tools too recent for Twisted (like @@ -52,20 +55,28 @@ * A formal system for application of monkey-patches. %prep -%setup -n Epsilon-%{version} -q +%setup -q -n Epsilon-%{version} # fix end-of-line sed -i 's/\r//' NAME.txt %build -python setup.py build +%python_build %install -python setup.py install --skip-build --root %{buildroot} --prefix %{_prefix} +%python_install rm -f %{buildroot}%{_bindir}/benchmark +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) -%doc LICENSE README NAME.txt NEWS.txt +%check +# Tests fail for some incompatibility with the current version of +# Twisted +# https://github.com/twisted/epsilon/issues/25 +# python_exec setup.py test + +%files %{python_files} +%license LICENSE +%doc README NAME.txt NEWS.txt +%{_bindir}/certcreate %{python_sitelib}/* %changelog ++++++ Epsilon-0.7.0.tar.gz -> Epsilon-0.7.1.tar.gz ++++++ ++++ 2062 lines of diff (skipped)