commit python-jaraco.text for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-jaraco.text for 
openSUSE:Factory checked in at 2020-04-19 21:40:36

Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old)
 and  /work/SRC/openSUSE:Factory/.python-jaraco.text.new.2738 (New)


Package is "python-jaraco.text"

Sun Apr 19 21:40:36 2020 rev:5 rq:784817 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes
2020-01-16 18:17:06.904834786 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.text.new.2738/python-jaraco.text.changes
  2020-04-19 21:40:41.635024300 +0200
@@ -1,0 +2,6 @@
+Sat Mar 14 08:09:33 UTC 2020 - Tomáš Chvátal 
+
+- Fix build on older openSUSE releases as with py3.6 we need the
+  importlib_resources too
+
+---



Other differences:
--
++ python-jaraco.text.spec ++
--- /var/tmp/diff_new_pack.EvMGnE/_old  2020-04-19 21:40:42.659026355 +0200
+++ /var/tmp/diff_new_pack.EvMGnE/_new  2020-04-19 21:40:42.663026363 +0200
@@ -22,24 +22,21 @@
 Release:0
 Summary:Tools to work with text
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/jaraco/jaraco.text
 Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz
+BuildRequires:  %{python_module importlib_resources}
 BuildRequires:  %{python_module jaraco.base >= 6.1}
 BuildRequires:  %{python_module jaraco.functools}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-importlib_resources
 BuildRequires:  python-rpm-macros
+Requires:   python-importlib_resources
 Requires:   python-jaraco.base >= 6.1
 Requires:   python-jaraco.functools
 Requires:   python-six
 BuildArch:  noarch
-%ifpython2
-Requires:   python-importlib_resources
-%endif
 %python_subpackages
 
 %description




commit python-jaraco.text for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package python-jaraco.text for 
openSUSE:Factory checked in at 2020-01-16 18:17:03

Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old)
 and  /work/SRC/openSUSE:Factory/.python-jaraco.text.new.26092 (New)


Package is "python-jaraco.text"

Thu Jan 16 18:17:03 2020 rev:4 rq:764934 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes
2019-03-26 22:34:40.997673047 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.text.new.26092/python-jaraco.text.changes
 2020-01-16 18:17:06.904834786 +0100
@@ -1,0 +2,7 @@
+Thu Jan 16 09:44:33 UTC 2020 - Tomáš Chvátal 
+
+- Update to 3.2.0:
+  * Added normalize_newlines function.
+  * Added wrap and unwrap functions and lorem_ipsum attribute containing the 
Lorem Ipsum sample text.
+
+---

Old:

  jaraco.text-3.0.tar.gz

New:

  jaraco.text-3.2.0.tar.gz



Other differences:
--
++ python-jaraco.text.spec ++
--- /var/tmp/diff_new_pack.mGmOGz/_old  2020-01-16 18:17:08.104835465 +0100
+++ /var/tmp/diff_new_pack.mGmOGz/_new  2020-01-16 18:17:08.104835465 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.text
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jaraco.text
-Version:3.0
+Version:3.2.0
 Release:0
 Summary:Tools to work with text
 License:MIT
@@ -31,12 +31,15 @@
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-importlib_resources
 BuildRequires:  python-rpm-macros
 Requires:   python-jaraco.base >= 6.1
-Requires:   python-jaraco.collections
 Requires:   python-jaraco.functools
 Requires:   python-six
 BuildArch:  noarch
+%ifpython2
+Requires:   python-importlib_resources
+%endif
 %python_subpackages
 
 %description
@@ -44,7 +47,7 @@
 
 %prep
 %setup -q -n jaraco.text-%{version}
-sed -i 's/--flake8//' pytest.ini
+sed -i 's/--flake8 --black --cov//' pytest.ini
 rm -rf jaraco.text.egg-info
 
 %build
@@ -52,6 +55,7 @@
 
 %install
 %python_install
+%python_expand install -Dm 0644 jaraco/text/*.txt 
%{buildroot}%{$python_sitelib}/jaraco/text/
 
 %{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
   %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
@@ -67,7 +71,6 @@
 %license LICENSE
 %doc docs/*.rst README.rst CHANGES.rst
 %{python_sitelib}/jaraco.text-%{version}-py*.egg-info
-%{python_sitelib}/jaraco/text.py*
-%pycache_only %{python_sitelib}/jaraco/__pycache__/text*.py*
+%{python_sitelib}/jaraco*
 
 %changelog

++ jaraco.text-3.0.tar.gz -> jaraco.text-3.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-3.0/.coveragerc 
new/jaraco.text-3.2.0/.coveragerc
--- old/jaraco.text-3.0/.coveragerc 1970-01-01 01:00:00.0 +0100
+++ new/jaraco.text-3.2.0/.coveragerc   2019-12-01 18:38:50.0 +0100
@@ -0,0 +1,5 @@
+[run]
+omit = .tox/*
+
+[report]
+show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-3.0/.flake8 new/jaraco.text-3.2.0/.flake8
--- old/jaraco.text-3.0/.flake8 2019-03-09 21:18:25.0 +0100
+++ new/jaraco.text-3.2.0/.flake8   2019-12-01 18:38:50.0 +0100
@@ -1,10 +1,9 @@
 [flake8]
+max-line-length = 88
 ignore =
-   # Allow tabs for indentation
-   W191
-   # Workaround for https://github.com/PyCQA/pycodestyle/issues/836
-   E117
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
W503
# W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
W504
+   # Black creates whitespace before colon
+   E203
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-3.0/.pre-commit-config.yaml 
new/jaraco.text-3.2.0/.pre-commit-config.yaml
--- old/jaraco.text-3.0/.pre-commit-config.yaml 1970-01-01 01:00:00.0 
+0100
+++ new/jaraco.text-3.2.0/.pre-commit-config.yaml   2019-12-01 
18:38:50.0 +0100
@@ -0,0 +1,5 @@
+repos:
+- repo: https://github.com/psf/black
+  rev: 19.3b0
+  hooks:
+  - id: black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-3.0/.tr

commit python-jaraco.text for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package python-jaraco.text for 
openSUSE:Factory checked in at 2019-03-26 22:33:52

Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old)
 and  /work/SRC/openSUSE:Factory/.python-jaraco.text.new.25356 (New)


Package is "python-jaraco.text"

Tue Mar 26 22:33:52 2019 rev:3 rq:688759 version:3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes
2019-03-04 09:21:46.708585831 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.text.new.25356/python-jaraco.text.changes
 2019-03-26 22:34:40.997673047 +0100
@@ -1,0 +2,7 @@
+Tue Mar 26 14:34:01 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.0:
+  * Remove collections dependency to avoid buildcycle
+- Remove multibuild as per above
+
+---

Old:

  _multibuild
  jaraco.text-2.0.tar.gz

New:

  jaraco.text-3.0.tar.gz



Other differences:
--
++ python-jaraco.text.spec ++
--- /var/tmp/diff_new_pack.iuCg2V/_old  2019-03-26 22:34:41.421672945 +0100
+++ /var/tmp/diff_new_pack.iuCg2V/_new  2019-03-26 22:34:41.425672944 +0100
@@ -17,16 +17,8 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%global flavor @BUILD_FLAVOR@%{nil}
-%if "%{flavor}" == "test"
-%define psuffix -test
-%bcond_without test
-%else
-%define psuffix %{nil}
-%bcond_with test
-%endif
-Name:   python-jaraco.text%{psuffix}
-Version:2.0
+Name:   python-jaraco.text
+Version:3.0
 Release:0
 Summary:Tools to work with text
 License:MIT
@@ -34,6 +26,8 @@
 URL:https://github.com/jaraco/jaraco.text
 Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz
 BuildRequires:  %{python_module jaraco.base >= 6.1}
+BuildRequires:  %{python_module jaraco.functools}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -43,11 +37,6 @@
 Requires:   python-jaraco.functools
 Requires:   python-six
 BuildArch:  noarch
-%if %{with test}
-BuildRequires:  %{python_module jaraco.collections}
-BuildRequires:  %{python_module jaraco.functools}
-BuildRequires:  %{python_module pytest}
-%endif
 %python_subpackages
 
 %description
@@ -62,7 +51,6 @@
 %python_build
 
 %install
-%if !%{with test}
 %python_install
 
 %{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
@@ -71,22 +59,15 @@
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
 %fdupes %{buildroot}%{$python_sitelib}
 }
-%endif
 
 %check
-%if %{with test}
-%{python_expand py.test-%{$python_bin_suffix} \
-  --ignore=_build.python2 --ignore=_build.python3
-}
-%endif
+%pytest
 
-%if !%{with test}
 %files %{python_files}
 %license LICENSE
 %doc docs/*.rst README.rst CHANGES.rst
 %{python_sitelib}/jaraco.text-%{version}-py*.egg-info
 %{python_sitelib}/jaraco/text.py*
 %pycache_only %{python_sitelib}/jaraco/__pycache__/text*.py*
-%endif
 
 %changelog

++ jaraco.text-2.0.tar.gz -> jaraco.text-3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-2.0/.flake8 new/jaraco.text-3.0/.flake8
--- old/jaraco.text-2.0/.flake8 2019-01-01 15:32:26.0 +0100
+++ new/jaraco.text-3.0/.flake8 2019-03-09 21:18:25.0 +0100
@@ -2,6 +2,8 @@
 ignore =
# Allow tabs for indentation
W191
+   # Workaround for https://github.com/PyCQA/pycodestyle/issues/836
+   E117
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
W503
# W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-2.0/CHANGES.rst 
new/jaraco.text-3.0/CHANGES.rst
--- old/jaraco.text-2.0/CHANGES.rst 2019-01-01 15:32:26.0 +0100
+++ new/jaraco.text-3.0/CHANGES.rst 2019-03-09 21:18:25.0 +0100
@@ -1,3 +1,16 @@
+3.0
+===
+
+Removed ``local_format``, ``global_format``, and
+``namespace_format``. Instead, developers should
+use `f-strings
+`_
+on Python 3.6 and later or `future-fstrings
+`_ for compatibilty
+with older Pythons. This change eliminates the dependency on
+jaraco.collections and thus for now removes the circular dependency
+as reported in #4.
+
 2.0
 ===
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-2.0/PKG-INFO new/jaraco.text-3.0/PKG-IN

commit python-jaraco.text for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package python-jaraco.text for 
openSUSE:Factory checked in at 2019-03-04 09:21:45

Comparing /work/SRC/openSUSE:Factory/python-jaraco.text (Old)
 and  /work/SRC/openSUSE:Factory/.python-jaraco.text.new.28833 (New)


Package is "python-jaraco.text"

Mon Mar  4 09:21:45 2019 rev:2 rq:679942 version:2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jaraco.text/python-jaraco.text.changes
2018-09-24 13:11:01.709943069 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.text.new.28833/python-jaraco.text.changes
 2019-03-04 09:21:46.708585831 +0100
@@ -1,0 +2,20 @@
+Wed Feb 27 19:08:25 UTC 2019 - Tomáš Chvátal 
+
+- Use multibuild to avoid buildcycle
+
+---
+Tue Feb 26 07:00:39 UTC 2019 - John Vandenberg 
+
+- Add LICENSE
+- Compile manually due to switch to pkgutil namespace technique
+- Add fdupes
+- Remove bcond_with test, allowing tests suite to run
+- Add missing build dependency jaraco.collections
+- Remove undesirable build dependencies pytest-flake8, pytest-sugar and
+  collective.checkdocs
+- Add missing runtime dependencies six, jaraco.base, jaraco.collections
+  and jaraco.functools
+- Update to v2.0
+  * Switch to pkgutil namespace technique for the ``jaraco`` namespace.
+
+---
@@ -4 +24 @@
-- Initial Package
+- Initial Package for v1.10.1

Old:

  jaraco.text-1.10.1.tar.gz

New:

  _multibuild
  jaraco.text-2.0.tar.gz



Other differences:
--
++ python-jaraco.text.spec ++
--- /var/tmp/diff_new_pack.kisKWd/_old  2019-03-04 09:21:47.412585704 +0100
+++ /var/tmp/diff_new_pack.kisKWd/_new  2019-03-04 09:21:47.412585704 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.text
 #
-# 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,34 +12,42 @@
 # 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-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
 %bcond_with test
-Name:   python-jaraco.text
-Version:1.10.1
+%endif
+Name:   python-jaraco.text%{psuffix}
+Version:2.0
 Release:0
 Summary:Tools to work with text
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/jaraco/jaraco.text
+URL:https://github.com/jaraco/jaraco.text
 Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz
-BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module jaraco.base}
-BuildRequires:  %{python_module jaraco.functools}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module jaraco.base >= 6.1}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-jaraco.base >= 6.1
+Requires:   python-jaraco.collections
+Requires:   python-jaraco.functools
+Requires:   python-six
+BuildArch:  noarch
 %if %{with test}
-BuildRequires:  %{python_module pytest-sugar}
-BuildRequires:  %{python_module collective.checkdocs}
-BuildRequires:  %{python_module pytest-flake8}
+BuildRequires:  %{python_module jaraco.collections}
+BuildRequires:  %{python_module jaraco.functools}
 BuildRequires:  %{python_module pytest}
 %endif
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -47,26 +55,38 @@
 
 %prep
 %setup -q -n jaraco.text-%{version}
-sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py
+sed -i 's/--flake8//' pytest.ini
 rm -rf jaraco.text.egg-info
 
 %build
 %python_build
 
 %install
+%if !%{with test}
 %python_install
-%{python_expand rm -r 
%{buildroot}%{$python_sitelib}/jaraco.text-%{version}-py*-nspkg.pth}
 
-%if %{with test}
+%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
+  %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
+$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+%fdupes %{buildroot}%{$python_s