diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:38:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:38:25 +0000 |
| commit | 754f88302f740a77ce9bf48cea794bb3801021ec (patch) | |
| tree | 132a9b342e20419e030edf75724bb5080179a9b6 | |
| parent | 9101b35ba555ab8c70d3524c05e5a008eb878771 (diff) | |
automatic import of python-gwcs
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-gwcs.spec | 91 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/gwcs-0.18.3.tar.gz diff --git a/python-gwcs.spec b/python-gwcs.spec new file mode 100644 index 0000000..7bdd921 --- /dev/null +++ b/python-gwcs.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gwcs +Version: 0.18.3 +Release: 1 +Summary: Generalized World Coordinate System +License: BSD +URL: https://github.com/spacetelescope/gwcs +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/71/57/4a48c851087b94418ffa7d37c81aedcc29fa252b0128b11f12fdd6cfa0d6/gwcs-0.18.3.tar.gz +BuildArch: noarch + +Requires: python3-asdf +Requires: python3-astropy +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-asdf-wcs-schemas +Requires: python3-asdf-astropy +Requires: python3-sphinx +Requires: python3-sphinx-automodapi +Requires: python3-sphinx-rtd-theme +Requires: python3-stsci-rtd-theme +Requires: python3-sphinx-astropy +Requires: python3-sphinx-asdf +Requires: python3-ci-watson +Requires: python3-pytest +Requires: python3-pytest-astropy +Requires: python3-codecov + +%description +Tools for managing the WCS of astronomical observations in a general (non-FITS) way + + +%package -n python3-gwcs +Summary: Generalized World Coordinate System +Provides: python-gwcs +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gwcs +Tools for managing the WCS of astronomical observations in a general (non-FITS) way + + +%package help +Summary: Development documents and examples for gwcs +Provides: python3-gwcs-doc +%description help +Tools for managing the WCS of astronomical observations in a general (non-FITS) way + + +%prep +%autosetup -n gwcs-0.18.3 + +%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-gwcs -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.18.3-1 +- Package Spec generated @@ -0,0 +1 @@ +f519b89b86c9a8dd2cb95fce81a0b3d7 gwcs-0.18.3.tar.gz |
