diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-27 09:33:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-27 09:33:28 +0000 |
commit | 3d68ac908313bea9f1d2442ae24cfbade48c3501 (patch) | |
tree | c9b7b793660ef6cfbedf1f82b137dc4895d25464 | |
parent | 37babed6a587a362649c7344159708ad56363508 (diff) |
automatic import of omegaconfopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-omegaconf.spec | 46 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 48 insertions, 0 deletions
@@ -0,0 +1 @@ +/omegaconf-2.3.0.tar.gz diff --git a/python-omegaconf.spec b/python-omegaconf.spec new file mode 100644 index 0000000..261bb93 --- /dev/null +++ b/python-omegaconf.spec @@ -0,0 +1,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 @@ -0,0 +1 @@ +fb9f61e5ad2bd8ba99a0da8ef35ba08b omegaconf-2.3.0.tar.gz |