forked from pool/python-proselint
- Use python dbm dependency instead of legacy gdbm
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proselint?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
6385757bb3
commit
e7e1baec34
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 7 11:37:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Use python dbm dependency instead of legacy gdbm
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 8 07:30:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Fri Mar 8 07:30:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-proselint
|
# spec file for package python-proselint
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -22,8 +22,7 @@ Version: 0.10.2
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A linter for prose
|
Summary: A linter for prose
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/amperser/proselint
|
||||||
URL: http://github.com/amperser/proselint
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/proselint/proselint-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/proselint/proselint-%{version}.tar.gz
|
||||||
# test_weasel_words_misc is empty in this release, and `setup.py test` doesnt recognise nose's SkipTest
|
# test_weasel_words_misc is empty in this release, and `setup.py test` doesnt recognise nose's SkipTest
|
||||||
Patch0: disable-empty-test.patch
|
Patch0: disable-empty-test.patch
|
||||||
@@ -32,24 +31,18 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
|
Requires: python-dbm
|
||||||
Requires: python-future
|
Requires: python-future
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module click}
|
BuildRequires: %{python_module click}
|
||||||
|
BuildRequires: %{python_module dbm}
|
||||||
BuildRequires: %{python_module future}
|
BuildRequires: %{python_module future}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: python2-gdbm
|
|
||||||
BuildRequires: python2-mock
|
BuildRequires: python2-mock
|
||||||
BuildRequires: python3-dbm
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%ifpython3
|
|
||||||
Requires: python3-dbm
|
|
||||||
%endif
|
|
||||||
%ifpython2
|
|
||||||
Recommends: python-gdbm
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user