summaryrefslogtreecommitdiff
path: root/python-hydra.spec
blob: 25cec4fd1f9e11d62c1838ae90f2f8dd6e2c7331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%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-pip
BuildRequires:	python3-wheel
#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