Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-agate-stats for 
openSUSE:Factory checked in at 2023-03-17 17:04:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-stats (Old)
 and      /work/SRC/openSUSE:Factory/.python-agate-stats.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-agate-stats"

Fri Mar 17 17:04:06 2023 rev:3 rq:1072445 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-stats/python-agate-stats.changes    
2021-05-21 21:50:34.674093843 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-agate-stats.new.31432/python-agate-stats.changes
 2023-03-17 17:04:37.469794787 +0100
@@ -1,0 +2,8 @@
+Thu Mar  9 11:03:07 UTC 2023 - [email protected]
+
+- do not require six
+- added patches
+  fix https://github.com/wireservice/agate-stats/issues/18
+  + python-agate-stats-no-six.patch
+
+-------------------------------------------------------------------

New:
----
  python-agate-stats-no-six.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-agate-stats.spec ++++++
--- /var/tmp/diff_new_pack.DSRcDQ/_old  2023-03-17 17:04:37.893797021 +0100
+++ /var/tmp/diff_new_pack.DSRcDQ/_new  2023-03-17 17:04:37.901797064 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-agate-stats
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-agate-stats
 Version:        0.4.0
 Release:        0
@@ -27,6 +26,8 @@
 Source:         
https://github.com/wireservice/agate-stats/archive/refs/tags/%{version}.tar.gz#/agate-stats-%{version}.tar.gz
 # https://github.com/wireservice/agate-stats/compare/0.4.0...master.diff
 Patch0:         python-agate-stats-remove-mysterious-line.patch
+# https://github.com/wireservice/agate-stats/issues/18
+Patch1:         python-agate-stats-no-six.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -47,7 +48,7 @@
 
 %prep
 %setup -q -n agate-stats-%{version}
-%patch0 -p1
+%autopatch -p1
 sed -i -e '/^#!\//, 1d' agatestats/*.py
 
 %build
@@ -64,6 +65,7 @@
 %defattr(-,root,root,-)
 %doc README.rst
 %license COPYING
-%{python_sitelib}/*
+%{python_sitelib}/agate_stats*
+%{python_sitelib}/agatestats*
 
 %changelog

++++++ python-agate-stats-no-six.patch ++++++
Index: agate-stats-0.4.0/requirements-py2.txt
===================================================================
--- agate-stats-0.4.0.orig/requirements-py2.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-unittest2==0.5.1
-nose>=1.1.2
-tox>=1.3
-Sphinx>=1.2.2
-sphinx_rtd_theme>=0.1.6
-wheel>=0.24.0
-agate>=1.5.0
-ipython>=4.0.0
-notebook>=4.0.4
-pylint>=1.4.4
-six>=1.6.1
-coverage>=3.7.1
Index: agate-stats-0.4.0/requirements-py3.txt
===================================================================
--- agate-stats-0.4.0.orig/requirements-py3.txt
+++ agate-stats-0.4.0/requirements-py3.txt
@@ -7,5 +7,4 @@ agate>=1.5.0
 ipython>=4.0.0
 notebook>=4.0.4
 pylint>=1.4.4
-six>=1.6.1
 coverage>=3.7.1
Index: agate-stats-0.4.0/setup.py
===================================================================
--- agate-stats-0.4.0.orig/setup.py
+++ agate-stats-0.4.0/setup.py
@@ -3,7 +3,6 @@
 from setuptools import setup
 
 install_requires = [
-    'six>=1.6.1',
     'agate>=1.5.0'
 ]
 
Index: agate-stats-0.4.0/tox.ini
===================================================================
--- agate-stats-0.4.0.orig/tox.ini
+++ agate-stats-0.4.0/tox.ini
@@ -4,7 +4,6 @@ envlist = py27,py33,py34,py35,pypy
 [testenv]
 deps=
     nose>=1.1.2
-    six>=1.6.1
 commands=nosetests
 
 [testenv:py27]
Index: agate-stats-0.4.0/agatestats/aggregations.py
===================================================================
--- agate-stats-0.4.0.orig/agatestats/aggregations.py
+++ agate-stats-0.4.0/agatestats/aggregations.py
@@ -1,7 +1,5 @@
 #!/usr/bin/env python
 
-from six.moves import map
-
 import agate
 
 class PearsonCorrelation(agate.Aggregation):

Reply via email to