Hello community,
here is the log from the commit of package python-testtools for
openSUSE:Factory checked in at 2017-05-06 18:26:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testtools (Old)
and /work/SRC/openSUSE:Factory/.python-testtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-testtools"
Sat May 6 18:26:54 2017 rev:18 rq:487995 version:2.2.0
Changes:
--------
New Changes file:
--- /dev/null 2017-03-01 00:40:19.279048016 +0100
+++
/work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools-doc.changes
2017-05-06 18:26:59.133797562 +0200
@@ -0,0 +1,698 @@
+-------------------------------------------------------------------
+Fri Apr 14 16:41:39 UTC 2017 - [email protected]
+
+- Use singlespec macros where possible to simplify spec file.
+
+-------------------------------------------------------------------
+Sat Apr 8 19:29:56 UTC 2017 - [email protected]
+
+- Split documentation and tests into separate .spec file to avoid
+ dependency cycle with python-extras/python-testrepositories.
+
+-------------------------------------------------------------------
+Sun Apr 2 09:48:51 UTC 2017 - [email protected]
+
+- Converted to single-spec
+- Added doc subpackage
+
+-------------------------------------------------------------------
+Mon Feb 27 07:31:26 UTC 2017 - [email protected]
+
+- BuildRequires also using extras>=1.0.0
+
+-------------------------------------------------------------------
+Thu Sep 1 12:43:29 UTC 2016 - [email protected]
+
+- Use pypi.io as Source url
+
+-------------------------------------------------------------------
+Tue Aug 30 11:41:55 UTC 2016 - [email protected]
+
+- update to 2.2.0:
+ * Release 2.2.0
+ * Depend on the extras 1.0.0 release
+ * Unbreak fixtures test suite / use of gather_details
+ * UTF-8 encode Twisted logs (allenap)
+ * Use inlineCallbacks instead of deferredGenerator
+ * Fix _lp_release: NEXT is case sensitive
+ * Release 2.1.0
+ * Correct docs for skip deprecation
+ * Add matchers for detecting emitted warnings
+ * Revert usage of pyrsistent
+ * Add unique_text_generator
+ * Become compatible with newer Fixtures _setUp() API
+ * Better handling of KeyboardInterrupt
+ * Fix example in docstring for `failed`
+ * Move all Twisted code to twistedsupport package
+ * Revert "Move all Twisted code to twistedsupport package"
+ * Move all Twisted code to twistedsupport package
+ * Add Always & Never matchers
+ * Support TestResults without stop/shouldStop
+ * Stop using deprecated `skip()` internally
+ * Release 2.0.0
+ * Options for logging in AsynchronousDeferredRunTest
+ * Twisted tests now pass under --debug-stacktraces
+ * Decouple log handling from Deferred wrangling
+ * Fix typo: flexability
+ * Review tweaks
+ * Drop support for Python 2.6 and 3.2
+ * Release 1.9.0
+ * Missed one
+ * 19.4.1 refers to importlib machinery. Avoid that
+ * See if setuptools 19.5 is bad
+ * PIP_VERSION is used by pip itself
+ * Correct spelling of 'less than 8', maybe
+ * Use only pip 7.* on pypy3 & py3.2
+ * Longer timeout not necessary
+ * NEWS update
+ * Handle case where Deferred fires after timeout
+ * Explicitly separate fake stop method
+ * Lint & copyright
+ * NO_RESULT -> has_no_result
+ * Make twistedsupport a package
+ * Rename `successful` to `succeeded`
+ * Improve NEWS
+ * Conditionally import matchers
+ * Use non-inplace install and add a comment
+ * New module for twisted support code
+ * Minor documentation tweaks
+ * Make no_result a constant
+ * Style & documentation tweaks from review
+ * Review tweaks
+ * Import extract_result from correct location
+ * expectThat works under AsynchronousDeferredRunTest
+ * Correct string literal syntax
+ * Avoid .format
+ * Give up on some TODOs
+ * Maybe we need to install our thing?
+ * Add requirements for readthedocs
+ * Move non-matcher code to _deferred
+ * Nicer links
+ * Link to Twisted API docs
+ * More todos
+ * Documentation with examples
+ * Pass the Deferred to the handlers
+ * Docstring formatting
+ * Use _on_deferred_result in _NoResult
+ * Make _on_deferred_result transparent to Deferred
+ * Extract common Deferred logic
+ * Use same error messages as Twisted
+ * Matcher for Deferreds that have failed
+ * TODOs & XXXs
+ * successResultOf equivalent
+ * Docstring formatting
+ * Docstring
+ * Move formatting to exception
+ * Extract `extract_result`
+ * Matcher for no result
+ * Actually use `skipException`
+ * NEWS update
+ * Suppress skip traceback based on skipException
+ * Deprecate Python 2.6
+ * Actually use pformat in errors
+ * Deterministic test
+ * NEWS update
+ * NEWS update
+ * Factor out counting
+ * ids has no apostrophe
+ * Lint
+ * Collect all duplicate test id's before raise
+ * Document checking release milestone before release
+ * Don't need our own assertRaisesRegexp
+ * Clarify the tests
+ * Add assertRaisesRegexp method
+ * Document early evaluation of details
+ * Update NEWS
+ * Deprecate TestCase.skip
+ * Deprecate _BinaryMismatch.{expected,observed}
+ * Make sure reference and actual align
+ * Put expected on the right for binary mismatch
+ * Fix typo
+ * Support Python 3.5, announce deprecation 3.2
+ * API docs for deferredruntest
+ * Need Deferred reference
+ * Remove scare warnings from deferredruntest
+ * Documentation tweaks
+ * Move Twisted docs to separate file
+ * Better error message for MatchesListwise
+ * NEWS update
+ * Clarify some things
+ * Move _cleanups reset to _reset
+ * Rewrite patch tests using make_test_case
+ * `throw` helper
+ * Rewrite addCleanup tests in terms of make_test_case
+ * Use method for value, to avoid `self` weirdness
+ * Move useful matchers to helper module
+ * Move unique_id_gen to reset
+ * Clean up comments
+ * No need for special case
+ * Get pre_set_up & post_tear_down from scenario
+ * Spell setUp consistently
+ * Allow pre setUp & post tearDown to be set
+ * Complete suite of tests
+ * Encapsulate construction
+ * Start to use generated behaviors
+ * Wrap the constructor, hide the class
+ * Handle more test bodies
+ * Begin implementing full matrix
+ * Easy review comments
+ * 15.5.0 claims to support Python 2.6 but does not
+ * Run tests on last Twisted version to support 2.6
+ * Latest Twisted doesn't run on Python 2.6
+ * Non-deterministic test case
+ * Simplify cleanup code
+ * Rename all_sample_cases_scenarios to deterministic_sample_cases_scenarios
+ * Treat tear down failure as a scenario
+ * Begin to write scenario-based tests
+ * Split run twice tests to separate case
+ * Acquire testscenarios as a dependency
+ * Fix travis :(
+ * Add testscenarios for use by tests
+ * Handle failure in tearDown
+ * Test _run_teardown, rather than tearDown
+ * Allow tests to be run twice
+ * Don't use private APIs
+ * Update NEWS for 1.8.1
+ * Hide TestRecord and StreamToTestRecord
+ * Old-fashioned set syntax
+ * Abstract text_or_bytes
+ * Add pyrsistent dependency to Travis CI
+ * Change PRecord to PClass
+ * Move test_dict_to_case near StreamToDict
+ * Don't use StreamToDict internally
+ * _streamer -> _hook
+ * StreamSummary with composition, not inheritance
+ * Extract StreamToTestRecord base class
+ * Move _make_content_type closer to where it is used
+ * Put to_test_case logic on TestRecord
+ * Make _status_map persistent
+ * Move test_dict_to_case closer to test_dict definition
+ * Remove temporary variable 'case'
+ * Extract got_file
+ * Extract got_timestamp function
+ * Move creation logic to TestRecord itself
+ * Actually use TestRecord internally
+ * Extract methods for making and updating record
+ * Extract _make_content_type
+ * Use `case` consistently, over `_inprogress[key]`
++++ 501 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools-doc.changes
--- /work/SRC/openSUSE:Factory/python-testtools/python-testtools.changes
2017-04-06 11:00:23.130548393 +0200
+++ /work/SRC/openSUSE:Factory/.python-testtools.new/python-testtools.changes
2017-05-06 18:26:59.381762572 +0200
@@ -1,0 +2,18 @@
+Fri Apr 14 16:39:38 UTC 2017 - [email protected]
+
+- Change fixtures dependency to "Recommends". It is not a hard
+ dependency becauses it causes dependency loops.
+
+-------------------------------------------------------------------
+Sat Apr 8 19:29:56 UTC 2017 - [email protected]
+
+- Split documentation and tests into separate .spec file to avoid
+ dependency cycle with python-extras/python-testrepositories.
+
+-------------------------------------------------------------------
+Sun Apr 2 09:48:51 UTC 2017 - [email protected]
+
+- Converted to single-spec
+- Added doc subpackage
+
+-------------------------------------------------------------------
New:
----
python-testtools-doc.changes
python-testtools-doc.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-testtools-doc.spec ++++++
#
# spec file for package python-testtools-doc
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-testtools-doc
Version: 2.2.0
Release: 0
Summary: Documentation for python-testtools
License: MIT
Group: Documentation/HTML
Url: https://launchpad.net/testtools
Source:
https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module testtools = %{version}}
%if %{with tests}
# Test requirement
BuildRequires: %{python_module testscenarios = %{version}}
BuildRequires: %{python_module unittest2 >= 0.8.0}
%endif
# Documentation requirements:
BuildRequires: fdupes
BuildRequires: python3-Sphinx
Provides: python2-testtools-doc = %{version}
Provides: python3-testtools-doc = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Documentation and help files for python-testtools.
%prep
%setup -q -n testtools-%{version}
%build
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
mkdir -p %{buildroot}%{_docdir}/python-testtools/
cp -r build/sphinx/html %{buildroot}%{_docdir}/python-testtools/
%fdupes %{buildroot}%{_docdir}
# A build cycle exists between python-extras and python-testtools.
# Doing the tests in a separate package avoids this cycle.
%if %{with tests}
%check
%{python_exec} -m testtools.run testtools.tests.test_suite
%endif
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_docdir}/python-testtools/
%changelog
++++++ python-testtools.spec ++++++
--- /var/tmp/diff_new_pack.n1CjrX/_old 2017-05-06 18:27:01.221502976 +0200
+++ /var/tmp/diff_new_pack.n1CjrX/_new 2017-05-06 18:27:01.225502411 +0200
@@ -16,10 +16,7 @@
#
-# A build cycle exists between python-extras and python-testtools. Thus, only
-# enable testing with a build conditional (off by default):
-%bcond_with tests
-
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-testtools
Version: 2.2.0
Release: 0
@@ -28,23 +25,22 @@
Group: Development/Languages/Python
Url: https://launchpad.net/testtools
Source:
https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-extras >= 1.0.0
-BuildRequires: python-python-mimeparse
-BuildRequires: python-unittest2 >= 0.8.0
-# Documentation requirements:
-BuildRequires: python-Sphinx
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module extras >= 1.0.0}
Requires: python-extras >= 1.0.0
-Requires: python-fixtures >= 1.3.0
+Requires: python-pbr >= 0.11
Requires: python-python-mimeparse
Requires: python-six >= 1.4.0
+Requires: python-traceback2
Requires: python-unittest2 >= 1.0.0
+Recommends: python-fixtures >= 1.3.0
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
testtools is a set of extensions to the Python standard library's unit tests
@@ -56,23 +52,16 @@
%setup -q -n testtools-%{version}
%build
-python setup.py build
-python setup.py build_sphinx
-# Remove unwanted hidden file
-rm build/sphinx/html/.buildinfo
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%if %{with tests}
-%check
-python setup.py test
-%endif
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
-%files
+%files %{python_files}
%defattr(-,root,root,-)
-%doc LICENSE NEWS README.rst build/sphinx/html
+%doc LICENSE NEWS README.rst
%{python_sitelib}/testtools
-%{python_sitelib}/testtools-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/testtools-%{version}-py*.egg-info
%changelog