summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 15:58:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 15:58:32 +0000
commite484c26c77ff85bb08ff50208cbc0c2469927877 (patch)
tree0ad9ef82d49c893ed2bf6a0c1303159bcfe594dc
parent5b56a4e88f02644d002620dc622cc0d825523177 (diff)
automatic import of python-pytest-astropy-header
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-astropy-header.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..81ff72e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-astropy-header-0.2.2.tar.gz
diff --git a/python-pytest-astropy-header.spec b/python-pytest-astropy-header.spec
new file mode 100644
index 0000000..23fc509
--- /dev/null
+++ b/python-pytest-astropy-header.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-astropy-header
+Version: 0.2.2
+Release: 1
+Summary: pytest plugin to add diagnostic information to the header of the test output
+License: BSD 3-Clause License
+URL: https://github.com/astropy/pytest-astropy-header
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0f/ed/1caf921a7612024544fe2217e2590a2ef3e80396c3ac098d47cbc924df0b/pytest-astropy-header-0.2.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-numpy
+Requires: python3-astropy
+
+%description
+
+
+%package -n python3-pytest-astropy-header
+Summary: pytest plugin to add diagnostic information to the header of the test output
+Provides: python-pytest-astropy-header
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-astropy-header
+
+
+%package help
+Summary: Development documents and examples for pytest-astropy-header
+Provides: python3-pytest-astropy-header-doc
+%description help
+
+
+%prep
+%autosetup -n pytest-astropy-header-0.2.2
+
+%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-astropy-header -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..71ca26b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+244291d7fe71f0a7d3920f72ecddf757 pytest-astropy-header-0.2.2.tar.gz