From 14ea05c17ac910f11347147fa0e571d37aee7d77 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 24 Jan 2024 09:01:19 +0000 Subject: automatic import of hjson --- .gitignore | 1 + hjson.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 hjson.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5efca41 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/hjson-py-3.0.2.tar.gz diff --git a/hjson.spec b/hjson.spec new file mode 100644 index 0000000..0379803 --- /dev/null +++ b/hjson.spec @@ -0,0 +1,51 @@ +%global _empty_manifest_terminate_build 0 +Name: hjson +Version: 3.0.2 +Release: 1 +Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration +License: Apache-2.0 +URL: https://www.deepspeed.ai/ +Source0: https://github.com/microsoft/DeepSpeed/archive/refs/tags/v0.13.0.tar.gz#/%{name}-py-%{version}.tar.gz + +%description +DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. + +%package -n python3-%{name} +Summary: python3 +Provides: python-hjson + +#Set custom spec file configurations for python +%define python3_sitearch /usr/lib/python%{python3_version}/site-packages + +%description -n python3-%{name} +python3-%{name} description + +%package help +Summary: Development documents and examples for DeepSpeed +Provides: python3-%{name}-doc +%description help +hjson for python3 help doc + +%prep +%autosetup -p1 -n %{name}-py-%{version} + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} + +%files -n python3-%{name} +%doc *.md +%license LICENSE.txt +%{_bindir}/%{name}* +%{python3_sitearch}/%{name}/* +%{python3_sitearch}/%{name}-%{version}.dist-info/* + +#%files help -f doclist.lst +#%{_docdir}/* + +%changelog +* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1 +- Package init diff --git a/sources b/sources new file mode 100644 index 0000000..3621f97 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7b345fa11d47d9df7e952f9ce20309eb hjson-py-3.0.2.tar.gz -- cgit v1.2.3