From 3d68ac908313bea9f1d2442ae24cfbade48c3501 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 27 Jan 2024 09:33:28 +0000 Subject: automatic import of omegaconf --- .gitignore | 1 + python-omegaconf.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+) create mode 100644 python-omegaconf.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1624339 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources new file mode 100644 index 0000000..6cb6393 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fb9f61e5ad2bd8ba99a0da8ef35ba08b omegaconf-2.3.0.tar.gz -- cgit v1.2.3