diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:35:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:35:34 +0000 |
commit | 93fa13273ec4b2afeba6c2cae18d3cd48020db37 (patch) | |
tree | 0bd68b4b596fd0a52140e293f232d2954836357e /python-easiersdk.spec | |
parent | 5a93dbfb008a22a9886b5ebe6b25f9645415bcfa (diff) |
automatic import of python-easiersdk
Diffstat (limited to 'python-easiersdk.spec')
-rw-r--r-- | python-easiersdk.spec | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/python-easiersdk.spec b/python-easiersdk.spec new file mode 100644 index 0000000..0e26b4d --- /dev/null +++ b/python-easiersdk.spec @@ -0,0 +1,133 @@ +%global _empty_manifest_terminate_build 0 +Name: python-easierSDK +Version: 0.1.16 +Release: 1 +Summary: This library contains code for interacting with EASIER.AI platform. +License: ATOS +URL: https://scm.atosresearch.eu/ari/easier/easier-sdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0b/9b/46f8a03bffc866e57a07727e4b9a067c28d64c294e9e54a305f71c139f13/easierSDK-0.1.16.tar.gz +BuildArch: noarch + +Requires: python3-minio +Requires: python3-tensorflow +Requires: python3-joblib +Requires: python3-scikit-learn +Requires: python3-seaborn +Requires: python3-pandas +Requires: python3-h5py +Requires: python3-Pillow +Requires: python3-matplotlib +Requires: python3-kubernetes +Requires: python3-tqdm +Requires: python3-sweetviz +Requires: python3-pydash + +%description + DATASETS: + Name Category Last Modification + kaggle-pokemon-data Categories.MISC 2021/01/18 12:41:59 + kaggle_flowers_recognition Categories.MISC 2021/01/14 14:26:24 + robot_sim_decenter_4 Categories.MISC 2020-12-12 12:00:00 +This repository contains a set of Models and Datasets, and you can see these are organized by **categories**. So you can use these categories to refine your search finding out your desired Model or Dataset. +``` +repositories["easier-public"].print_categories() +print("-----------------------------------------------------------------------------------------------------------------------") +repositories["easier-public"].categories["misc"].pretty_print() +``` + Category Num Models Num Datasets + health 0 0 + transport 0 0 + security 0 0 + airspace 0 0 + education 0 0 + +%package -n python3-easierSDK +Summary: This library contains code for interacting with EASIER.AI platform. +Provides: python-easierSDK +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-easierSDK + DATASETS: + Name Category Last Modification + kaggle-pokemon-data Categories.MISC 2021/01/18 12:41:59 + kaggle_flowers_recognition Categories.MISC 2021/01/14 14:26:24 + robot_sim_decenter_4 Categories.MISC 2020-12-12 12:00:00 +This repository contains a set of Models and Datasets, and you can see these are organized by **categories**. So you can use these categories to refine your search finding out your desired Model or Dataset. +``` +repositories["easier-public"].print_categories() +print("-----------------------------------------------------------------------------------------------------------------------") +repositories["easier-public"].categories["misc"].pretty_print() +``` + Category Num Models Num Datasets + health 0 0 + transport 0 0 + security 0 0 + airspace 0 0 + education 0 0 + +%package help +Summary: Development documents and examples for easierSDK +Provides: python3-easierSDK-doc +%description help + DATASETS: + Name Category Last Modification + kaggle-pokemon-data Categories.MISC 2021/01/18 12:41:59 + kaggle_flowers_recognition Categories.MISC 2021/01/14 14:26:24 + robot_sim_decenter_4 Categories.MISC 2020-12-12 12:00:00 +This repository contains a set of Models and Datasets, and you can see these are organized by **categories**. So you can use these categories to refine your search finding out your desired Model or Dataset. +``` +repositories["easier-public"].print_categories() +print("-----------------------------------------------------------------------------------------------------------------------") +repositories["easier-public"].categories["misc"].pretty_print() +``` + Category Num Models Num Datasets + health 0 0 + transport 0 0 + security 0 0 + airspace 0 0 + education 0 0 + +%prep +%autosetup -n easierSDK-0.1.16 + +%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-easierSDK -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.16-1 +- Package Spec generated |