Hello community,
here is the log from the commit of package python-pyparsing for
openSUSE:Factory checked in at 2019-11-04 17:11:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyparsing (Old)
and /work/SRC/openSUSE:Factory/.python-pyparsing.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyparsing"
Mon Nov 4 17:11:02 2019 rev:34 rq:743993 version:2.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyparsing/python-pyparsing.changes
2019-08-08 14:22:00.632361847 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyparsing.new.2990/python-pyparsing.changes
2019-11-04 17:11:03.556559375 +0100
@@ -1,0 +2,5 @@
+Wed Oct 16 14:22:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Do not pull in setuptools dependency at all to avoid cycles
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyparsing.spec ++++++
--- /var/tmp/diff_new_pack.4PkvSg/_old 2019-11-04 17:11:05.084561008 +0100
+++ /var/tmp/diff_new_pack.4PkvSg/_new 2019-11-04 17:11:05.136561063 +0100
@@ -32,26 +32,15 @@
Release: 0
Summary: Grammar Parser Library for Python
License: MIT AND GPL-2.0-or-later AND GPL-3.0-or-later
-Group: Development/Languages/Python
URL: https://github.com/pyparsing/pyparsing/
-# Upstream tarball from the master branch with gh#pyparsing/pyparsing#47
Source:
https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
-# Source: pyparsing-%{version}.tar.xz
BuildRequires: %{python_module base}
-BuildRequires: %{python_module setuptools}
-%if "%{flavor}" == "test"
-# Not necessary for python3, but tests fail with the standard unittest
-# and python 2.7
-BuildRequires: %{python_module unittest2}
-%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-#!BuildIgnore: python2-pyparsing
-#!BuildIgnore: python3-pyparsing
-# do not add dependencies on setuptools and ideally not even full "python";
-# this is now a dependency of setuptools
-Requires: python-base
BuildArch: noarch
+%if %{with test}
+BuildRequires: %{python_module unittest2}
+%endif
%ifpython2
Provides: %{oldpython}-parsing = %{version}
Obsoletes: %{oldpython}-parsing < %{version}
@@ -66,6 +55,9 @@
%prep
%setup -q -n %{modname}-%{version}
+# do not require setuptools
+# https://github.com/pyparsing/pyparsing/pull/133
+sed -i -e 's:from setuptools :from distutils.core :g' setup.py
%build
%python_build