15
0

Accepting request 828149 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/828149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-check-manifest?expand=0&rev=9
This commit is contained in:
2020-08-25 10:38:43 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42de6eaab4ed149e60c9b367ada54f01a3b1e4d6846784f9b9710e770ff5572c
size 34245

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300
size 39486

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Aug 20 10:23:37 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v0.42
* Added ``-q``/``--quiet`` command line argument. This will reduce the
verbosity of informational output, e.g. for use in a CI pipeline.
* Rewrote the ignore logic to be more compatible with setuptools. This
might have introduced some regressions, so please file bugs! One side
effect of this is that ``--ignore`` (or the ``ignore`` setting in the
config file) is now handled the same way as ``global-exclude`` in a
``MANIFEST.in``, which means:
- it's matched anywhere in the file tree
- it's ignored if it matches a directory
* Drop Python 2.7 support.
- from v0.41
* Support `PEP 517`_, i.e. packages using pyproject.toml
* Ignore subcommand stderr unless the subcommand fails.
-------------------------------------------------------------------
Mon May 25 10:59:13 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -25,29 +25,38 @@
%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-check-manifest%{psuffix}
Version: 0.40
Version: 0.42
Release: 0
Summary: Tool to check Python source package MANIFEST.in for completeness
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mgedmin/check-manifest
Source: https://files.pythonhosted.org/packages/source/c/check-manifest/check-manifest-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pep517
Requires: python-setuptools
Requires: python-toml
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-pip
Recommends: python-wheel
Suggests: bzr
Suggests: git-core
Suggests: mercurial
Suggests: subversion
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pep517}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: bzr
BuildRequires: git-core
BuildRequires: mercurial
BuildRequires: subversion
@@ -76,7 +85,8 @@ chmod -x check_manifest.py
%check
%if %{with test}
export LANG=en_US.UTF-8
%pytest
# test_build_sdist uses pip which likes to use internet to resolve versions
%pytest -rs -k 'not test_build_sdist'
%endif
%if !%{with test}