From a2fdc7baf3b3007496623c7e75c7f70f85dffb44 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 Jan 2024 12:55:19 +0000 Subject: automatic import of python-hydra --- .gitignore | 1 + python-hydra.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 python-hydra.spec create mode 100644 sources 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 -- cgit v1.2.3