From ff6bcb97bf9594c88949726bd9853a356712e1d6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 12:00:33 +0000 Subject: automatic import of python-pymars --- .gitignore | 1 + python-pymars.spec | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 140 insertions(+) create mode 100644 python-pymars.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..550c5b3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pymars-0.10.0.tar.gz diff --git a/python-pymars.spec b/python-pymars.spec new file mode 100644 index 0000000..5f7c5f1 --- /dev/null +++ b/python-pymars.spec @@ -0,0 +1,138 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pymars +Version: 0.10.0 +Release: 1 +Summary: MARS: a tensor-based unified framework for large-scale data computation. +License: Apache License 2.0 +URL: http://github.com/mars-project/mars +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/57/4c/faa88cb69b48bf5859a7660cafdf14f8d2875cc6084c1d7d30068790d4a2/pymars-0.10.0.tar.gz + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-scipy +Requires: python3-scikit-learn +Requires: python3-numexpr +Requires: python3-cloudpickle +Requires: python3-pyyaml +Requires: python3-psutil +Requires: python3-tornado +Requires: python3-sqlalchemy +Requires: python3-defusedxml +Requires: python3-tqdm +Requires: python3-pickle5 +Requires: python3-shared-memory38 +Requires: python3-uvloop +Requires: python3-cython +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-pytest-forked +Requires: python3-pytest-asyncio +Requires: python3-flake8 +Requires: python3-black +Requires: python3-mock +Requires: python3-pillow +Requires: python3-pyarrow +Requires: python3-lz4 +Requires: python3-fsspec +Requires: python3-kubernetes +Requires: python3-ray +Requires: python3-vineyard + +%description +Mars is easy to install by + pip install pymars +Installation for Developers +``````````````````````````` +When you want to contribute code to Mars, you can follow the instructions below to install Mars +for development: + git clone https://github.com/mars-project/mars.git + cd mars + pip install -e ".[dev]" +More details about installing Mars can be found at +`installation `_ section in +Mars document. + +%package -n python3-pymars +Summary: MARS: a tensor-based unified framework for large-scale data computation. +Provides: python-pymars +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-pymars +Mars is easy to install by + pip install pymars +Installation for Developers +``````````````````````````` +When you want to contribute code to Mars, you can follow the instructions below to install Mars +for development: + git clone https://github.com/mars-project/mars.git + cd mars + pip install -e ".[dev]" +More details about installing Mars can be found at +`installation `_ section in +Mars document. + +%package help +Summary: Development documents and examples for pymars +Provides: python3-pymars-doc +%description help +Mars is easy to install by + pip install pymars +Installation for Developers +``````````````````````````` +When you want to contribute code to Mars, you can follow the instructions below to install Mars +for development: + git clone https://github.com/mars-project/mars.git + cd mars + pip install -e ".[dev]" +More details about installing Mars can be found at +`installation `_ section in +Mars document. + +%prep +%autosetup -n pymars-0.10.0 + +%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-pymars -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.10.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..270e1bd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c543079d2662a877f13feea373178dff pymars-0.10.0.tar.gz -- cgit v1.2.3