From 682ff0461fcacbfdc55b1b48d44f0ac241e6c50be55a8193c8d9b050ebc6271e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 20 Feb 2020 09:23:06 +0000 Subject: [PATCH] Accepting request 777613 from devel:languages:python:django pypi name OBS-URL: https://build.opensuse.org/request/show/777613 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-coverage-plugin?expand=0&rev=1 --- .gitattributes | 24 ++++++++++ .gitignore | 4 ++ django_coverage_plugin-1.6.0.tar.gz | 3 ++ python-django_coverage_plugin.changes | 4 ++ python-django_coverage_plugin.spec | 64 +++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 django_coverage_plugin-1.6.0.tar.gz create mode 100644 python-django_coverage_plugin.changes create mode 100644 python-django_coverage_plugin.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/django_coverage_plugin-1.6.0.tar.gz b/django_coverage_plugin-1.6.0.tar.gz new file mode 100644 index 0000000..8642037 --- /dev/null +++ b/django_coverage_plugin-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a32eadad263b4eeea3820929866ef27b9147cf575e0a228e858311309cf5e686 +size 19214 diff --git a/python-django_coverage_plugin.changes b/python-django_coverage_plugin.changes new file mode 100644 index 0000000..d92aa9c --- /dev/null +++ b/python-django_coverage_plugin.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Feb 18 06:10:48 UTC 2019 - John Vandenberg + +- Initial spec for v1.6.0 diff --git a/python-django_coverage_plugin.spec b/python-django_coverage_plugin.spec new file mode 100644 index 0000000..8aeb2b0 --- /dev/null +++ b/python-django_coverage_plugin.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-django-coverage-plugin +# +# 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 +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-django_coverage_plugin +Version: 1.6.0 +Release: 0 +Summary: Django template coveragepy plugin +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/nedbat/django_coverage_plugin +Source: https://github.com/nedbat/django_coverage_plugin/archive/v1.6.0.tar.gz#/django_coverage_plugin-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Django +Requires: python-coverage >= 4.0 +Requires: python-six >= 1.4.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Django} +BuildRequires: %{python_module unittest-mixins} +BuildRequires: %{python_module coverage >= 4.0} +BuildRequires: %{python_module six >= 1.4.0} +# /SECTION +%python_subpackages + +%description +Django template coverage.py plugin + +%prep +%setup -q -n django_coverage_plugin-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%license LICENSE.txt +%doc HISTORY.rst README.rst +%{python_sitelib}/* + +%changelog