diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:27:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:27:11 +0000 |
| commit | 43caccf3e8e0fa2543a8f495306e3dc0abff5cc4 (patch) | |
| tree | 872c2b905cb84bd446f567938efa126c7da8a784 /python-sachima.spec | |
| parent | b7f7667b32ea66740b0e80332a0e4156792f3141 (diff) | |
automatic import of python-sachima
Diffstat (limited to 'python-sachima.spec')
| -rw-r--r-- | python-sachima.spec | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/python-sachima.spec b/python-sachima.spec new file mode 100644 index 0000000..7ed60d7 --- /dev/null +++ b/python-sachima.spec @@ -0,0 +1,94 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sachima +Version: 2020.8.30.2 +Release: 1 +Summary: Better data analysis +License: MIT License +URL: https://github.com/DessertsLab/Sachima +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/9f/7293fb7c66567963b99ba0360acc034350f449e4216f0591bb30c471c57e/sachima-2020.8.30.2.tar.gz +BuildArch: noarch + +Requires: python3-aenum +Requires: python3-click +Requires: python3-Flask +Requires: python3-redis + +%description +|feature|screen casts|description| +|----|----|----| +|api||Publishing your python codes as a http/rpc api.| +|BI platform intergration||Working with BI platform Superset.| +|Message Sending||Sending your data reports to email or sns.| +|Data Visulization|<img width="1082" alt="44331788-083f7f80-a49d-11e8-9fad-5668b53ab954" src="https://user-images.githubusercontent.com/7627381/89003523-90d62400-d332-11ea-86c4-6d10882ddf92.png">|Visulize your data. +|command line||Command line tools.| + +%package -n python3-sachima +Summary: Better data analysis +Provides: python-sachima +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sachima +|feature|screen casts|description| +|----|----|----| +|api||Publishing your python codes as a http/rpc api.| +|BI platform intergration||Working with BI platform Superset.| +|Message Sending||Sending your data reports to email or sns.| +|Data Visulization|<img width="1082" alt="44331788-083f7f80-a49d-11e8-9fad-5668b53ab954" src="https://user-images.githubusercontent.com/7627381/89003523-90d62400-d332-11ea-86c4-6d10882ddf92.png">|Visulize your data. +|command line||Command line tools.| + +%package help +Summary: Development documents and examples for sachima +Provides: python3-sachima-doc +%description help +|feature|screen casts|description| +|----|----|----| +|api||Publishing your python codes as a http/rpc api.| +|BI platform intergration||Working with BI platform Superset.| +|Message Sending||Sending your data reports to email or sns.| +|Data Visulization|<img width="1082" alt="44331788-083f7f80-a49d-11e8-9fad-5668b53ab954" src="https://user-images.githubusercontent.com/7627381/89003523-90d62400-d332-11ea-86c4-6d10882ddf92.png">|Visulize your data. +|command line||Command line tools.| + +%prep +%autosetup -n sachima-2020.8.30.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-sachima -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2020.8.30.2-1 +- Package Spec generated |
