diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:54:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:54:29 +0000 |
commit | dd98c8207d9261f528f7cc5224b8aafe4b46236c (patch) | |
tree | 457a56e133b5c4c5d0418f5f16eaf7b1716d4dac | |
parent | 7a23319799a364b9809c4064e7a647a920681aea (diff) |
automatic import of python-pathmindopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pathmind.spec | 83 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 85 insertions, 0 deletions
@@ -0,0 +1 @@ +/pathmind-0.4.tar.gz diff --git a/python-pathmind.spec b/python-pathmind.spec new file mode 100644 index 0000000..19b3824 --- /dev/null +++ b/python-pathmind.spec @@ -0,0 +1,83 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pathmind +Version: 0.4 +Release: 1 +Summary: Python Simulations +License: MIT +URL: https://github.com/PathmindAI/pathmind_api +Source0: https://mirrors.aliyun.com/pypi/web/packages/5f/b4/9a90d8e01e14d7736a8116c1f81ccdbf6849bc869e8a01d160be97661f82/pathmind-0.4.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-pyyaml +Requires: python3-tensorflow +Requires: python3-prettytable +Requires: python3-gym +Requires: python3-or-gym +Requires: python3-pytest +Requires: python3-flake8 +Requires: python3-flake8-debugger +Requires: python3-pre-commit +Requires: python3-pandas + +%description + + +%package -n python3-pathmind +Summary: Python Simulations +Provides: python-pathmind +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pathmind + + +%package help +Summary: Development documents and examples for pathmind +Provides: python3-pathmind-doc +%description help + + +%prep +%autosetup -n pathmind-0.4 + +%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-pathmind -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1 +- Package Spec generated @@ -0,0 +1 @@ +ae766bce3c0df611355dc1f5fc33673b pathmind-0.4.tar.gz |