forked from pool/python-check-manifest
Accepting request 701596 from home:jayvdb:coala:python3-bears
- Remove unnecessary bcond test - Add optional VCS dependencies to BuildDepends and Suggests - Use fdupes - Revise Summary replacing confusing 'MANIFEST in' with MANIFEST.in - Update to v0.38 * Add Python 3.7 support * Drop Python 3.4 support. * Added GitHub templates to default ignore patterns * Added reading check-manifest config out of tox.ini or pyproject.toml OBS-URL: https://build.opensuse.org/request/show/701596 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-check-manifest?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
e3e90151b7
commit
db2537ecaa
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44e3cf4b0833a55460046bf7a3600eaadbcae5e9d13baf0c9d9789dd5c2c6452
|
||||
size 33896
|
||||
3
check-manifest-0.38.tar.gz
Normal file
3
check-manifest-0.38.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dba4749e3874d8f83eb4f0814c9c331fcade6c6325f885deb7b14aa1487fb323
|
||||
size 34779
|
||||
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 15:09:17 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Remove unnecessary bcond test
|
||||
- Add optional VCS dependencies to BuildDepends and Suggests
|
||||
- Use fdupes
|
||||
- Revise Summary replacing confusing 'MANIFEST in' with MANIFEST.in
|
||||
- Update to v0.38
|
||||
* Add Python 3.7 support
|
||||
* Drop Python 3.4 support.
|
||||
* Added GitHub templates to default ignore patterns
|
||||
* Added reading check-manifest config out of tox.ini or pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 19 16:45:46 UTC 2018 - Antonio Larrosa <alarrosa@suse.com> - 0.37
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-check-manifest
|
||||
#
|
||||
# Copyright (c) 2017 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
|
||||
@@ -12,26 +12,33 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-check-manifest
|
||||
Version: 0.37
|
||||
Version: 0.38
|
||||
Release: 0
|
||||
Summary: Check MANIFEST in a Python source package for completeness
|
||||
Summary: 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 setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: git
|
||||
%endif
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: bzr
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: mercurial
|
||||
BuildRequires: subversion
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-toml
|
||||
Suggests: bzr
|
||||
Suggests: git-core
|
||||
Suggests: mercurial
|
||||
Suggests: subversion
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@@ -42,24 +49,21 @@ and missing files in MANIFEST.
|
||||
|
||||
%prep
|
||||
%setup -q -n check-manifest-%{version}
|
||||
#sed -ie "s,#!/usr/bin/env python,##!/usr/bin/python3," check_manifest.py
|
||||
sed -i '1{\,^#!/usr/bin/env python,d}' check_manifest.py
|
||||
chmod -x check_manifest.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
chmod -x %{buildroot}%{python_sitelib}/check_manifest.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE.rst
|
||||
%python3_only %{_bindir}/check-manifest
|
||||
|
||||
Reference in New Issue
Block a user