diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-hydra.spec | 57 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 59 insertions, 0 deletions
@@ -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 @@ -0,0 +1 @@ +d83ba5a5761040f590edff6c477eeaa3 python-hydra-1.3.2.tar.gz |