summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:56:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:56:23 +0000
commit3412875730cce948be996b5e1f3ff1cbf96a715b (patch)
treee5d57c368cc24b4c5f9eb99c732d91bb40cb1aac
parentb561ad8d16ef4958122549102012fa1c0c363b2e (diff)
automatic import of python-aumbry
-rw-r--r--.gitignore1
-rw-r--r--python-aumbry.spec121
-rw-r--r--sources1
3 files changed, 123 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..070a89a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aumbry-0.10.0.tar.gz
diff --git a/python-aumbry.spec b/python-aumbry.spec
new file mode 100644
index 0000000..f364096
--- /dev/null
+++ b/python-aumbry.spec
@@ -0,0 +1,121 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aumbry
+Version: 0.10.0
+Release: 1
+Summary: Multi-type configuration library for Python
+License: Apache v2
+URL: https://github.com/pyarmory/aumbry
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/44/bd/f1c8760b46a01575411de2e3e1643689be5241e66229c5f3b3fea747ed87/aumbry-0.10.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-six
+Requires: python3-alchemize
+Requires: python3-pike
+Requires: python3-deepmerge
+Requires: python3-pyyaml
+Requires: python3-requests
+Requires: python3-boto3
+Requires: python3-cryptography
+Requires: python3-requests
+Requires: python3-requests
+Requires: python3-cryptography
+Requires: python3-boto3
+Requires: python3-pyyaml
+
+%description
+Aumbry is general purpose library for handling configuration within your
+Python applications. The project was born from constantly needing a simple
+interface for configuration models that came from multiple data sources.
+Behind the scenes, Aumbry uses Alchemize to handle the conversion of the
+configuration data into application specific data models for your project.
+**Data Sources supported:**
+* File
+* Consul
+* Etcd2
+* AWS Parameter Store
+**Configuration Formats Supported:**
+* Yaml
+* Json
+
+%package -n python3-aumbry
+Summary: Multi-type configuration library for Python
+Provides: python-aumbry
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aumbry
+Aumbry is general purpose library for handling configuration within your
+Python applications. The project was born from constantly needing a simple
+interface for configuration models that came from multiple data sources.
+Behind the scenes, Aumbry uses Alchemize to handle the conversion of the
+configuration data into application specific data models for your project.
+**Data Sources supported:**
+* File
+* Consul
+* Etcd2
+* AWS Parameter Store
+**Configuration Formats Supported:**
+* Yaml
+* Json
+
+%package help
+Summary: Development documents and examples for aumbry
+Provides: python3-aumbry-doc
+%description help
+Aumbry is general purpose library for handling configuration within your
+Python applications. The project was born from constantly needing a simple
+interface for configuration models that came from multiple data sources.
+Behind the scenes, Aumbry uses Alchemize to handle the conversion of the
+configuration data into application specific data models for your project.
+**Data Sources supported:**
+* File
+* Consul
+* Etcd2
+* AWS Parameter Store
+**Configuration Formats Supported:**
+* Yaml
+* Json
+
+%prep
+%autosetup -n aumbry-0.10.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-aumbry -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8f2b15b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+03154ff9e2121a0c6d36169a2eee6e77 aumbry-0.10.0.tar.gz