commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2020-10-29 09:47:24 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.3463 (New) Package is "python-pydocstyle" Thu Oct 29 09:47:24 2020 rev:9 rq:841138 version:5.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2020-05-28 09:08:18.431874660 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.3463/python-pydocstyle.changes 2020-10-29 09:47:31.656124493 +0100 @@ -1,0 +2,22 @@ +Sat Oct 10 18:42:12 UTC 2020 - Arun Persaud + +- update to version 5.1.1: + * Bug Fixes ++ Fix IndexError crash on one-line backslashed docstrings (#506). + +- changes from version 5.1.0 : + * New Features ++ Skip function arguments prefixed with _ in D417 check (#440). + * Bug Fixes ++ Update convention support documentation (#386, #393) ++ Detect inner asynchronous functions for D202 (#467) ++ Fix indentation error while parsing class methods (#441). ++ Fix a bug in parsing Google-style argument description. The bug + caused some argument names to go unreported in D417 (#448). ++ Fixed an issue where skipping errors on module level docstring + via #noqa failed when there where more prior comments (#446). ++ Support backslash-continued descriptions in docstrings (#472). ++ Correctly detect publicity of modules inside directories (#470, + #494). + +--- Old: pydocstyle-5.0.2.tar.gz New: pydocstyle-5.1.1.tar.gz Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.lRRdcO/_old 2020-10-29 09:47:32.476125267 +0100 +++ /var/tmp/diff_new_pack.lRRdcO/_new 2020-10-29 09:47:32.476125267 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pydocstyle -Version:5.0.2 +Version:5.1.1 Release:0 Summary:Python docstring style checker License:MIT ++ pydocstyle-5.0.2.tar.gz -> pydocstyle-5.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydocstyle-5.0.2/.appveyor.yml new/pydocstyle-5.1.1/.appveyor.yml --- old/pydocstyle-5.0.2/.appveyor.yml 2020-01-08 13:37:01.0 +0100 +++ new/pydocstyle-5.1.1/.appveyor.yml 1970-01-01 01:00:00.0 +0100 @@ -1,17 +0,0 @@ -environment: - matrix: -- TOXENV: "py35-tests" -- TOXENV: "py35-install" -- TOXENV: "py36-tests" -- TOXENV: "py36-install" -- TOXENV: "py37-tests" -- TOXENV: "py37-install" -- TOXENV: "py36-docs" - -install: - - pip install tox - -build: off - -test_script: - - tox -e %TOXENV% diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydocstyle-5.0.2/.bumpversion.cfg new/pydocstyle-5.1.1/.bumpversion.cfg --- old/pydocstyle-5.0.2/.bumpversion.cfg 2020-01-08 13:37:01.0 +0100 +++ new/pydocstyle-5.1.1/.bumpversion.cfg 2020-08-29 22:52:53.0 +0200 @@ -1,5 +1,5 @@ [bumpversion] -current_version = 5.0.2 +current_version = 5.1.1 commit = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)((?P.*))? serialize = @@ -16,4 +16,3 @@ [bumpversion:file:setup.py] [bumpversion:file:src/pydocstyle/utils.py] - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydocstyle-5.0.2/.github/workflows/test.yml new/pydocstyle-5.1.1/.github/workflows/test.yml --- old/pydocstyle-5.0.2/.github/workflows/test.yml 1970-01-01 01:00:00.0 +0100 +++ new/pydocstyle-5.1.1/.github/workflows/test.yml 2020-08-29 22:52:53.0 +0200 @@ -0,0 +1,22 @@ +name: Run tests + +on: [push, pull_request] + +jobs: + test-latest: +runs-on: ${{ matrix.os }} +strategy: + matrix: +os: [macos-latest, ubuntu-latest, windows-latest] +python-version: [3.5, 3.6, 3.7, 3.8] + +steps: +- uses: actions/checkout@v2 +- name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: +python-version: ${{ matrix.python-version }} +- name: Install tox + run: python -m pip install --upgrade pip tox +- name: Run Tests + run: tox -e py,install,docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydocstyle-5.0.2/.gitignore new/pydocstyle-5.1.1/.gitignore --- old/pydocstyle-5.0.2/.gitignore 2020-01-08 13:37:01.0 +0100 +++ new/pydocstyle-5.1.1/.gitignore 2020-08-29 22:52:53.0 +0200 @@ -54,3
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2020-05-28 09:08:15 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.3606 (New) Package is "python-pydocstyle" Thu May 28 09:08:15 2020 rev:8 rq:807658 version:5.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2020-02-14 16:25:18.887188705 +0100 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.3606/python-pydocstyle.changes 2020-05-28 09:08:18.431874660 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:23 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.A0GXuF/_old 2020-05-28 09:08:19.611877563 +0200 +++ /var/tmp/diff_new_pack.A0GXuF/_new 2020-05-28 09:08:19.615877573 +0200 @@ -42,6 +42,8 @@ BuildRequires: python-rpm-macros Requires: python-six > 1.10.0 Requires: python-snowballstemmer +Requires(post): update-alternatives +Requires(postun): update-alternatives Provides: python-pep257 = %{version} Obsoletes: python-pep257 < %{version} BuildArch: noarch @@ -71,6 +73,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/pydocstyle %{python_expand # sed -i -e '/^#! \//, 1d' %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py dos2unix %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py @@ -81,10 +84,16 @@ export PYTHONPATH=$(pwd)/src %pytest +%post +%python_install_alternative pydocstyle + +%postun +%python_uninstall_alternative pydocstyle + %files %{python_files} %doc README.rst %license LICENSE-MIT -%python3_only %{_bindir}/pydocstyle +%python_alternative %{_bindir}/pydocstyle %{python_sitelib}/pydocstyle %{python_sitelib}/pydocstyle-%{version}-py*.egg-info
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2020-02-14 16:25:17 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.26092 (New) Package is "python-pydocstyle" Fri Feb 14 16:25:17 2020 rev:7 rq:772544 version:5.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2019-09-23 12:18:43.517793850 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.26092/python-pydocstyle.changes 2020-02-14 16:25:18.887188705 +0100 @@ -1,0 +2,48 @@ +Sun Feb 9 17:08:50 UTC 2020 - Arun Persaud + +- specfile: + * update copyright year + * updated line numbers for patch + * be more specific in %files section + +- update to version 5.0.2: + * Bug Fixes ++ Fix DeprecationWarning / SyntaxError "invalid escape sequence" + with Python 3.6+ (#445). + +- changes from version 5.0.1 : + * Bug Fixes ++ Fixed an issue where AttributeError was raised when parsing the + parameter section of a class docstring (#434, #436). + +- changes from version 5.0.0 : + * Major Updates ++ Support for Python 3.4 has been dropped (#402). + * New Features ++ Extend support for detecting missing arguments in Google style + docstrings to method calls (#384). ++ Extend support for detecting missing argument description in + Numpy style docstrings (#407). ++ Added support for Python 3.8 (#423). ++ Allow skipping errors on module level docstring via #noqa + (#427). ++ Whitespace is ignored with set options split across multiple + lines (#221). + * Bug Fixes ++ Remove D413 from the google convention (#430). ++ Remove D413 from the pep257 convention (#404). ++ Replace semicolon with colon in D416 messages. (#409) ++ D301 (Use r""" if any backslashes in a docstring) does not + trigger on backslashes for line continuation or unicode literals + \u... and \N... anymore. These are considered intended elements + of the docstring and thus should not be escaped by using a raw + docstring (#365). ++ Fix decorator parsing (#411). ++ Google-style sections no longer cause false errors when used + with Numpy-style sections (#388, #424). ++ D202: Allow a blank line after function docstring when followed + by declaration of an inner function or class (#395, #426). ++ Fix D401 and D404 checks not working for docstrings containing + only one word and ending with non-alpha character (#421) + +--- Old: pydocstyle-4.0.1.tar.gz New: pydocstyle-5.0.2.tar.gz Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.dgLn92/_old 2020-02-14 16:25:19.287188923 +0100 +++ /var/tmp/diff_new_pack.dgLn92/_new 2020-02-14 16:25:19.291188925 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pydocstyle # -# 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-%{**}} %define skip_python2 1 Name: python-pydocstyle -Version:4.0.1 +Version:5.0.2 Release:0 Summary:Python docstring style checker License:MIT @@ -85,6 +85,7 @@ %doc README.rst %license LICENSE-MIT %python3_only %{_bindir}/pydocstyle -%{python_sitelib}/* +%{python_sitelib}/pydocstyle +%{python_sitelib}/pydocstyle-%{version}-py*.egg-info %changelog ++ integration-tests-invocation.patch ++ --- /var/tmp/diff_new_pack.dgLn92/_old 2020-02-14 16:25:19.303188931 +0100 +++ /var/tmp/diff_new_pack.dgLn92/_new 2020-02-14 16:25:19.303188931 +0100 @@ -14,7 +14,7 @@ index d4ee72b..1f9507f 100644 --- a/src/tests/test_integration.py +++ b/src/tests/test_integration.py -@@ -80,9 +80,10 @@ def invoke(self, args="", target=None): +@@ -81,9 +81,10 @@ def invoke(self, args="", target=None): run_target = self.tempdir if target is None else \ os.path.join(self.tempdir, target) @@ -28,8 +28,8 @@ p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) -@@ -203,7 +204,7 @@ def test_run_as_named_module(): - return +@@ -201,7 +202,7 @@ def test_run_as_named_module(): + """ # Add --match='' so that no files are actually checked (to make sure that # the return code is 0 and to reduce execution time). -cmd = sh
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2019-09-23 12:18:42 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.7948 (New) Package is "python-pydocstyle" Mon Sep 23 12:18:42 2019 rev:6 rq:731444 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2019-03-08 11:00:17.104551488 +0100 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.7948/python-pydocstyle.changes 2019-09-23 12:18:43.517793850 +0200 @@ -1,0 +2,19 @@ +Sun Sep 15 07:26:46 UTC 2019 - John Vandenberg + +- Update integration-tests-invocation.patch to match PR submitted + upstream, including an additional use of sys.executable in tests, + and move disabling of problematic fixture to the .spec +- Update to v4.0.1 + * D401: Fixed a false positive where one stem had multiple +imperative forms, e.g., init and initialize / initiate + * Fix parser hanging when there's a comment directly after ``__all__`` + * Fixed RST error in table which resulted in the online +documentation missing the violation code table + * Fixed IndentationError when parsing function arguments +- from v4.0.0 + * Support for Python 2.x and PyPy has been dropped + * Added initial support for Google convention + * Added pre-commit hook (#346) + * Fix parsing tuple syntax ``__all__`` (#355, #352). + +--- Old: pydocstyle-3.0.0.tar.gz New: pydocstyle-4.0.1.tar.gz Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.jGSVYD/_old 2019-09-23 12:18:43.957793778 +0200 +++ /var/tmp/diff_new_pack.jGSVYD/_new 2019-09-23 12:18:43.961793778 +0200 @@ -17,15 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pydocstyle -Version:3.0.0 +Version:4.0.1 Release:0 Summary:Python docstring style checker License:MIT Group: Development/Languages/Python -Url:https://github.com/PyCQA/pydocstyle/ +URL:https://github.com/PyCQA/pydocstyle/ Source: https://github.com/PyCQA/pydocstyle/archive/%{version}.tar.gz#/pydocstyle-%{version}.tar.gz # Tests invoke pip and pycodestyle directly, when they should use sys.executable. +# https://github.com/PyCQA/pydocstyle/pull/403 Patch0: integration-tests-invocation.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pathlib} @@ -37,17 +39,12 @@ BuildRequires: %{python_module snowballstemmer} BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: python-configparser BuildRequires: python-rpm-macros Requires: python-six > 1.10.0 Requires: python-snowballstemmer -%ifpython2 -Requires: python-configparser -%endif Provides: python-pep257 = %{version} Obsoletes: python-pep257 < %{version} BuildArch: noarch - %python_subpackages %description @@ -66,6 +63,9 @@ %patch0 -p1 dos2unix README.rst +# Disable pip fixture +sed -i /^pytestmark/d src/tests/test_integration.py + %build %python_build @@ -74,12 +74,12 @@ %{python_expand # sed -i -e '/^#! \//, 1d' %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py dos2unix %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py +%fdupes %{buildroot}%{$python_sitelib} } -%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export PYTHONPATH=$(pwd)/src -%python_exec -m pytest +%pytest %files %{python_files} %doc README.rst ++ integration-tests-invocation.patch ++ --- /var/tmp/diff_new_pack.jGSVYD/_old 2019-09-23 12:18:43.977793775 +0200 +++ /var/tmp/diff_new_pack.jGSVYD/_new 2019-09-23 12:18:43.977793775 +0200 @@ -1,44 +1,39 @@ pydocstyle-3.0.0-orig/src/tests/test_integration.py2018-10-14 17:54:04.0 +0700 -+++ pydocstyle-3.0.0/src/tests/test_integration.py 2019-02-22 03:23:27.301363601 +0700 -@@ -80,8 +80,9 @@ +From 9379ef5b73a8a07a6e8c95185db33b849a9d015f Mon Sep 17 00:00:00 2001 +From: John Vandenberg +Date: Sun, 15 Sep 2019 14:13:44 +0700 +Subject: [PATCH] test_integration: Use sys.executable + +Literal `python` is often `python2` and may not be present at all. + +Closes https://github.com/PyCQA/pydocstyle/issues/177 +--- + src/tests/test_integration.py | 9 + + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/src/tests/test_integration.py b/src/tests/test_integration.py +index d4ee72b..1f9507f 100644 +--- a/src/tests/test_integration.py b/src/tests/test_integration.py +@@ -80,9 +80,10 @@ def invoke(self, args="", tar
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2019-03-08 11:00:14 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833 (New) Package is "python-pydocstyle" Fri Mar 8 11:00:14 2019 rev:5 rq:681665 version:3.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2019-03-01 20:32:24.889967579 +0100 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833/python-pydocstyle.changes 2019-03-08 11:00:17.104551488 +0100 @@ -1,0 +2,29 @@ +Tue Mar 5 09:59:41 UTC 2019 - Tomáš Chvátal + +- Fix the changelog whitespace mess + +--- +Mon Mar 3 15:20:38 UTC 2019 - John Vandenberg + +- Fix %check to run the tests from GitHub tarball, and use + integration-tests-invocation.patch to invoke pycodestyle using + sys.executable, and do not install and uninstall pip during tests. +- Fix line endings and remove hashbangs +- Update to v3.0.0 + + Major Updates +* Support for Python 3.3 has been dropped +* Added support for Python 3.7 + + New features +* Violations are now reported on the line where the docstring starts, not + the line of the def/class it corresponds to +* Updated description of pep257 and numpy conventions +* __all__ parsing is now done on a best-effort basis - if __all__ can't + be statically determined, it will be ignored + + Bug Fixes +* Fixed a false-positive recognition of section names causing D405 to be + reported +* Fixed a bug where functions that don't end with a newline will sometimes + raise an exception +- Set six minimum version to v1.10.0 + +--- Old: pydocstyle-2.1.1.tar.gz New: integration-tests-invocation.patch pydocstyle-3.0.0.tar.gz Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.0wEm8d/_old 2019-03-08 11:00:18.184551316 +0100 +++ /var/tmp/diff_new_pack.0wEm8d/_new 2019-03-08 11:00:18.192551315 +0100 @@ -17,24 +17,29 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pydocstyle -Version:2.1.1 +Version:3.0.0 Release:0 Summary:Python docstring style checker License:MIT Group: Development/Languages/Python Url:https://github.com/PyCQA/pydocstyle/ -Source: https://files.pythonhosted.org/packages/source/p/pydocstyle/pydocstyle-%{version}.tar.gz +Source: https://github.com/PyCQA/pydocstyle/archive/%{version}.tar.gz#/pydocstyle-%{version}.tar.gz +# Tests invoke pip and pycodestyle directly, when they should use sys.executable. +Patch0: integration-tests-invocation.patch +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pathlib} +# Tests invoke pip +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module six} +BuildRequires: %{python_module six > 1.10.0} BuildRequires: %{python_module snowballstemmer} -BuildRequires: python-configparser -%endif +BuildRequires: dos2unix BuildRequires: fdupes -Requires: python-six +BuildRequires: python-configparser +BuildRequires: python-rpm-macros +Requires: python-six > 1.10.0 Requires: python-snowballstemmer %ifpython2 Requires: python-configparser @@ -58,27 +63,25 @@ %prep %setup -q -n pydocstyle-%{version} +%patch0 -p1 +dos2unix README.rst %build %python_build %install %python_install +%{python_expand # +sed -i -e '/^#! \//, 1d' %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py +dos2unix %{buildroot}%{$python_sitelib}/pydocstyle/__main__.py +} %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -mkdir empty -pushd empty -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -$python -c "import pydocstyle" -$python -c "from pydocstyle import *" -} -popd -%endif +export PYTHONPATH=$(pwd)/src +%python_exec -m pytest %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE-MIT %python3_only %{_bindir}/pydocstyle ++ integration-tests-invocation.patch ++ --- pydocstyle-3.0.0-orig/src/tests/test_integration.py 2018-10-14 17:54:04.0 +0700 +++ pydocstyle-3.0.0/src/tests/test_integration.py 2019-02-22 03:23:27.301363601 +0700 @@ -80,8 +80,9 @@ run_target = self.tempdir if target is None else \ os.path.join(se
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2019-03-01 20:32:23 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833 (New) Package is "python-pydocstyle" Fri Mar 1 20:32:23 2019 rev:4 rq:680462 version:2.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2019-01-24 14:14:18.411300667 +0100 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833/python-pydocstyle.changes 2019-03-01 20:32:24.889967579 +0100 @@ -1,0 +2,5 @@ +Fri Mar 1 11:13:40 UTC 2019 - Hans-Peter Jansen + +- don't run tests, if they're disabled from build conditional + +--- Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.XxxXOA/_old 2019-03-01 20:32:25.489967432 +0100 +++ /var/tmp/diff_new_pack.XxxXOA/_new 2019-03-01 20:32:25.489967432 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pydocstyle # -# 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 @@ -66,6 +66,7 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check mkdir empty pushd empty @@ -74,6 +75,7 @@ $python -c "from pydocstyle import *" } popd +%endif %files %{python_files} %defattr(-,root,root,-)
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2019-01-24 14:14:16 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833 (New) Package is "python-pydocstyle" Thu Jan 24 14:14:16 2019 rev:3 rq:667867 version:2.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2018-06-13 15:37:48.184065206 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new.28833/python-pydocstyle.changes 2019-01-24 14:14:18.411300667 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:52:06 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.9yvoEL/_old 2019-01-24 14:14:18.907300094 +0100 +++ /var/tmp/diff_new_pack.9yvoEL/_new 2019-01-24 14:14:18.911300090 +0100 @@ -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/ # @@ -26,7 +26,6 @@ Group: Development/Languages/Python Url:https://github.com/PyCQA/pydocstyle/ Source: https://files.pythonhosted.org/packages/source/p/pydocstyle/pydocstyle-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %if %{with test}
commit python-pydocstyle for openSUSE:Factory
Hello community, here is the log from the commit of package python-pydocstyle for openSUSE:Factory checked in at 2018-06-13 15:36:28 Comparing /work/SRC/openSUSE:Factory/python-pydocstyle (Old) and /work/SRC/openSUSE:Factory/.python-pydocstyle.new (New) Package is "python-pydocstyle" Wed Jun 13 15:36:28 2018 rev:2 rq:614993 version:2.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-pydocstyle/python-pydocstyle.changes 2018-05-15 10:32:40.273798531 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydocstyle.new/python-pydocstyle.changes 2018-06-13 15:37:48.184065206 +0200 @@ -1,0 +2,6 @@ +Thu Jun 7 16:09:18 UTC 2018 - toddrme2...@gmail.com + +- Add missing dependency. +- Attempt to import as a basic test. + +--- Other differences: -- ++ python-pydocstyle.spec ++ --- /var/tmp/diff_new_pack.X0a4mU/_old 2018-06-13 15:37:49.300024137 +0200 +++ /var/tmp/diff_new_pack.X0a4mU/_new 2018-06-13 15:37:49.332022959 +0200 @@ -32,10 +32,14 @@ %if %{with test} BuildRequires: %{python_module six} BuildRequires: %{python_module snowballstemmer} +BuildRequires: python-configparser %endif BuildRequires: fdupes Requires: python-six Requires: python-snowballstemmer +%ifpython2 +Requires: python-configparser +%endif Provides: python-pep257 = %{version} Obsoletes: python-pep257 < %{version} BuildArch: noarch @@ -63,6 +67,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +mkdir empty +pushd empty +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +$python -c "import pydocstyle" +$python -c "from pydocstyle import *" +} +popd + %files %{python_files} %defattr(-,root,root,-) %doc README.rst