commit 345f6afe97f28cf807a0d4925b3f36ffe5c4552e1e687e4288c8f77cac57a2a1 Author: Tomáš Chvátal Date: Mon Aug 10 11:31:49 2020 +0000 Accepting request 824919 from home:jayvdb:py-submit Used in aws-sam-cli templates OBS-URL: https://build.opensuse.org/request/show/824919 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=1 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/pytest-cookies-0.5.1.tar.gz b/pytest-cookies-0.5.1.tar.gz new file mode 100644 index 0000000..1c6dd38 --- /dev/null +++ b/pytest-cookies-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3056dbfe83c0ec2b732b129df94a096a9cc044dd03e86b79bfb8751f3edfdd3 +size 14369 diff --git a/python-pytest-cookies.changes b/python-pytest-cookies.changes new file mode 100644 index 0000000..649bf41 --- /dev/null +++ b/python-pytest-cookies.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun May 10 12:32:56 AM UTC 2020 - John Vandenberg + +- Initial spec for v0.5.1 diff --git a/python-pytest-cookies.spec b/python-pytest-cookies.spec new file mode 100644 index 0000000..ace0be4 --- /dev/null +++ b/python-pytest-cookies.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-pytest-cookies +# +# Copyright (c) 2020 SUSE LLC +# +# 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-%{**}} +%define skip_python2 1 +Name: python-pytest-cookies +Version: 0.5.1 +Release: 0 +Summary: Cookiecutter template pytest plugin +License: MIT +Group: Development/Languages/Python +URL: https://github.com/hackebrot/pytest-cookies +Source: https://github.com/hackebrot/pytest-cookies/archive/%{version}.tar.gz#/pytest-cookies-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: cookiecutter >= 1.4.0 +Requires: python-pytest >= 3.3.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest >= 3.3.0} +BuildRequires: cookiecutter >= 1.4.0 +# /SECTION +%python_subpackages + +%description +The pytest plugin for your Cookiecutter templates. + +%prep +%setup -q -n pytest-cookies-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/* + +%changelog