summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-order.spec104
-rw-r--r--sources1
3 files changed, 106 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4c1f9b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-order-1.1.0.tar.gz
diff --git a/python-pytest-order.spec b/python-pytest-order.spec
new file mode 100644
index 0000000..96ccb50
--- /dev/null
+++ b/python-pytest-order.spec
@@ -0,0 +1,104 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-order
+Version: 1.1.0
+Release: 1
+Summary: pytest plugin to run your tests in a specific order
+License: MIT
+URL: https://github.com/pytest-dev/pytest-order
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/a4/3d4eaa1eefc35407c47bf5a215604700fab3ddf3a471505132049f37c502/pytest-order-1.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-pytest
+
+%description
+[![PyPI version](https://badge.fury.io/py/pytest-order.svg)](https://pypi.org/project/pytest-order) [![Testsuite](https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite) [![DocBuild](https://readthedocs.org/projects/pytest-pyfakefs/badge/?version=latest)](https://pytest-pyfakefs.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU)](https://codecov.io/gh/pytest-dev/pytest-order) [![Python version](https://img.shields.io/pypi/pyversions/pytest-order.svg)](https://pypi.org/project/pytest-order)
+`pytest-order` is a pytest plugin that allows you to customize the order in which
+your tests are run. It uses the marker `order` that defines when a specific
+test shall run, either by using an ordinal number, or by specifying the
+relationship to other tests.
+`pytest-order` is a fork of
+[pytest-ordering](https://github.com/ftobia/pytest-ordering) that provides
+additional features like ordering relative to other tests.
+`pytest-order` works with Python 3.7 - 3.11, with pytest
+versions >= 5.0.0 for all versions up to Python 3.9, and for pytest >=
+6.2.4 for Python 3.10 and 3.11. `pytest-order` runs on Linux, macOS and Windows.
+
+%package -n python3-pytest-order
+Summary: pytest plugin to run your tests in a specific order
+Provides: python-pytest-order
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-order
+[![PyPI version](https://badge.fury.io/py/pytest-order.svg)](https://pypi.org/project/pytest-order) [![Testsuite](https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite) [![DocBuild](https://readthedocs.org/projects/pytest-pyfakefs/badge/?version=latest)](https://pytest-pyfakefs.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU)](https://codecov.io/gh/pytest-dev/pytest-order) [![Python version](https://img.shields.io/pypi/pyversions/pytest-order.svg)](https://pypi.org/project/pytest-order)
+`pytest-order` is a pytest plugin that allows you to customize the order in which
+your tests are run. It uses the marker `order` that defines when a specific
+test shall run, either by using an ordinal number, or by specifying the
+relationship to other tests.
+`pytest-order` is a fork of
+[pytest-ordering](https://github.com/ftobia/pytest-ordering) that provides
+additional features like ordering relative to other tests.
+`pytest-order` works with Python 3.7 - 3.11, with pytest
+versions >= 5.0.0 for all versions up to Python 3.9, and for pytest >=
+6.2.4 for Python 3.10 and 3.11. `pytest-order` runs on Linux, macOS and Windows.
+
+%package help
+Summary: Development documents and examples for pytest-order
+Provides: python3-pytest-order-doc
+%description help
+[![PyPI version](https://badge.fury.io/py/pytest-order.svg)](https://pypi.org/project/pytest-order) [![Testsuite](https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite) [![DocBuild](https://readthedocs.org/projects/pytest-pyfakefs/badge/?version=latest)](https://pytest-pyfakefs.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU)](https://codecov.io/gh/pytest-dev/pytest-order) [![Python version](https://img.shields.io/pypi/pyversions/pytest-order.svg)](https://pypi.org/project/pytest-order)
+`pytest-order` is a pytest plugin that allows you to customize the order in which
+your tests are run. It uses the marker `order` that defines when a specific
+test shall run, either by using an ordinal number, or by specifying the
+relationship to other tests.
+`pytest-order` is a fork of
+[pytest-ordering](https://github.com/ftobia/pytest-ordering) that provides
+additional features like ordering relative to other tests.
+`pytest-order` works with Python 3.7 - 3.11, with pytest
+versions >= 5.0.0 for all versions up to Python 3.9, and for pytest >=
+6.2.4 for Python 3.10 and 3.11. `pytest-order` runs on Linux, macOS and Windows.
+
+%prep
+%autosetup -n pytest-order-1.1.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pytest-order -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d4f1dcd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+81955582a567efaa91ff9bf064a371e9 pytest-order-1.1.0.tar.gz