diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:41:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:41:20 +0000 |
commit | 3ab11a21025120fc3c1be09826006215c737a978 (patch) | |
tree | 08886635c5bdaf68f9ae1f769a08249dcc3491e2 | |
parent | 246de3406fc48a88ca9e9696e521e548354918b0 (diff) |
automatic import of python-hmpty
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-hmpty.spec | 162 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 164 insertions, 0 deletions
@@ -0,0 +1 @@ +/HMpTy-1.5.8.tar.gz diff --git a/python-hmpty.spec b/python-hmpty.spec new file mode 100644 index 0000000..afa3340 --- /dev/null +++ b/python-hmpty.spec @@ -0,0 +1,162 @@ +%global _empty_manifest_terminate_build 0 +Name: python-HMpTy +Version: 1.5.8 +Release: 1 +Summary: Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more +License: GNU +URL: https://github.com/thespacedoctor/HMpTy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0c/c7/305d4a7964fc08a2852936c54da2bc980d1bdb8296fc25b0c9b476e8c6b2/HMpTy-1.5.8.tar.gz +BuildArch: noarch + + +%description +# HMpTy + +<!-- INFO BADGES --> + +[](https://pypi.org/project/HMpTy/) +[](https://pypi.org/project/HMpTy/) +[](https://github.com/thespacedoctor/HMpTy) +[](https://pypi.org/project/HMpTy/) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/HMpTy/master/htmlcov/index.html) +[](https://HMpTy.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/HMpTy/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more*. + + + +Documentation for HMpTy is hosted by [Read the Docs](https://HMpTy.readthedocs.io/en/master/) ( +[development version](https://HMpTy.readthedocs.io/en/develop/) and [master version](https://HMpTy.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/HMpTy). Please report any issues you find [here](https://github.com/thespacedoctor/HMpTy/issues). + +## Features + +* + + + + + +%package -n python3-HMpTy +Summary: Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more +Provides: python-HMpTy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-HMpTy +# HMpTy + +<!-- INFO BADGES --> + +[](https://pypi.org/project/HMpTy/) +[](https://pypi.org/project/HMpTy/) +[](https://github.com/thespacedoctor/HMpTy) +[](https://pypi.org/project/HMpTy/) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/HMpTy/master/htmlcov/index.html) +[](https://HMpTy.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/HMpTy/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more*. + + + +Documentation for HMpTy is hosted by [Read the Docs](https://HMpTy.readthedocs.io/en/master/) ( +[development version](https://HMpTy.readthedocs.io/en/develop/) and [master version](https://HMpTy.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/HMpTy). Please report any issues you find [here](https://github.com/thespacedoctor/HMpTy/issues). + +## Features + +* + + + + + +%package help +Summary: Development documents and examples for HMpTy +Provides: python3-HMpTy-doc +%description help +# HMpTy + +<!-- INFO BADGES --> + +[](https://pypi.org/project/HMpTy/) +[](https://pypi.org/project/HMpTy/) +[](https://github.com/thespacedoctor/HMpTy) +[](https://pypi.org/project/HMpTy/) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/HMpTy/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/HMpTy/master/htmlcov/index.html) +[](https://HMpTy.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/HMpTy/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Generate Hierarchical Triangular Mesh (HTM) IDs, crossmatch sets of sky-coordinates and more*. + + + +Documentation for HMpTy is hosted by [Read the Docs](https://HMpTy.readthedocs.io/en/master/) ( +[development version](https://HMpTy.readthedocs.io/en/develop/) and [master version](https://HMpTy.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/HMpTy). Please report any issues you find [here](https://github.com/thespacedoctor/HMpTy/issues). + +## Features + +* + + + + + +%prep +%autosetup -n HMpTy-1.5.8 + +%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-HMpTy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.8-1 +- Package Spec generated @@ -0,0 +1 @@ +2974c215f190ca6898f0220e184634b5 HMpTy-1.5.8.tar.gz |