summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 06:28:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 06:28:08 +0000
commit680920774a7e9ed505d0bfd0b712df3f5387a7b8 (patch)
treedd3919ddeab0cc47bc5e07cdce8270f915d7cfd1
parenta6e25231ad43badd321c96ec230c1b9b564edf48 (diff)
automatic import of python-application-properties
-rw-r--r--.gitignore1
-rw-r--r--python-application-properties.spec307
-rw-r--r--sources1
3 files changed, 309 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..93e3750 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/application_properties-0.7.0.tar.gz
diff --git a/python-application-properties.spec b/python-application-properties.spec
new file mode 100644
index 0000000..3b44a60
--- /dev/null
+++ b/python-application-properties.spec
@@ -0,0 +1,307 @@
+%global _empty_manifest_terminate_build 0
+Name: python-application-properties
+Version: 0.7.0
+Release: 1
+Summary: A simple, easy to use, unified manner of accessing program properties.
+License: MIT License
+URL: https://github.com/jackdewinter/application_properties
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/97/53/cdff1152a8d0ee4bcd3e5e17cc612b30920d65881cfe6fd883b2ad873420/application_properties-0.7.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-tomli
+
+%description
+# application_properties
+
+[![GitHub top language](https://img.shields.io/github/languages/top/jackdewinter/application_properties)](https://github.com/jackdewinter/application_properties)
+![platforms](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey)
+[![Python Versions](https://img.shields.io/pypi/pyversions/application_properties.svg)](https://pypi.org/project/application_properties)
+[![Version](https://img.shields.io/pypi/v/application_properties.svg)](https://pypi.org/project/application_properties)
+
+<!--
+[![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/jackdewinter/application_properties/Main)](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
+[![Codecov](https://img.shields.io/codecov/c/github/jackdewinter/application_properties)](https://app.codecov.io/gh/jackdewinter/application_properties)
+-->
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/black/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/flake8/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/pylint/master)
+[![Stars](https://img.shields.io/github/stars/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/stargazers)
+[![Downloads](https://img.shields.io/pypi/dm/application_properties.svg)](https://pypistats.org/packages/application_properties)
+
+[![Issues](https://img.shields.io/github/issues/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/issues)
+[![License](https://img.shields.io/github/license/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
+[![Contributors](https://img.shields.io/github/contributors/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/graphs/contributors)
+[![Forks](https://img.shields.io/github/forks/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/network/members)
+
+[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555)](https://www.linkedin.com/in/jackdewinter/)
+
+The `application_properties` package was born out of necessity.
+During the creation of the [PyMarkdown](https://github.com/jackdewinter/pymarkdown)
+project, there was a distinct need for a configuration subsystem that was able to
+handle more complex configuration schemas.
+
+The `application_properties` library has the following advnatages:
+
+- Thoroughly tested
+ - The project currently has over 65 tests and coverage percentages over 99%.
+- Simple... With Examples
+ - The package was created with the intention of being as easy to use as possbile.
+ - To that extent, there are 4 basic usage examples and over 10 advanced usage examples.
+- Complex When Required
+ - The default is simplicity, but the package can step up when required to do so.
+ - Any actions outside of the simple scenario of getting an optional string
+ value should be relatively easy to request of the package API.
+- Hierarchically Aware
+ - By default, uses the `.` character in the property names to define levels
+ of hierarchy.
+ - Hierarchy levels can be used to find only those properties that exist under
+ a given hierarchy.
+ - If desired, the `ApplicationPropertiesFacade` object can be used to
+ restrict access to only those properties that exist under a given hierarchy.
+- Command Line Aware
+ - The `set_manual_property` function allows for one or more individual
+ properties to be supplied by the command line.
+- Extensible
+ - The loading of the properties is separate from access to the values for
+ those properties.
+ - Due to the separation of the loading and accessing parts of the library,
+ custom loading classes can be added with ease.
+ - Current loading classes include loaders for Json files, with Simple
+ Property files right around the corner
+
+## Requirements
+
+This project required Python 3.8 or later to function.
+
+## Installation
+
+```sh
+pip install app_prop
+```
+
+## API Documentation
+
+The full documentation on the API is available in the [API document](dd).
+As that document is rather dry, more information is provided in the way of
+examples in the [How To Use This Package section](dd) of the home page.
+
+## How To Use, And Other Stuff
+
+For more information on this library please consult the various other
+section on the home page.
+
+
+%package -n python3-application-properties
+Summary: A simple, easy to use, unified manner of accessing program properties.
+Provides: python-application-properties
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-application-properties
+# application_properties
+
+[![GitHub top language](https://img.shields.io/github/languages/top/jackdewinter/application_properties)](https://github.com/jackdewinter/application_properties)
+![platforms](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey)
+[![Python Versions](https://img.shields.io/pypi/pyversions/application_properties.svg)](https://pypi.org/project/application_properties)
+[![Version](https://img.shields.io/pypi/v/application_properties.svg)](https://pypi.org/project/application_properties)
+
+<!--
+[![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/jackdewinter/application_properties/Main)](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
+[![Codecov](https://img.shields.io/codecov/c/github/jackdewinter/application_properties)](https://app.codecov.io/gh/jackdewinter/application_properties)
+-->
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/black/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/flake8/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/pylint/master)
+[![Stars](https://img.shields.io/github/stars/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/stargazers)
+[![Downloads](https://img.shields.io/pypi/dm/application_properties.svg)](https://pypistats.org/packages/application_properties)
+
+[![Issues](https://img.shields.io/github/issues/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/issues)
+[![License](https://img.shields.io/github/license/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
+[![Contributors](https://img.shields.io/github/contributors/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/graphs/contributors)
+[![Forks](https://img.shields.io/github/forks/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/network/members)
+
+[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555)](https://www.linkedin.com/in/jackdewinter/)
+
+The `application_properties` package was born out of necessity.
+During the creation of the [PyMarkdown](https://github.com/jackdewinter/pymarkdown)
+project, there was a distinct need for a configuration subsystem that was able to
+handle more complex configuration schemas.
+
+The `application_properties` library has the following advnatages:
+
+- Thoroughly tested
+ - The project currently has over 65 tests and coverage percentages over 99%.
+- Simple... With Examples
+ - The package was created with the intention of being as easy to use as possbile.
+ - To that extent, there are 4 basic usage examples and over 10 advanced usage examples.
+- Complex When Required
+ - The default is simplicity, but the package can step up when required to do so.
+ - Any actions outside of the simple scenario of getting an optional string
+ value should be relatively easy to request of the package API.
+- Hierarchically Aware
+ - By default, uses the `.` character in the property names to define levels
+ of hierarchy.
+ - Hierarchy levels can be used to find only those properties that exist under
+ a given hierarchy.
+ - If desired, the `ApplicationPropertiesFacade` object can be used to
+ restrict access to only those properties that exist under a given hierarchy.
+- Command Line Aware
+ - The `set_manual_property` function allows for one or more individual
+ properties to be supplied by the command line.
+- Extensible
+ - The loading of the properties is separate from access to the values for
+ those properties.
+ - Due to the separation of the loading and accessing parts of the library,
+ custom loading classes can be added with ease.
+ - Current loading classes include loaders for Json files, with Simple
+ Property files right around the corner
+
+## Requirements
+
+This project required Python 3.8 or later to function.
+
+## Installation
+
+```sh
+pip install app_prop
+```
+
+## API Documentation
+
+The full documentation on the API is available in the [API document](dd).
+As that document is rather dry, more information is provided in the way of
+examples in the [How To Use This Package section](dd) of the home page.
+
+## How To Use, And Other Stuff
+
+For more information on this library please consult the various other
+section on the home page.
+
+
+%package help
+Summary: Development documents and examples for application-properties
+Provides: python3-application-properties-doc
+%description help
+# application_properties
+
+[![GitHub top language](https://img.shields.io/github/languages/top/jackdewinter/application_properties)](https://github.com/jackdewinter/application_properties)
+![platforms](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey)
+[![Python Versions](https://img.shields.io/pypi/pyversions/application_properties.svg)](https://pypi.org/project/application_properties)
+[![Version](https://img.shields.io/pypi/v/application_properties.svg)](https://pypi.org/project/application_properties)
+
+<!--
+[![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/jackdewinter/application_properties/Main)](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
+[![Codecov](https://img.shields.io/codecov/c/github/jackdewinter/application_properties)](https://app.codecov.io/gh/jackdewinter/application_properties)
+-->
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/black/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/flake8/master)
+![GitHub Pipenv locked dependency version (branch)](https://img.shields.io/github/pipenv/locked/dependency-version/jackdewinter/application_properties/pylint/master)
+[![Stars](https://img.shields.io/github/stars/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/stargazers)
+[![Downloads](https://img.shields.io/pypi/dm/application_properties.svg)](https://pypistats.org/packages/application_properties)
+
+[![Issues](https://img.shields.io/github/issues/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/issues)
+[![License](https://img.shields.io/github/license/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
+[![Contributors](https://img.shields.io/github/contributors/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/graphs/contributors)
+[![Forks](https://img.shields.io/github/forks/jackdewinter/application_properties.svg)](https://github.com/jackdewinter/application_properties/network/members)
+
+[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?logo=linkedin&colorB=555)](https://www.linkedin.com/in/jackdewinter/)
+
+The `application_properties` package was born out of necessity.
+During the creation of the [PyMarkdown](https://github.com/jackdewinter/pymarkdown)
+project, there was a distinct need for a configuration subsystem that was able to
+handle more complex configuration schemas.
+
+The `application_properties` library has the following advnatages:
+
+- Thoroughly tested
+ - The project currently has over 65 tests and coverage percentages over 99%.
+- Simple... With Examples
+ - The package was created with the intention of being as easy to use as possbile.
+ - To that extent, there are 4 basic usage examples and over 10 advanced usage examples.
+- Complex When Required
+ - The default is simplicity, but the package can step up when required to do so.
+ - Any actions outside of the simple scenario of getting an optional string
+ value should be relatively easy to request of the package API.
+- Hierarchically Aware
+ - By default, uses the `.` character in the property names to define levels
+ of hierarchy.
+ - Hierarchy levels can be used to find only those properties that exist under
+ a given hierarchy.
+ - If desired, the `ApplicationPropertiesFacade` object can be used to
+ restrict access to only those properties that exist under a given hierarchy.
+- Command Line Aware
+ - The `set_manual_property` function allows for one or more individual
+ properties to be supplied by the command line.
+- Extensible
+ - The loading of the properties is separate from access to the values for
+ those properties.
+ - Due to the separation of the loading and accessing parts of the library,
+ custom loading classes can be added with ease.
+ - Current loading classes include loaders for Json files, with Simple
+ Property files right around the corner
+
+## Requirements
+
+This project required Python 3.8 or later to function.
+
+## Installation
+
+```sh
+pip install app_prop
+```
+
+## API Documentation
+
+The full documentation on the API is available in the [API document](dd).
+As that document is rather dry, more information is provided in the way of
+examples in the [How To Use This Package section](dd) of the home page.
+
+## How To Use, And Other Stuff
+
+For more information on this library please consult the various other
+section on the home page.
+
+
+%prep
+%autosetup -n application-properties-0.7.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-application-properties -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f02f6e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5810f5292f72e93866ca9d7224f64284 application_properties-0.7.0.tar.gz