blob: 261bb93f9e17d2a39aff30734bda9664906ca58d (
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
|
%global _empty_manifest_terminate_build 0
Name: omegaconf
Version: 2.3.0
Release: 1
Summary: omegaconf package for python3
License: BSD 3-Clause
URL: https://github.com/omry/omegaconf
Source0: https://github.com/omry/omegaconf/archive/refs/tags/v2.3.0.tar.gz#/%{name}-%{version}.tar.gz
Requires: python3-pyaml >= 5.1.0
Requires: python3-antlr4-runtime == 4.9
%description
OmegaConf is a hierarchical configuration system, with support for merging configurations from multiple sources (YAML config files, dataclasses/objects and CLI arguments) providing a consistent API regardless of how the configuration was created.
%package -n python3-%{name}
Summary: omegaconf package for python3
Provides: python-%{name}
BuildRequires: python3-setuptools
BuildRequires: java-11-openjdk
%description -n python3-%{name}
description for python3-omegaconf
%package help
Summary: Development documents and examples for python-omegaconf
Provides: python3-%{name}-doc
%description help
omegaconf help description
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{name}
%{python3_sitelib}/%{name}/*
%{python3_sitelib}/pydevd_plugins/*
%{python3_sitelib}/%{name}-%{version}.dist-info/*
%changelog
* Fri Jan 26 2024 menma <1316818279@qq.com> - 2.3.0-1
- Init package
|