diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:24:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:24:34 +0000 |
commit | 968dc420217f6fc4ee3d79e299887afe66bb540b (patch) | |
tree | 20a7b38246fb4b164376bfedac526a88605283e7 | |
parent | 666e17a094737ed57a117d2528afd257a4e372cb (diff) |
automatic import of python-emmentalopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-emmental.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/emmental-0.1.1.tar.gz diff --git a/python-emmental.spec b/python-emmental.spec new file mode 100644 index 0000000..a7b7a9b --- /dev/null +++ b/python-emmental.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-emmental +Version: 0.1.1 +Release: 1 +Summary: A framework for building multi-modal multi-task learning systems. +License: MIT +URL: https://github.com/SenWu/emmental +Source0: https://mirrors.aliyun.com/pypi/web/packages/d7/2e/d2a20149ae8f90beb7205c06d8fe71688f37200c6f436e83ed5159babad4/emmental-0.1.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pyyaml +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-tensorboard +Requires: python3-torch +Requires: python3-tqdm +Requires: python3-wandb + +%description +|CI-CD| |CodeClimate| |Codecov| |ReadTheDocs| |PyPI| |PyPIVersion| |GitHubStars| |License| |CodeStyle| +Emmental is a framework for building multimodal multi-task learning systems. +Note that Emmental is still *actively under development*, so feedback and +contributions are welcome. Submit bugs in the Issues_ section or feel free to +submit your contributions as a pull request. + +%package -n python3-emmental +Summary: A framework for building multi-modal multi-task learning systems. +Provides: python-emmental +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-emmental +|CI-CD| |CodeClimate| |Codecov| |ReadTheDocs| |PyPI| |PyPIVersion| |GitHubStars| |License| |CodeStyle| +Emmental is a framework for building multimodal multi-task learning systems. +Note that Emmental is still *actively under development*, so feedback and +contributions are welcome. Submit bugs in the Issues_ section or feel free to +submit your contributions as a pull request. + +%package help +Summary: Development documents and examples for emmental +Provides: python3-emmental-doc +%description help +|CI-CD| |CodeClimate| |Codecov| |ReadTheDocs| |PyPI| |PyPIVersion| |GitHubStars| |License| |CodeStyle| +Emmental is a framework for building multimodal multi-task learning systems. +Note that Emmental is still *actively under development*, so feedback and +contributions are welcome. Submit bugs in the Issues_ section or feel free to +submit your contributions as a pull request. + +%prep +%autosetup -n emmental-0.1.1 + +%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-emmental -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +bb0a4dbfc08ac59c9c61d66a4598f5e0 emmental-0.1.1.tar.gz |