From 6dfba6b3f4efd741bf7324751a37d043847f2a09 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 20:41:33 +0000 Subject: automatic import of python-pytest-pspec --- .gitignore | 1 + python-pytest-pspec.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 76 insertions(+) create mode 100644 python-pytest-pspec.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3