From 90fe7c61f80f72d6a89070e0f0c409709d6890a3 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 21 2018 14:34:44 +0000 Subject: Initial import (#1619460) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc7d5e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pytest-expect-1.1.0.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e4d6d89 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2015 Geoffrey Sneddon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/python-pytest-expect.spec b/python-pytest-expect.spec new file mode 100644 index 0000000..4ff9323 --- /dev/null +++ b/python-pytest-expect.spec @@ -0,0 +1,58 @@ +%global pypi_name pytest-expect + +Name: python-%{pypi_name} +Version: 1.1.0 +Release: 1%{?dist} +Summary: py.test plugin to store test expectations and mark tests based on them + +License: MIT +URL: https://github.com/gsnedders/pytest-expect +Source0: %pypi_source +Source1: %{url}/raw/%{version}/LICENSE +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%?python_enable_dependency_generator + +%description +A py.test plugin that stores test expectations by saving the set of failing +tests, allowing them to be marked as xfail when running them in future. +The tests expectations are stored such that they can be distributed alongside +the tests. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A py.test plugin that stores test expectations by saving the set of failing +tests, allowing them to be marked as xfail when running them in future. +The tests expectations are stored such that they can be distributed alongside +the tests. + + +%prep +%autosetup -n %{pypi_name}-%{version} +cp -p %{SOURCE1} . + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/pytest_expect +%{python3_sitelib}/pytest_expect-%{version}-py?.?.egg-info + + +%changelog +* Mon Aug 20 2018 Miro Hrončok - 1.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..03a57b7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pytest-expect-1.1.0.tar.gz) = 41d2b296844e9dab9429f34eec37fe106a4e6c2039824c37067ed048dcc328b13e666b22d3482ccfc6153af4e44b5d895f3011ec45df55ffa07a98459e3caefd