diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-31 06:28:08 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 06:28:08 +0000 | 
| commit | 680920774a7e9ed505d0bfd0b712df3f5387a7b8 (patch) | |
| tree | dd3919ddeab0cc47bc5e07cdce8270f915d7cfd1 | |
| parent | a6e25231ad43badd321c96ec230c1b9b564edf48 (diff) | |
automatic import of python-application-properties
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-application-properties.spec | 307 | ||||
| -rw-r--r-- | sources | 1 | 
3 files changed, 309 insertions, 0 deletions
@@ -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
 +
 +[](https://github.com/jackdewinter/application_properties)
 +
 +[](https://pypi.org/project/application_properties)
 +[](https://pypi.org/project/application_properties)
 +
 +<!--
 +[](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
 +[](https://app.codecov.io/gh/jackdewinter/application_properties)
 +-->
 +
 +
 +
 +[](https://github.com/jackdewinter/application_properties/stargazers)
 +[](https://pypistats.org/packages/application_properties)
 +
 +[](https://github.com/jackdewinter/application_properties/issues)
 +[](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
 +[](https://github.com/jackdewinter/application_properties/graphs/contributors)
 +[](https://github.com/jackdewinter/application_properties/network/members)
 +
 +[](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
 +
 +[](https://github.com/jackdewinter/application_properties)
 +
 +[](https://pypi.org/project/application_properties)
 +[](https://pypi.org/project/application_properties)
 +
 +<!--
 +[](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
 +[](https://app.codecov.io/gh/jackdewinter/application_properties)
 +-->
 +
 +
 +
 +[](https://github.com/jackdewinter/application_properties/stargazers)
 +[](https://pypistats.org/packages/application_properties)
 +
 +[](https://github.com/jackdewinter/application_properties/issues)
 +[](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
 +[](https://github.com/jackdewinter/application_properties/graphs/contributors)
 +[](https://github.com/jackdewinter/application_properties/network/members)
 +
 +[](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
 +
 +[](https://github.com/jackdewinter/application_properties)
 +
 +[](https://pypi.org/project/application_properties)
 +[](https://pypi.org/project/application_properties)
 +
 +<!--
 +[](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
 +[](https://app.codecov.io/gh/jackdewinter/application_properties)
 +-->
 +
 +
 +
 +[](https://github.com/jackdewinter/application_properties/stargazers)
 +[](https://pypistats.org/packages/application_properties)
 +
 +[](https://github.com/jackdewinter/application_properties/issues)
 +[](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
 +[](https://github.com/jackdewinter/application_properties/graphs/contributors)
 +[](https://github.com/jackdewinter/application_properties/network/members)
 +
 +[](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 @@ -0,0 +1 @@ +5810f5292f72e93866ca9d7224f64284  application_properties-0.7.0.tar.gz  | 
