summaryrefslogtreecommitdiff
path: root/python-omegaconf.spec
blob: 532076a720ad37333e9d1bc9282a60eeb34d532c (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
%global _empty_manifest_terminate_build 0
Name:		python-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-omegaconf
Summary:	omegaconf package for python3
Provides:	python-omegaconf
BuildRequires:	python3-setuptools
BuildRequires:	java-11-openjdk
BuildRequires:	python3-pip
BuildRequires:	python3-wheel

%description -n python3-omegaconf
transformer description

%package help
Summary:	Development documents and examples for omegaconf
Provides:	python3-omegaconf-doc
%description help
help document omegaconf for python3

%prep
%autosetup -p1 -n omegaconf-%{version}

%build
%pyproject_build

%install
%pyproject_install

%files -n python3-omegaconf
%doc *.md
%license LICENSE
%{python3_sitelib}/omegaconf/*
%{python3_sitelib}/pydevd_plugins/*
%{python3_sitelib}/omegaconf-%{version}.dist-info/*

%changelog
* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.9.5-1
- Package init