summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 11:08:06 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 11:08:06 +0000
commit1695d4ecc2bf6262acd6ef1631f0f727c5380592 (patch)
tree82eaf389d30f6edfc420d7f29cc8ed6cc051e7fa
parent5c2adc469b71f063c1996255d2842d64144cf65b (diff)
automatic import of hjsonopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-hjson.spec53
-rw-r--r--sources1
3 files changed, 55 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5336df7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hjson-3.1.0.tar.gz
diff --git a/python-hjson.spec b/python-hjson.spec
new file mode 100644
index 0000000..8a8411a
--- /dev/null
+++ b/python-hjson.spec
@@ -0,0 +1,53 @@
+%global _empty_manifest_terminate_build 0
+Name: hjson
+Version: 3.1.0
+Release: 1
+Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
+License: MIT
+URL: https://www.json.org/json-en.html
+Source0: https://github.com/hjson/hjson-py/releases/tag/v%{version}#/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+
+%description
+DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
+
+%package -n python3-hjson
+Summary: hjson for python3
+
+%description -n python3-hjson
+python3-%{name} description
+
+%package help
+Summary: Development documents and examples for python-%{name}
+Provides: python3-%{name}-doc
+%description help
+hjson for python3 help doc
+
+%prep
+%autosetup -p1 -n %{name}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-%{name}
+%doc *.md
+%doc README.rst
+%license LICENSE.txt
+%{_bindir}/%{name}*
+%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/*
+%{python3_sitelib}/%{name}/*
+
+#%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..80ad354
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8708ff224ff842c64153cdfad9f80d92 hjson-3.1.0.tar.gz