summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 20:41:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 20:41:33 +0000
commit6dfba6b3f4efd741bf7324751a37d043847f2a09 (patch)
tree42eca37633e82c9632ddcb35dfe8e19c6c0a3455
parent707e299f27d6e36854e9c5a3d17764205ff7557c (diff)
automatic import of python-pytest-pspec
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-pspec.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8c3317f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-pspec-0.0.4.tar.gz
diff --git a/python-pytest-pspec.spec b/python-pytest-pspec.spec
new file mode 100644
index 0000000..87f3eb5
--- /dev/null
+++ b/python-pytest-pspec.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-pspec
+Version: 0.0.4
+Release: 1
+Summary: A rspec format reporter for Python ptest
+License: MIT License
+URL: https://github.com/gowtham-sai/pytest-pspec
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cc/e1/c22cf2cdd39dfdc5b482e3f11754a3646b5bb8d6e5bc50b5722322574016/pytest-pspec-0.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-six
+
+%description
+A `pspec format`_ reporter for pytest
+
+%package -n python3-pytest-pspec
+Summary: A rspec format reporter for Python ptest
+Provides: python-pytest-pspec
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-pspec
+A `pspec format`_ reporter for pytest
+
+%package help
+Summary: Development documents and examples for pytest-pspec
+Provides: python3-pytest-pspec-doc
+%description help
+A `pspec format`_ reporter for pytest
+
+%prep
+%autosetup -n pytest-pspec-0.0.4
+
+%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-pspec -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..912cd23
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b4426989b8281015ccd4320ee9e88fd3 pytest-pspec-0.0.4.tar.gz