commit python-sphinxcontrib-programoutput for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2020-04-29 20:52:54

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


Package is "python-sphinxcontrib-programoutput"

Wed Apr 29 20:52:54 2020 rev:8 rq:798858 version:0.16

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2019-09-27 14:49:05.008665684 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.2738/python-sphinxcontrib-programoutput.changes
  2020-04-29 20:54:36.745304369 +0200
@@ -1,0 +2,9 @@
+Wed Apr 29 10:28:47 UTC 2020 - Dirk Mueller 
+
+- udpate to 0.16:
+  - Add ``name`` and ``caption`` options. Added in
+  `PR 41 
`_ 
+  by Raphaël.
+  - Add support for Python 3.8.
+
+---

Old:

  sphinxcontrib-programoutput-0.15.tar.gz

New:

  sphinxcontrib-programoutput-0.16.tar.gz



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.q12N82/_old  2020-04-29 20:54:37.525306156 +0200
+++ /var/tmp/diff_new_pack.q12N82/_new  2020-04-29 20:54:37.529306165 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-programoutput
 #
-# 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:   python-sphinxcontrib-programoutput
-Version:0.15
+Version:0.16
 Release:0
 Summary:Sphinx extension to include program output
 License:BSD-2-Clause

++ sphinxcontrib-programoutput-0.15.tar.gz -> 
sphinxcontrib-programoutput-0.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.15/.pylintrc 
new/sphinxcontrib-programoutput-0.16/.pylintrc
--- old/sphinxcontrib-programoutput-0.15/.pylintrc  2019-09-16 
13:37:34.0 +0200
+++ new/sphinxcontrib-programoutput-0.16/.pylintrc  2020-03-23 
15:19:36.0 +0100
@@ -27,11 +27,14 @@
 #   see https://github.com/PyCQA/pylint/issues/846
 # useless-suppression: the only way to avoid repeating it for specific 
statements everywhere that we
 #   do Py2/Py3 stuff is to put it here. Sadly this means that we might get 
better but not realize it.
+# bad-option-value: Pylint on Python 3 understands and checks for somethings 
Pylint on Python 2
+#   does not.
 disable=missing-docstring,
 invalid-name,
 wrong-import-order,
 locally-disabled,
 no-self-use,
+bad-option-value,
 
 
 [FORMAT]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.15/.travis.yml 
new/sphinxcontrib-programoutput-0.16/.travis.yml
--- old/sphinxcontrib-programoutput-0.15/.travis.yml2019-09-16 
13:37:34.0 +0200
+++ new/sphinxcontrib-programoutput-0.16/.travis.yml2020-03-23 
15:19:36.0 +0100
@@ -8,6 +8,7 @@
   - 3.5
   - 3.6
   - 3.7
+  - 3.8
   - pypy
   - pypy3
 
@@ -25,7 +26,7 @@
 
 script:
   - pylint -r no src/sphinxcontrib
-  - coverage run setup.py test
+  - coverage run -m unittest discover -s src
 after_success:
   - coveralls
 notifications:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.15/CHANGES.rst 
new/sphinxcontrib-programoutput-0.16/CHANGES.rst
--- old/sphinxcontrib-programoutput-0.15/CHANGES.rst2019-09-16 
13:37:34.0 +0200
+++ new/sphinxcontrib-programoutput-0.16/CHANGES.rst2020-03-23 
15:19:36.0 +0100
@@ -2,6 +2,15 @@
  Changes
 =
 
+0.16 (2020-03-23)
+=
+
+- Add ``name`` and ``caption`` options. Added in
+  `PR 41 
`_ 
+  by Raphaël.
+- Add support for Python 3.8.
+
+
 0.15 (2019-09-16)
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.15/PKG-INFO 
new/sphinxcontrib-programoutput-0.16/PKG-INFO
--- old/sphinxcontrib-programoutput-0.15/PKG-INFO   2019-09-16 
13:37:34.0 +0200
+++ new/sphinxcontrib-programoutput-0.16/PKG-INFO   2020-03-23 
15:19:37.444895500 

commit python-sphinxcontrib-programoutput for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2019-09-27 14:49:03

Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
 and  
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.2352 (New)


Package is "python-sphinxcontrib-programoutput"

Fri Sep 27 14:49:03 2019 rev:7 rq:731432 version:0.15

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2019-06-19 21:13:58.614836631 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.2352/python-sphinxcontrib-programoutput.changes
  2019-09-27 14:49:05.008665684 +0200
@@ -1,0 +2,10 @@
+Mon Sep 16 11:42:03 UTC 2019 - John Vandenberg 
+
+- Remove tests from runtime installation
+- Update to v0.15
+  * Make the test suite stop assuming the presence of a 'python'
+executable on the path. Instead it uses ``sys.executable``
+(which shouldn't have spaces). Note that it does continue to
+assume the presence of other executables, such as 'echo'
+
+---

Old:

  sphinxcontrib-programoutput-0.14.tar.gz

New:

  sphinxcontrib-programoutput-0.15.tar.gz



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.drUMT8/_old  2019-09-27 14:49:06.512661773 +0200
+++ /var/tmp/diff_new_pack.drUMT8/_new  2019-09-27 14:49:06.512661773 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:   python-sphinxcontrib-programoutput
-Version:0.14
+Version:0.15
 Release:0
 Summary:Sphinx extension to include program output
 License:BSD-2-Clause
@@ -51,10 +51,13 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand rm -r 
%{buildroot}%{$python_sitelib}/sphinxcontrib/programoutput/tests/
+%fdupes %{buildroot}%{$python_sitelib}
+}
 
 %if %{with test}
 %check
+# https://github.com/NextThought/sphinxcontrib-programoutput/issues/38
 export LANG=en_US.UTF-8
 %python_exec setup.py test
 %endif

++ sphinxcontrib-programoutput-0.14.tar.gz -> 
sphinxcontrib-programoutput-0.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.14/.travis.yml 
new/sphinxcontrib-programoutput-0.15/.travis.yml
--- old/sphinxcontrib-programoutput-0.14/.travis.yml2019-04-08 
20:00:33.0 +0200
+++ new/sphinxcontrib-programoutput-0.15/.travis.yml2019-09-16 
13:37:34.0 +0200
@@ -1,20 +1,15 @@
 group: travis_latest
 language: python
+group: travis_latest
 git:
   depth: 1
 python:
   - 2.7
   - 3.5
   - 3.6
+  - 3.7
   - pypy
   - pypy3
-# As of Apr 2019, we can't use Python 3.7 at the top-level
-# without using 'dist: xenial' at the top level. But that
-# breaks PyPy and PyPy3 (they can't be installed)
-matrix:
-  include:
-- python: "3.7"
-  dist: xenial
 
 env:
   global:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.14/CHANGES.rst 
new/sphinxcontrib-programoutput-0.15/CHANGES.rst
--- old/sphinxcontrib-programoutput-0.14/CHANGES.rst2019-04-08 
20:00:33.0 +0200
+++ new/sphinxcontrib-programoutput-0.15/CHANGES.rst2019-09-16 
13:37:34.0 +0200
@@ -2,6 +2,17 @@
  Changes
 =
 
+0.15 (2019-09-16)
+=
+
+- Make the test suite stop assuming the presence of a 'python'
+  executable on the path. Instead it uses ``sys.executable`` (which
+  shouldn't have spaces). Note that it does continue to assume the
+  presence of other executables, such as 'echo'. Reported in `issue 38
+  `_
+  by John Vandenberg.
+
+
 0.14 (2019-04-08)
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.14/PKG-INFO 
new/sphinxcontrib-programoutput-0.15/PKG-INFO
--- old/sphinxcontrib-programoutput-0.14/PKG-INFO   2019-04-08 
20:00:34.0 +0200
+++ new/sphinxcontrib-programoutput-0.15/PKG-INFO   2019-09-16 
13:37:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: sphinxcontrib-programoutput
-Version: 0.14
+Version: 0.15
 Summary: Sphinx extension to include program output
 Home-page: https://sphinxcontrib-programoutput.readthedocs.org/
 Author: Sebastian Wiesner
@@ -81,6 +81,17 @@
  Changes
 =
 
+0.15 (2019-09-16)
+

commit python-sphinxcontrib-programoutput for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2019-06-19 21:13:22

Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
 and  
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.4811 (New)


Package is "python-sphinxcontrib-programoutput"

Wed Jun 19 21:13:22 2019 rev:6 rq:710828 version:0.14

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2019-04-30 12:59:54.666178964 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.4811/python-sphinxcontrib-programoutput.changes
  2019-06-19 21:13:58.614836631 +0200
@@ -1,0 +2,8 @@
+Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold 
+
+- export LANG=en_US.UTF-8 during %build and %install . This fixes
+  the build for older distros which fail with:
+  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position \
+1468: ordinal not in range(128)
+
+---



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.pBSWSF/_old  2019-06-19 21:13:59.234837263 +0200
+++ /var/tmp/diff_new_pack.pBSWSF/_new  2019-06-19 21:13:59.242837272 +0200
@@ -45,9 +45,11 @@
 %setup -q -n sphinxcontrib-programoutput-%{version}
 
 %build
+export LANG=en_US.UTF-8
 %python_build
 
 %install
+export LANG=en_US.UTF-8
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 




commit python-sphinxcontrib-programoutput for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2019-04-30 12:59:49

Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
 and  
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.5536 (New)


Package is "python-sphinxcontrib-programoutput"

Tue Apr 30 12:59:49 2019 rev:5 rq:697385 version:0.14

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2018-12-24 11:44:37.737279957 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.5536/python-sphinxcontrib-programoutput.changes
  2019-04-30 12:59:54.666178964 +0200
@@ -1,0 +2,15 @@
+Tue Apr 23 11:54:16 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.14
+  * Add python_requires metadata to better allow tools like pip to 
+install a correct version.
+  * Add support for Sphinx 2.0 on Python 3.
+  * Avoid unicode errors when the program command or output produced 
+non-ASCII output and the configured prompt was a byte string.
+  * Drop support for Sphinx < 1.7.
+  * Fix tests on Sphinx >= 1.8.0.
+  * Fix deprecation warnings on Sphinx >= 1.8. 
+  * Explicitly set parallel_read_safe to true in the extension 
+metadata.
+
+---

Old:

  sphinxcontrib-programoutput-0.10.tar.gz

New:

  sphinxcontrib-programoutput-0.14.tar.gz



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.1ApOJK/_old  2019-04-30 12:59:56.374178583 +0200
+++ /var/tmp/diff_new_pack.1ApOJK/_new  2019-04-30 12:59:56.374178583 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-programoutput
 #
-# 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
@@ -17,20 +17,20 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
+%bcond_without test
 Name:   python-sphinxcontrib-programoutput
-Version:0.10
+Version:0.14
 Release:0
 Summary:Sphinx extension to include program output
 License:BSD-2-Clause
 Group:  Development/Languages/Python
 URL:http://sphinxcontrib-programoutput.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
-BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module Sphinx >= 1.8}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Sphinx
+Requires:   python-Sphinx >= 1.8
 BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module pytest}
@@ -54,9 +54,7 @@
 %if %{with test}
 %check
 export LANG=en_US.UTF-8
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix}
-}
+%python_exec setup.py test
 %endif
 
 %files %{python_files}

++ sphinxcontrib-programoutput-0.10.tar.gz -> 
sphinxcontrib-programoutput-0.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib-programoutput-0.10/.travis.yml 
new/sphinxcontrib-programoutput-0.14/.travis.yml
--- old/sphinxcontrib-programoutput-0.10/.travis.yml2017-03-17 
16:39:01.0 +0100
+++ new/sphinxcontrib-programoutput-0.14/.travis.yml2019-04-08 
20:00:33.0 +0200
@@ -1,24 +1,33 @@
+group: travis_latest
 language: python
-sudo: false
 git:
   depth: 1
 python:
-  - pypy-5.4.1
   - 2.7
   - 3.5
-# Pylint is not supported on 3.6 yet. See
-# https://github.com/PyCQA/pylint/issues/1113 et al.
-env:
-  matrix:
-- ENV=latest
-- ENV=oldest
+  - 3.6
+  - pypy
+  - pypy3
+# As of Apr 2019, we can't use Python 3.7 at the top-level
+# without using 'dist: xenial' at the top level. But that
+# breaks PyPy and PyPy3 (they can't be installed)
 matrix:
-# Only run the oldest environment once
-  exclude:
-- python: 3.6
-  env: ENV=oldest
-- python: pypy-5.4.1
-  env: ENV=oldest
+  include:
+- python: "3.7"
+  dist: xenial
+
+env:
+  global:
+- PYTHONWARNINGS="ignore:'U' mode is deprecated:DeprecationWarning::"
+
+before_install:
+  - python --version
+
+install:
+  - pip install -U pip setuptools
+  - pip install -U coverage coveralls pylint
+  - pip install -U -e .[test]
+
 script:
   - pylint -r no src/sphinxcontrib
   - coverage run setup.py 

commit python-sphinxcontrib-programoutput for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2018-12-24 11:44:36

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


Package is "python-sphinxcontrib-programoutput"

Mon Dec 24 11:44:36 2018 rev:4 rq:659696 version:0.10

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2017-10-11 22:56:35.925408602 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new.28833/python-sphinxcontrib-programoutput.changes
 2018-12-24 11:44:37.737279957 +0100
@@ -1,0 +2,10 @@
+Fri Dec  7 21:06:06 UTC 2018 - Matej Cepl 
+
+- Remove wrong BR on python-sphinxcontrib
+
+---
+Tue Dec  4 12:54:45 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.ZQO8fT/_old  2018-12-24 11:44:38.393279375 +0100
+++ /var/tmp/diff_new_pack.ZQO8fT/_new  2018-12-24 11:44:38.397279372 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-programoutput
 #
-# Copyright (c) 2017 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
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -24,21 +24,17 @@
 Summary:Sphinx extension to include program output
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-Url:http://sphinxcontrib-programoutput.readthedocs.org/
+URL:http://sphinxcontrib-programoutput.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module sphinxcontrib}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-Sphinx
+BuildArch:  noarch
 %if %{with test}
-BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module pytest}
 %endif
-Requires:   python-Sphinx
-Requires:   python-sphinxcontrib
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -64,8 +60,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES.rst LICENSE README.rst
+%license LICENSE
+%doc CHANGES.rst README.rst
 %{python_sitelib}/sphinxcontrib/programoutput/
 %{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*-nspkg.pth
 %{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*.egg-info




commit python-sphinxcontrib-programoutput for openSUSE:Factory

2017-10-11 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2017-10-11 22:56:34

Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
 and  /work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new 
(New)


Package is "python-sphinxcontrib-programoutput"

Wed Oct 11 22:56:34 2017 rev:3 rq:527186 version:0.10

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2017-05-17 10:50:45.633159897 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new/python-sphinxcontrib-programoutput.changes
   2017-10-11 22:56:35.925408602 +0200
@@ -1,0 +2,12 @@
+Mon Sep 18 22:29:06 UTC 2017 - toddrme2...@gmail.com
+
+- Use new python-sphinxcontrib package to provide namespace
+  directory.
+
+---
+Mon Sep 18 20:36:57 UTC 2017 - toddrme2...@gmail.com
+
+- Specify files to guarantee namespace package doesn't conflict
+  with python(2|3)-Sphinx
+
+---



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.0atibM/_old  2017-10-11 22:56:36.853367907 +0200
+++ /var/tmp/diff_new_pack.0atibM/_new  2017-10-11 22:56:36.857367732 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with test
 Name:   python-sphinxcontrib-programoutput
 Version:0.10
 Release:0
@@ -25,12 +26,17 @@
 Group:  Development/Languages/Python
 Url:http://sphinxcontrib-programoutput.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
-BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module sphinxcontrib}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module pytest}
+%endif
 Requires:   python-Sphinx
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   python-sphinxcontrib
 BuildArch:  noarch
 
 %python_subpackages
@@ -47,14 +53,21 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-#NOTE(saschpe): Running tests works but there's an UTF-8 issue I don't yet 
care about:
-#%%check
-#PYTHONPATH=%%{buildroot}%%{python_sitelib} py.test
+%if %{with test}
+%check
+export LANG=en_US.UTF-8
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+py.test-%{$python_bin_suffix}
+}
+%endif
 
 %files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES.rst LICENSE README.rst
-%{python_sitelib}/*
+%{python_sitelib}/sphinxcontrib/programoutput/
+%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*-nspkg.pth
+%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*.egg-info
 
 %changelog




commit python-sphinxcontrib-programoutput for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package python-sphinxcontrib-programoutput 
for openSUSE:Factory checked in at 2017-05-17 10:50:44

Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old)
 and  /work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new 
(New)


Package is "python-sphinxcontrib-programoutput"

Wed May 17 10:50:44 2017 rev:2 rq:490793 version:0.10

Changes:

--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes
2016-01-01 19:48:00.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new/python-sphinxcontrib-programoutput.changes
   2017-05-17 10:50:45.633159897 +0200
@@ -1,0 +2,7 @@
+Mon Apr 24 13:50:12 UTC 2017 - sebix+novell@sebix.at
+
+- update to version 0.10
+- convert to singlespec package
+- change source url to files.pythonhosted.org
+
+---

Old:

  sphinxcontrib-programoutput-0.8.tar.gz

New:

  sphinxcontrib-programoutput-0.10.tar.gz



Other differences:
--
++ python-sphinxcontrib-programoutput.spec ++
--- /var/tmp/diff_new_pack.yjrRRY/_old  2017-05-17 10:50:46.725006301 +0200
+++ /var/tmp/diff_new_pack.yjrRRY/_new  2017-05-17 10:50:46.729005738 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-programoutput
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -13,26 +13,27 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-sphinxcontrib-programoutput
-Version:0.8
+Version:0.10
 Release:0
-License:BSD-2-Clause
 Summary:Sphinx extension to include program output
-Url:http://sphinxcontrib-programoutput.readthedocs.org/
+License:BSD-2-Clause
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
-BuildRequires:  python-Sphinx
+Url:http://sphinxcontrib-programoutput.readthedocs.org/
+Source: 
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  python-rpm-macros
 Requires:   python-Sphinx
 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 Sphinx extension to literally insert the output of arbitrary commands into
@@ -42,16 +43,16 @@
 %setup -q -n sphinxcontrib-programoutput-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 #NOTE(saschpe): Running tests works but there's an UTF-8 issue I don't yet 
care about:
 #%%check
-#PYTHONPATH=%{buildroot}%{python_sitelib} py.test
+#PYTHONPATH=%%{buildroot}%%{python_sitelib} py.test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES.rst LICENSE README.rst
 %{python_sitelib}/*

++ sphinxcontrib-programoutput-0.8.tar.gz -> 
sphinxcontrib-programoutput-0.10.tar.gz ++
 3332 lines of diff (skipped)