diff --git a/pytest-remotedata-0.3.2.tar.gz b/pytest-remotedata-0.3.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a402ca0ad1f3237d18da0547ad3432d1943101a6 Binary files /dev/null and b/pytest-remotedata-0.3.2.tar.gz differ diff --git a/python-pytest-remotedata.spec b/python-pytest-remotedata.spec new file mode 100644 index 0000000000000000000000000000000000000000..75b5112096c65c5d6b0cc551bc0ac08e64709721 --- /dev/null +++ b/python-pytest-remotedata.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-remotedata +Version: 0.3.2 +Release: 1 +Summary: Pytest plugin for controlling remote data access. +License: BSD +URL: https://astropy.org +Source0: https://files.pythonhosted.org/packages/54/6c/cd637f54a05139b4e64825230352e6fa4149b4c3116246a7c6f5368d72cb/pytest-remotedata-0.3.2.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-pytest + +%description + + +%package -n python3-pytest-remotedata +Summary: Pytest plugin for controlling remote data access. +Provides: python-pytest-remotedata +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-pytest-remotedata + + +%package help +Summary: Development documents and examples for pytest-remotedata +Provides: python3-pytest-remotedata-doc +%description help + + +%prep +%autosetup -n pytest-remotedata-0.3.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-remotedata -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sun May 23 2021 Python_Bot +- Package Spec generated