diff --git a/bazel-6.5.0-linux-aarch64 b/bazel-6.5.0-linux-aarch64 new file mode 100755 index 0000000000000000000000000000000000000000..ca606fe8e3752497cc71c40f7fa7d1105edc536b Binary files /dev/null and b/bazel-6.5.0-linux-aarch64 differ diff --git a/bazel-6.5.0-linux-x86_64 b/bazel-6.5.0-linux-x86_64 new file mode 100755 index 0000000000000000000000000000000000000000..745f05c474058d4a0511b79de52213d711343ae5 Binary files /dev/null and b/bazel-6.5.0-linux-x86_64 differ diff --git a/python-ray.spec b/python-ray.spec new file mode 100644 index 0000000000000000000000000000000000000000..41dabf6d424d21cbd848dfb388b3dd1e06b68690 --- /dev/null +++ b/python-ray.spec @@ -0,0 +1,58 @@ +Name: python-ray +Version: 2.42.1 +Release: 1%{?dist} +Summary: Ray provides a simple, universal API for building distributed applications. +License: Apache 2.0 +URL: https://github.com/ray-project/ray +Source0: https://github.com/ray-project/ray/archive/refs/tags/ray-%{version}.tar.gz + +%ifarch aarch64 +Source1: bazel-6.5.0-linux-aarch64 +%endif +%ifarch x86_64 +Source1: bazel-6.5.0-linux-x86_64 +%endif + +Provides: python-ray +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-cffi +BuildRequires: python3-cython +BuildRequires: gcc +BuildRequires: gdb + +%description +Today's ML workloads are increasingly compute-intensive. As convenient as they are, single-node development environments such as your laptop cannot scale to meet these demands. +Ray is a unified way to scale Python and AI applications from a laptop to a cluster. +With Ray, you can seamlessly scale the same code from a laptop to a cluster. Ray is designed to be general-purpose, meaning that it can performantly run any kind of workload. If your application is written in Python, you can scale it with Ray, no other infrastructure required. + +%prep +%autosetup -n %{name}-%{version} -p1 +mkdir ~/bin/ +cp -a %{SOURCE1} ~/bin/bazel +chmod +x ~/bin/bazel + +%build +cd python +bazel --version +%py3_build +cd - + +%install +%py3_install + +%clean +cd python +bazel clean --expunge +rm -rf ~/.cache/bazel + +%files -n %{name} +%doc README.md +%lincense LICENSE +%{python3_sitelib}/* + +%changelog +* Fri Feb 28 2025 Python_Bot - 2.42.1-1 +- Package Spec generated diff --git a/ray-2.42.1.tar.gz b/ray-2.42.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c69c943bb1b024cc06ac5d889af8ec178ddc1e1c Binary files /dev/null and b/ray-2.42.1.tar.gz differ