From 9ad9491585d32db933d6654f8fd29565c021da47e19db847d2a722c177e93099 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Oct 2018 07:45:07 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + check-manifest-0.37.tar.gz | 3 ++ python-check-manifest.changes | 21 +++++++++++ python-check-manifest.spec | 68 +++++++++++++++++++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 check-manifest-0.37.tar.gz create mode 100644 python-check-manifest.changes create mode 100644 python-check-manifest.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/check-manifest-0.37.tar.gz b/check-manifest-0.37.tar.gz new file mode 100644 index 0000000..22a625f --- /dev/null +++ b/check-manifest-0.37.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44e3cf4b0833a55460046bf7a3600eaadbcae5e9d13baf0c9d9789dd5c2c6452 +size 33896 diff --git a/python-check-manifest.changes b/python-check-manifest.changes new file mode 100644 index 0000000..3e50810 --- /dev/null +++ b/python-check-manifest.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Wed Sep 19 16:45:46 UTC 2018 - Antonio Larrosa - 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 diff --git a/python-check-manifest.spec b/python-check-manifest.spec new file mode 100644 index 0000000..ea6bf1b --- /dev/null +++ b/python-check-manifest.spec @@ -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