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 <tchva...@suse.com>
+
+- Use multibuild to avoid buildcycle
+
+-------------------------------------------------------------------
+Tue Feb 26 07:00:39 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- 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_sitelib}
+}
+%endif
+
 %check
-%python_expand py.test-%{$python_bin_suffix}
+%if %{with test}
+%{python_expand py.test-%{$python_bin_suffix} \
+  --ignore=_build.python2 --ignore=_build.python3
+}
 %endif
 
+%if !%{with test}
 %files %{python_files}
-%defattr(-,root,root)
+%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

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ jaraco.text-1.10.1.tar.gz -> jaraco.text-2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/.flake8 
new/jaraco.text-2.0/.flake8
--- old/jaraco.text-1.10.1/.flake8      2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/.flake8 2019-01-01 15:32:26.000000000 +0100
@@ -4,3 +4,5 @@
        W191
        # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
        W503
+       # W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
+       W504
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/.travis.yml 
new/jaraco.text-2.0/.travis.yml
--- old/jaraco.text-1.10.1/.travis.yml  2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/.travis.yml     2019-01-01 15:32:26.000000000 +0100
@@ -1,10 +1,11 @@
-dist: trusty
+dist: xenial
 sudo: false
 language: python
 
 python:
 - 2.7
-- &latest_py3 3.6
+- 3.6
+- &latest_py3 3.7
 
 jobs:
   fast_finish: true
@@ -12,23 +13,22 @@
   - stage: deploy
     if: tag IS present
     python: *latest_py3
-    install: skip
-    script: skip
-    deploy:
-      provider: pypi
-      on:
-        tags: true
-        all_branches: true
-      user: jaraco
-      password:
-        secure: 
hLPNHsdTKCUGfu7RuRKhInJWPVrAL8eGPV+2BgGdvv/4wdU4q1hrBoO1c4VBPtG3hKvkCmKMtP8a9FuqMlj4nK3uKIXS/cqnJ6Uz/9aexwbGrpEYCxsoRlJsF4smoREowpvhZKIhx/8NxBZXptyvHjTa7k9UtqViFyMWLfVXqHjg85gEpsXWsbO9VpSapL/JN43wwXKFKBZkYW73m7EhDVeWQEaGTIHv/dKePCp5/jUasXkFZly6gCLoKDs/ceC58RcIkaQR967IusP3qulEAvYSdspgAMS/cqWa7xLc8XMHkZEF6fdMnsF8ZxkoRLsNN6E42ztb5CAwJ+myZC9bYrh++MiYLCkYwJXMVOFtRX1ou8hGtn7dJ04c+15WWPwIagyt3MIZ3ZqEjq9h1Sdr9qS5p3lRD9mR2X//ZhD1SydqHnkfsP7HdFh57CnrWQqOno6rxqpeJubB6O957PflJ5ZzcFuh+vpoUaFvSJF8iWZPhGKwqIm0Yjev2B9hr9ZMhSe/dF8LUPhmWLz/Ar8xtIjVcW61Y0ndry89P/6rpisC6lHVIYVkuESth0Xl49FFNBCN34l14QlFEO/NY7HTZT4BK3AxhnuuscFEaeoUj4JWbxpX4Av10WTWot73i8hFFIcZJhGRd8+yfFftVjzELY+v7HKrXett42TAZndVciE=
-      distributions: dists
-      skip_cleanup: true
-      skip_upload_docs: true
+    before_script: skip
+    env:
+    - TWINE_USERNAME=jaraco
+    # TWINE_PASSWORD
+    - secure: 
hRuKEsJzVjxdDsFGq+QNZX8BqCJuKqxO7WnZxu+a96lMqS3ER2Swi7pVUzdj+e2hzNPyetBTyhU8gI9A+FwBfOUHjiEZjjCm89/PKW3H5/QCS6u8298a9yTYQapraR6tmSxBq20t44DA5cb0mfqqynNJ90OSbh3drCOBw/8x4IZhjZA9ma3Y7H7jKVVBvHpGw8XFDy0tZGXkp3tJ3IrW6JNWj8/BdNfi0zX/z7e6sx9iWXMU9bUj1+hAW3uKhFWGBMO2i0r72xsl7JXWx2FSrLAOFDxh+kuBEjJnWO44rI+IYzKGWnmFNiuvrw9Ds5QQoCkgJLmn0i25qj+hhUXJHzUgNnG6xfmCk7EH6DWmpbd1QrPOxSsgJm6Z1EKETZ2jBosnRHi+Ica1QfphcQMoBQG8ZsHS1GumnIWuP2VhxgMpEur9Qf8w0T7GEpyRkgduq7MVumQNYdcU6lW3EQ6P99KQiIaAgGLM6ISMDszp7pC1tpc3F7lWiAU5IQih4vNNF1CVKtGFemPX+reikR5Mx4ft7ByfNLNPFOMF7K5Vc0beUydkuiiQToGChU5Aa7L2MfUuO/1KXQ6++J0mjTWcMSYk5DEUcupLqNS+9FkTGPDp91jpOmixJbBfY2LhGMAwTIi4+enmM3KoHUEwtuGQwJzY1/dw8ts+2R7jX9O+dBQ=
+    - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD"
+    script: tox -e release
 
 cache: pip
 
 install:
 - pip install tox tox-venv
 
+before_script:
+  # Disable IPv6. Ref travis-ci/travis-ci#8361
+  - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
+      sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
+    fi
 script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/CHANGES.rst 
new/jaraco.text-2.0/CHANGES.rst
--- old/jaraco.text-1.10.1/CHANGES.rst  2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/CHANGES.rst     2019-01-01 15:32:26.000000000 +0100
@@ -1,3 +1,10 @@
+2.0
+===
+
+Switch to `pkgutil namespace technique
+<https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages>`_
+for the ``jaraco`` namespace.
+
 1.10.1
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/PKG-INFO 
new/jaraco.text-2.0/PKG-INFO
--- old/jaraco.text-1.10.1/PKG-INFO     2018-04-30 21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/PKG-INFO        2019-01-01 15:32:45.000000000 +0100
@@ -1,7 +1,7 @@
 Metadata-Version: 2.1
 Name: jaraco.text
-Version: 1.10.1
-Summary: jaraco.text
+Version: 2.0
+Summary: Module for text manipulation
 Home-page: https://github.com/jaraco/jaraco.text
 Author: Jason R. Coombs
 Author-email: jar...@jaraco.com
@@ -27,5 +27,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/docs/conf.py 
new/jaraco.text-2.0/docs/conf.py
--- old/jaraco.text-1.10.1/docs/conf.py 2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/docs/conf.py    2019-01-01 15:32:26.000000000 +0100
@@ -1,32 +1,26 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-extensions = [
-       'sphinx.ext.autodoc',
-       'jaraco.packaging.sphinx',
-       'rst.linker',
-]
+extensions = ["sphinx.ext.autodoc", "jaraco.packaging.sphinx", "rst.linker"]
 
-master_doc = 'index'
+master_doc = "index"
 
 link_files = {
-       '../CHANGES.rst': dict(
-               using=dict(
-                       GH='https://github.com',
-               ),
-               replace=[
-                       dict(
-                               pattern=r'(Issue )?#(?P<issue>\d+)',
-                               url='{package_url}/issues/{issue}',
-                       ),
-                       dict(
-                               
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
-                               with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
-                       ),
-                       dict(
-                               pattern=r'PEP[- ](?P<pep_number>\d+)',
-                               
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
-                       ),
-               ],
-       ),
+    "../CHANGES.rst": dict(
+        using=dict(GH="https://github.com";),
+        replace=[
+            dict(
+                pattern=r"(Issue #|\B#)(?P<issue>\d+)",
+                url="{package_url}/issues/{issue}",
+            ),
+            dict(
+                pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
+                with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+            ),
+            dict(
+                pattern=r"PEP[- ](?P<pep_number>\d+)",
+                url="https://www.python.org/dev/peps/pep-{pep_number:0>4}/",
+            ),
+        ],
+    )
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/jaraco/__init__.py 
new/jaraco.text-2.0/jaraco/__init__.py
--- old/jaraco.text-1.10.1/jaraco/__init__.py   2018-04-30 21:01:50.000000000 
+0200
+++ new/jaraco.text-2.0/jaraco/__init__.py      2019-01-01 15:32:26.000000000 
+0100
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/jaraco.text.egg-info/PKG-INFO 
new/jaraco.text-2.0/jaraco.text.egg-info/PKG-INFO
--- old/jaraco.text-1.10.1/jaraco.text.egg-info/PKG-INFO        2018-04-30 
21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/jaraco.text.egg-info/PKG-INFO   2019-01-01 
15:32:45.000000000 +0100
@@ -1,7 +1,7 @@
 Metadata-Version: 2.1
 Name: jaraco.text
-Version: 1.10.1
-Summary: jaraco.text
+Version: 2.0
+Summary: Module for text manipulation
 Home-page: https://github.com/jaraco/jaraco.text
 Author: Jason R. Coombs
 Author-email: jar...@jaraco.com
@@ -27,5 +27,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/jaraco.text.egg-info/SOURCES.txt 
new/jaraco.text-2.0/jaraco.text.egg-info/SOURCES.txt
--- old/jaraco.text-1.10.1/jaraco.text.egg-info/SOURCES.txt     2018-04-30 
21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/jaraco.text.egg-info/SOURCES.txt        2019-01-01 
15:32:45.000000000 +0100
@@ -9,6 +9,7 @@
 pytest.ini
 setup.cfg
 setup.py
+skeleton.md
 tox.ini
 docs/conf.py
 docs/history.rst
@@ -18,6 +19,5 @@
 jaraco.text.egg-info/PKG-INFO
 jaraco.text.egg-info/SOURCES.txt
 jaraco.text.egg-info/dependency_links.txt
-jaraco.text.egg-info/namespace_packages.txt
 jaraco.text.egg-info/requires.txt
 jaraco.text.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jaraco.text-1.10.1/jaraco.text.egg-info/namespace_packages.txt 
new/jaraco.text-2.0/jaraco.text.egg-info/namespace_packages.txt
--- old/jaraco.text-1.10.1/jaraco.text.egg-info/namespace_packages.txt  
2018-04-30 21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/jaraco.text.egg-info/namespace_packages.txt     
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-jaraco
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/jaraco.text.egg-info/requires.txt 
new/jaraco.text-2.0/jaraco.text.egg-info/requires.txt
--- old/jaraco.text-1.10.1/jaraco.text.egg-info/requires.txt    2018-04-30 
21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/jaraco.text.egg-info/requires.txt       2019-01-01 
15:32:45.000000000 +0100
@@ -7,7 +7,6 @@
 rst.linker>=1.9
 
 [testing]
-pytest>=3.5
-pytest-sugar>=0.9.1
-collective.checkdocs
+pytest!=3.7.3,>=3.5
+pytest-checkdocs
 pytest-flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/pyproject.toml 
new/jaraco.text-2.0/pyproject.toml
--- old/jaraco.text-1.10.1/pyproject.toml       2018-04-30 21:01:50.000000000 
+0200
+++ new/jaraco.text-2.0/pyproject.toml  2019-01-01 15:32:26.000000000 +0100
@@ -1,2 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel", "setuptools_scm>=1.15"]
+requires = ["setuptools>=34.4", "wheel", "setuptools_scm>=1.15"]
+build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/pytest.ini 
new/jaraco.text-2.0/pytest.ini
--- old/jaraco.text-1.10.1/pytest.ini   2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/pytest.ini      2019-01-01 15:32:26.000000000 +0100
@@ -2,3 +2,10 @@
 norecursedirs=dist build .tox .eggs
 addopts=--doctest-modules --flake8
 doctest_optionflags=ALLOW_UNICODE ELLIPSIS
+filterwarnings=
+       ignore:Possible nested set::pycodestyle:113
+       ignore:Using or importing the ABCs::flake8:410
+       # workaround for https://sourceforge.net/p/docutils/bugs/348/
+       ignore:'U' mode is deprecated::docutils.io
+       # workaround for https://gitlab.com/pycqa/flake8/issues/275
+       ignore:You passed a bytestring as `filenames`.::flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/setup.cfg 
new/jaraco.text-2.0/setup.cfg
--- old/jaraco.text-1.10.1/setup.cfg    2018-04-30 21:02:38.000000000 +0200
+++ new/jaraco.text-2.0/setup.cfg       2019-01-01 15:32:45.000000000 +0100
@@ -1,12 +1,41 @@
-[aliases]
-release = dists upload
-dists = clean --all sdist bdist_wheel
-
 [bdist_wheel]
 universal = 1
 
 [metadata]
 license_file = LICENSE
+name = jaraco.text
+author = Jason R. Coombs
+author_email = jar...@jaraco.com
+description = Module for text manipulation
+long_description = file:README.rst
+url = https://github.com/jaraco/jaraco.text
+classifiers = 
+       Development Status :: 5 - Production/Stable
+       Intended Audience :: Developers
+       License :: OSI Approved :: MIT License
+       Programming Language :: Python :: 2.7
+       Programming Language :: Python :: 3
+
+[options]
+packages = find:
+include_package_data = true
+python_requires = >=2.7
+install_requires = 
+       jaraco.functools
+       jaraco.collections
+setup_requires = setuptools_scm >= 1.15.0
+
+[options.extras_require]
+testing = 
+       pytest >= 3.5, !=3.7.3
+       pytest-checkdocs
+       pytest-flake8
+docs = 
+       sphinx
+       jaraco.packaging >= 3.2
+       rst.linker >= 1.9
+
+[options.entry_points]
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/setup.py 
new/jaraco.text-2.0/setup.py
--- old/jaraco.text-1.10.1/setup.py     2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/setup.py        2019-01-01 15:32:26.000000000 +0100
@@ -1,72 +1,6 @@
 #!/usr/bin/env python
 
-# Project skeleton maintained at https://github.com/jaraco/skeleton
-
-import io
-
 import setuptools
 
-with io.open('README.rst', encoding='utf-8') as readme:
-       long_description = readme.read()
-
-name = 'jaraco.text'
-description = ''
-nspkg_technique = 'managed'
-"""
-Does this package use "native" namespace packages or
-pkg_resources "managed" namespace packages?
-"""
-
-params = dict(
-       name=name,
-       use_scm_version=True,
-       author="Jason R. Coombs",
-       author_email="jar...@jaraco.com",
-       description=description or name,
-       long_description=long_description,
-       url="https://github.com/jaraco/"; + name,
-       packages=setuptools.find_packages(),
-       include_package_data=True,
-       namespace_packages=(
-               name.split('.')[:-1] if nspkg_technique == 'managed'
-               else []
-       ),
-       python_requires='>=2.7',
-       install_requires=[
-               'jaraco.functools',
-               'jaraco.collections',
-       ],
-       extras_require={
-               'testing': [
-                       # upstream
-                       'pytest>=3.5',
-                       'pytest-sugar>=0.9.1',
-                       'collective.checkdocs',
-                       'pytest-flake8',
-
-                       # local
-               ],
-               'docs': [
-                       # upstream
-                       'sphinx',
-                       'jaraco.packaging>=3.2',
-                       'rst.linker>=1.9',
-
-                       # local
-               ],
-       },
-       setup_requires=[
-               'setuptools_scm>=1.15.0',
-       ],
-       classifiers=[
-               "Development Status :: 5 - Production/Stable",
-               "Intended Audience :: Developers",
-               "License :: OSI Approved :: MIT License",
-               "Programming Language :: Python :: 2.7",
-               "Programming Language :: Python :: 3",
-       ],
-       entry_points={
-       },
-)
-if __name__ == '__main__':
-       setuptools.setup(**params)
+if __name__ == "__main__":
+    setuptools.setup(use_scm_version=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/skeleton.md 
new/jaraco.text-2.0/skeleton.md
--- old/jaraco.text-1.10.1/skeleton.md  1970-01-01 01:00:00.000000000 +0100
+++ new/jaraco.text-2.0/skeleton.md     2019-01-01 15:32:26.000000000 +0100
@@ -0,0 +1,126 @@
+# Overview
+
+This project is merged with [skeleton](https://github.com/jaraco/skeleton). 
What is skeleton? It's the scaffolding of a Python project jaraco [introduced 
in his blog](https://blog.jaraco.com/a-project-skeleton-for-python-projects/). 
It seeks to provide a means to re-use techniques and inherit advances when 
managing projects for distribution.
+
+## An SCM Managed Approach
+
+While maintaining dozens of projects in PyPI, jaraco derives best practices 
for project distribution and publishes them in the [skeleton 
repo](https://github.com/jaraco/skeleton), a git repo capturing the evolution 
and culmination of these best practices.
+
+It's intended to be used by a new or existing project to adopt these practices 
and honed and proven techniques. Adopters are encouraged to use the project 
directly and maintain a small deviation from the technique, make their own fork 
for more substantial changes unique to their environment or preferences, or 
simply adopt the skeleton once and abandon it thereafter.
+
+The primary advantage to using an SCM for maintaining these techniques is that 
those tools help facilitate the merge between the template and its adopting 
projects.
+
+# Usage
+
+## new projects
+
+To use skeleton for a new project, simply pull the skeleton into a new project:
+
+```
+$ git init my-new-project
+$ cd my-new-project
+$ git pull gh://jaraco/skeleton
+```
+
+Now customize the project to suit your individual project needs.
+
+## existing projects
+
+If you have an existing project, you can still incorporate the skeleton by 
merging it into the codebase.
+
+```
+$ git merge skeleton --allow-unrelated-histories
+```
+
+The `--allow-unrelated-histories` is necessary because the history from the 
skeleton was previously unrelated to the existing codebase. Resolve any merge 
conflicts and commit to the master, and now the project is based on the shared 
skeleton.
+
+## Updating
+
+Whenever a change is needed or desired for the general technique for 
packaging, it can be made in the skeleton project and then merged into each of 
the derived projects as needed, recommended before each release. As a result, 
features and best practices for packaging are centrally maintained and readily 
trickle into a whole suite of packages. This technique lowers the amount of 
tedious work necessary to create or maintain a project, and coupled with other 
techniques like continuous integration and deployment, lowers the cost of 
creating and maintaining refined Python projects to just a few, familiar git 
operations.
+
+Thereafter, the target project can make whatever customizations it deems 
relevant to the scaffolding. The project may even at some point decide that the 
divergence is too great to merit renewed merging with the original skeleton. 
This approach applies maximal guidance while creating minimal constraints.
+
+# Features
+
+The features/techniques employed by the skeleton include:
+
+- PEP 517/518 based build relying on setuptools as the build tool
+- setuptools declarative configuration using setup.cfg
+- tox for running tests
+- A README.rst as reStructuredText with some popular badges, but with 
readthedocs and appveyor badges commented out
+- A CHANGES.rst file intended for publishing release notes about the project.
+
+## Packaging Conventions
+
+A pyproject.toml is included to enable PEP 517 and PEP 518 compatibility and 
declares the requirements necessary to build the project on setuptools (a 
minimum version compatible with setup.cfg declarative config).
+
+The setup.cfg file implements the following features:
+
+- Assumes universal wheel for release
+- Advertises the project's LICENSE file (MIT by default)
+- Reads the README.rst file into the long description
+- Some common Trove classifiers
+- Includes all packages discovered in the repo
+- Data files in the package are also included (not just Python files)
+- Declares the required Python versions
+- Declares install requirements (empty by default)
+- Declares setup requirements for legacy environments
+- Supplies two 'extras':
+  - testing: requirements for running tests
+  - docs: requirements for building docs
+  - these extras split the declaration into "upstream" (requirements as 
declared by the skeleton) and "local" (those specific to the local project); 
these markers help avoid merge conflicts
+- Placeholder for defining entry points
+
+Additionally, the setup.py file declares `use_scm_version` which relies on 
[setuptools_scm](https://pypi.org/project/setuptools_scm) to do two things:
+
+- derive the project version from SCM tags
+- ensure that all files committed to the repo are automatically included in 
releases
+
+## Running Tests
+
+The skeleton assumes the developer has [tox](https://pypi.org/project/tox) 
installed. The developer is expected to run `tox` to run tests on the current 
Python version using [pytest](https://pypi.org/project/pytest).
+
+Other environments (invoked with `tox -e {name}`) supplied include:
+
+  - a `build-docs` environment to build the documentation
+  - a `release` environment to publish the package to PyPI
+
+A pytest.ini is included to define common options around running tests. In 
particular:
+
+- rely on default test discovery in the current directory
+- avoid recursing into common directories not containing tests
+- run doctests on modules and invoke flake8 tests
+- in doctests, allow unicode literals and regular literals to match, allowing 
for doctests to run on Python 2 and 3. Also enable ELLIPSES, a default that 
would be undone by supplying the prior option.
+- filters out known warnings caused by libraries/functionality included by the 
skeleton
+
+Relies a .flake8 file to correct some default behaviors:
+
+- allow tabs for indentation (legacy for jaraco projects)
+- disable mutually incompatible rules W503 and W504.
+
+## Continuous Integration
+
+The project is pre-configured to run tests in 
[Travis-CI](https://travis-ci.org) (.travis.yml). Any new project must be 
enabled either through their web site or with the `travis enable` command. In 
addition to running tests, an additional deploy stage is configured to 
automatically release tagged commits. The username and password for PyPI must 
be configured for each project using the `travis` command and only after the 
travis project is created. As releases are cut with 
[twine](https://pypi.org/project/twine), the two values are supplied through 
the `TWINE_USERNAME` and `TWINE_PASSWORD`. To configure the latter as a secret, 
run the following command:
+
+```
+echo "TWINE_PASSWORD={password}" | travis encrypt
+```
+
+Or disable it in the CI definition and configure it through the web UI.
+
+Features include:
+- test against Python 2 and 3
+- run on Ubuntu Xenial
+- correct for broken IPv6
+
+Also provided is a minimal template for running under Appveyor (Windows).
+
+## Building Documentation
+
+Documentation is automatically built by [Read the 
Docs](https://readthedocs.org) when the project is registered with it, by way 
of the .readthedocs.yml file. To test the docs build manually, a tox env may be 
invoked as `tox -e build-docs`. Both techniques rely on the dependencies 
declared in `setup.cfg/options.extras_require.docs`.
+
+In addition to building the sphinx docs scaffolded in `docs/`, the docs build 
a `history.html` file that first injects release dates and hyperlinks into the 
CHANGES.rst before incorporating it as history in the docs.
+
+## Cutting releases
+
+By default, tagged commits are released through the continuous integration 
deploy stage.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.text-1.10.1/tox.ini 
new/jaraco.text-2.0/tox.ini
--- old/jaraco.text-1.10.1/tox.ini      2018-04-30 21:01:50.000000000 +0200
+++ new/jaraco.text-2.0/tox.ini 2019-01-01 15:32:26.000000000 +0100
@@ -5,11 +5,8 @@
 [testenv]
 deps =
        setuptools>=31.0.1
-       # workaround for yaml/pyyaml#126
-       # 
git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7";
 commands =
-       py.test {posargs}
-       python setup.py checkdocs
+       pytest {posargs}
 usedevelop = True
 extras = testing
 
@@ -20,3 +17,15 @@
 changedir = docs
 commands =
     python -m sphinx . {toxinidir}/build/html
+
+[testenv:release]
+skip_install = True
+deps =
+       pep517>=0.5
+       # workaround for https://github.com/pypa/twine/issues/423
+       git+https://github.com/pypa/twine
+       path.py
+commands =
+       python -c "import path; path.Path('dist').rmtree_p()"
+       python -m pep517.build .
+       python -m twine upload dist/*


Reply via email to