15
0

Accepting request 639643 from home:alarrosa:branches:devel:languages:python:flask

New package python-check-manifest

OBS-URL: https://build.opensuse.org/request/show/639643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-check-manifest?expand=0&rev=1
This commit is contained in:
2018-10-04 07:45:07 +00:00
committed by Git OBS Bridge
commit 9ad9491585
5 changed files with 116 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

@@ -0,0 +1,21 @@
-------------------------------------------------------------------
Wed Sep 19 16:45:46 UTC 2018 - Antonio Larrosa <alarrosa@suse.com> - 0.37
- update to version 0.37:
* Drop Python 3.3 support.
* Support packages using setuptools_scm (#68).
* Note that setuptools_scm usually makes MANIFEST.in files obsolete.
Having one is helpful only if you intend to build an sdist and then
use that sdist to perform further builds, instead of building from
a source checkout.
-------------------------------------------------------------------
Wed Nov 22 19:44:30 UTC 2017 - arun@gmx.de
- update to version 0.36:
* Handle empty VCS repositories more gracefully (#84).
-------------------------------------------------------------------
Thu Jul 13 15:15:22 UTC 2017 - toddrme2178@gmail.com
- Initial version

View File

@@ -0,0 +1,68 @@
#
# spec file for package python-check-manifest
#
# 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-%{**}}
%bcond_without test
Name: python-check-manifest
Version: 0.37
Release: 0
Summary: Check MANIFEST in a Python source package 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
BuildArch: noarch
%python_subpackages
%description
check-manifest is a tool for python developers to check for broken packages
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
%build
%python_build
%install
%python_install
chmod -x %{buildroot}%{python_sitelib}/check_manifest.py
%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
%{python_sitelib}/*
%changelog