summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-29 12:55:19 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-29 12:55:19 +0000
commita2fdc7baf3b3007496623c7e75c7f70f85dffb44 (patch)
tree198cca3fc342ea3ee083306c7f5e2bfefdaad5c1
parentdc41075aef8e4b70a6901524a119f767a20d23d2 (diff)
automatic import of python-hydra
-rw-r--r--.gitignore1
-rw-r--r--python-hydra.spec57
-rw-r--r--sources1
3 files changed, 59 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f59f44c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-hydra-1.3.2.tar.gz
diff --git a/python-hydra.spec b/python-hydra.spec
new file mode 100644
index 0000000..b3d77d9
--- /dev/null
+++ b/python-hydra.spec
@@ -0,0 +1,57 @@
+%global _empty_manifest_terminate_build 0
+%global pypi_name hydra
+%global source_name hydra
+
+Name: python-%{pypi_name}
+Version: 1.3.2
+Release: 1
+Summary: hydra package for python3
+License: Apache-2.0
+URL: https://pydantic.dev/
+Source0: https://github.com/facebookresearch/hydra/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+Requires: python3
+Requires: python3-packaging
+Requires: python3-omegaconf >= 2.2
+Requires: python3-importlib-resources
+
+%description
+hydra package for python3
+
+%package -n python3-%{pypi_name}
+Summary: Data validation library for Python
+Provides: python-%{pypi_name}
+BuildRequires: python3-antlr4-runtime == 4.9.3
+#BuildRequires: python3-packaging
+#BuildRequires: python3-omegaconf
+
+%description -n python3-%{pypi_name}
+
+%package help
+Summary: Development documents and examples for hydra
+Provides: python3-%{pypi_name}-doc
+%description help
+python3 hydra
+
+%prep
+%autosetup -p1 -n %{source_name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+
+%files -n python3-%{pypi_name}
+%doc *.md
+%license LICENSE
+%{python3_sitelib}/%{source_name}/*
+%{python3_sitelib}/%{source_name}_core-%{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..bf06698
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d83ba5a5761040f590edff6c477eeaa3 python-hydra-1.3.2.tar.gz