summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 13:26:27 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 13:26:27 +0000
commita791d72679374caf87fc4771f84388f20a9c6fa6 (patch)
tree6d8106317f07d9d1d8584cbeccbce9afa3ee68c7
parent9d928f4674b35a2a551c98563b2b2caba5af53ff (diff)
automatic import of python-hjsonopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--python-hjson.spec56
-rw-r--r--sources1
3 files changed, 58 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..7ca371e
--- /dev/null
+++ b/python-hjson.spec
@@ -0,0 +1,56 @@
+%global _empty_manifest_terminate_build 0
+%global pypi_name hjson
+
+Name: python-%{pypi_name}
+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}#/%{pypi_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
+Provides: python3.11dist(hjson) = %{version}
+
+%description -n python3-hjson
+python3-%{pypi_name} description
+
+%package help
+Summary: Development documents and examples for %{name}
+Provides: python3-%{pypi_name}-doc
+%description help
+hjson for python3 help doc
+
+%prep
+%autosetup -p1 -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%files -n python3-%{pypi_name}
+%doc *.md
+%doc README.rst
+%license LICENSE.txt
+%{_bindir}/%{pypi_name}*
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/*
+%{python3_sitelib}/%{pypi_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