diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:02:21 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:02:21 +0000 |
| commit | 1643633886f564c63f6b2576884c133584c29509 (patch) | |
| tree | 0436a534fdf64a880f9b4a848ffd2bfe54bd6cbb /python-ats-utilities.spec | |
| parent | c56e629c0b6ddb5f7ea399b2a2d2bd334fc8d407 (diff) | |
automatic import of python-ats-utilities
Diffstat (limited to 'python-ats-utilities.spec')
| -rw-r--r-- | python-ats-utilities.spec | 881 |
1 files changed, 881 insertions, 0 deletions
diff --git a/python-ats-utilities.spec b/python-ats-utilities.spec new file mode 100644 index 0000000..99e5f15 --- /dev/null +++ b/python-ats-utilities.spec @@ -0,0 +1,881 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ats-utilities +Version: 2.5.5 +Release: 1 +Summary: Python App/Tool/Script Utilities +License: GPL 2017 Free software to use and distributed it. +URL: https://vroncevic.github.io/ats_utilities +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/e3/d4f694f449220145fd64bf97062b5ad74d9f80e5986c00991501b0776392/ats_utilities-2.5.5.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-colorama +Requires: python3-bs4 +Requires: python3-PyYAML +Requires: python3-configparser + +%description +<img align="right" src="https://raw.githubusercontent.com/vroncevic/ats_utilities/dev/docs/ats_utilities_logo.png" width="25%"> + +# ATS Utilities + +☯️ **ats_utilities** is framework for creating Apps/Tools/Scripts. + +Developed in 🐍 **[python](https://www.python.org/)** code. + +[](https://codecov.io/gh/vroncevic/ats_utilities) +[](https://circleci.com/gh/vroncevic/ats_utilities/tree/master) + +The README is used to introduce the modules and provide instructions on +how to install the modules, any machine dependencies it may have and any +other information that should be provided before the modules are installed. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python_checker.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_package_checker.yml) [](https://github.com/vroncevic/ats_utilities/issues) [](https://github.com/vroncevic/ats_utilities/graphs/contributors) + +<!-- START doctoc generated TOC please keep comment here to allow auto update --> +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> +**Table of Contents** + +- [Installation](#installation) + - [Install using pip](#install-using-pip) + - [Install using build](#install-using-build) + - [Install using py setup](#install-using-py-setup) + - [Install using docker](#install-using-docker) +- [Dependencies](#dependencies) +- [Framework structure](#framework-structure) +- [Docs](#docs) +- [Contributing](#contributing) +- [Copyright and Licence](#copyright-and-licence) + +<!-- END doctoc generated TOC please keep comment here to allow auto update --> + +### Installation + +Used next development environment + + + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python2_build.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python3_build.yml) + +Currently there are four ways to install framework +* Install process based on using pip mechanism +* Install process based on build mechanism +* Install process based on setup.py mechanism +* Install process based on docker mechanism + +##### Install using pip + +Python 📦 is located at **[pypi.org](https://pypi.org/project/ats-utilities/)**. + +You can install by using pip + +```bash +# python2 +pip2 install ats-utilities +# python3 +pip3 install ats-utilities +``` + +##### Install using build + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, run + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 -m build --no-isolation --wheel +pip2 install dist/ats-utilities-x.y.z-py2-none-any.whl +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 -m build --no-isolation --wheel +pip3 install dist/ats-utilities-x.y.z-py3-none-any.whl +rm -f get-pip.py +``` + +##### Install using py setup + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, locate and run setup.py with arguments + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 setup.py install_lib +python2 setup.py install_egg_info +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 setup.py install_lib +python3 setup.py install_egg_info +rm -f get-pip.py +``` + +##### Install using docker + +You can use Dockerfile to create image/container 🚢. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_docker_checker.yml) + +### Dependencies + +These modules requires other modules and libraries (Python 2.x/3.x) +* [six - Python 2 and 3 compatibility library](https://pypi.org/project/six) +* [yaml - YAML parser and emitter for Python](https://pypi.org/project/PyYAML/) +* [bs4 - Screen-scraping library](https://pypi.org/project/beautifulsoup4/) +* [configparser - Configuration parser library](https://pypi.org/project/configparser/) +* [colorama - Cross-platform colored terminal text](https://pypi.org/project/colorama/) + +### Framework structure + +**ats_utilities** is based on OOP. + + + +🧰 Framework structure + +```bash +ats_utilities/ +├── abstract/ +│ └── __init__.py +├── checker/ +│ └── __init__.py +├── cli/ +│ ├── cfg_cli.py +│ ├── ini_cli.py +│ ├── __init__.py +│ ├── json_cli.py +│ ├── xml_cli.py +│ └── yaml_cli.py +├── config_io/ +│ ├── base_check.py +│ ├── base_read.py +│ ├── base_write.py +│ ├── cfg/ +│ │ ├── cfg2object.py +│ │ ├── __init__.py +│ │ └── object2cfg.py +│ ├── ini/ +│ │ ├── ini2object.py +│ │ ├── __init__.py +│ │ └── object2ini.py +│ ├── __init__.py +│ ├── json/ +│ │ ├── __init__.py +│ │ ├── json2object.py +│ │ └── object2json.py +│ ├── xml/ +│ │ ├── __init__.py +│ │ ├── object2xml.py +│ │ └── xml2object.py +│ └── yaml/ +│ ├── __init__.py +│ ├── object2yaml.py +│ └── yaml2object.py +├── console_io/ +│ ├── error.py +│ ├── __init__.py +│ ├── success.py +│ ├── verbose.py +│ └── warning.py +├── cooperative/ +│ └── __init__.py +├── exceptions/ +│ ├── ats_attribute_error.py +│ ├── ats_bad_call_error.py +│ ├── ats_file_error.py +│ ├── ats_key_error.py +│ ├── ats_lookup_error.py +│ ├── ats_parameter_error.py +│ ├── ats_type_error.py +│ ├── ats_value_error.py +│ └── __init__.py +├── final/ +│ └── __init__.py +├── info/ +│ ├── ats_build_date.py +│ ├── ats_info_ok.py +│ ├── ats_licence.py +│ ├── ats_name.py +│ ├── ats_version.py +│ └── __init__.py +├── __init__.py +├── logging/ +│ ├── ats_logger_file.py +│ ├── ats_logger_name.py +│ ├── ats_logger_status.py +│ └── __init__.py +├── option/ +│ └── __init__.py +├── register/ +│ └── __init__.py +├── singleton/ +│ ├── base.py +│ ├── functional.py +│ ├── __init__.py +│ ├── meta.py +│ └── meta_thread.py +└── splash/ + ├── ext_infrastructure.py + ├── github_infrastructure.py + ├── __init__.py + ├── progress_bar.py + ├── splash_property.py + └── terminal_properties.py + +19 directories, 67 files +``` + +### Docs + +[](https://ats-utilities.readthedocs.io/en/master/?badge=master) + +📗 More documentation and info at + +* [ats-utilities.readthedocs.io](https://ats-utilities.readthedocs.io/en/master/) +* [www.python.org](https://www.python.org/) + +### Contributing + +🌎 🌍 🌏 [Contributing to ats_utilities](CONTRIBUTING.md) + +### Copyright and Licence + +[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0) + +Copyright (C) 2017 by [vroncevic.github.io/ats_utilities](https://vroncevic.github.io/ats_utilities/) + +**ats_utilities** is free software; you can redistribute it and/or modify +it under the same terms as Python itself, either Python version 2.x/3.x or, +at your option, any later version of Python 3 you may have available. + +Lets help and support PSF. + +[](https://www.python.org/psf/) + +[](https://psfmember.org/index.php?q=civicrm/contribute/transact&reset=1&id=2) + + + + +%package -n python3-ats-utilities +Summary: Python App/Tool/Script Utilities +Provides: python-ats-utilities +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ats-utilities +<img align="right" src="https://raw.githubusercontent.com/vroncevic/ats_utilities/dev/docs/ats_utilities_logo.png" width="25%"> + +# ATS Utilities + +☯️ **ats_utilities** is framework for creating Apps/Tools/Scripts. + +Developed in 🐍 **[python](https://www.python.org/)** code. + +[](https://codecov.io/gh/vroncevic/ats_utilities) +[](https://circleci.com/gh/vroncevic/ats_utilities/tree/master) + +The README is used to introduce the modules and provide instructions on +how to install the modules, any machine dependencies it may have and any +other information that should be provided before the modules are installed. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python_checker.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_package_checker.yml) [](https://github.com/vroncevic/ats_utilities/issues) [](https://github.com/vroncevic/ats_utilities/graphs/contributors) + +<!-- START doctoc generated TOC please keep comment here to allow auto update --> +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> +**Table of Contents** + +- [Installation](#installation) + - [Install using pip](#install-using-pip) + - [Install using build](#install-using-build) + - [Install using py setup](#install-using-py-setup) + - [Install using docker](#install-using-docker) +- [Dependencies](#dependencies) +- [Framework structure](#framework-structure) +- [Docs](#docs) +- [Contributing](#contributing) +- [Copyright and Licence](#copyright-and-licence) + +<!-- END doctoc generated TOC please keep comment here to allow auto update --> + +### Installation + +Used next development environment + + + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python2_build.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python3_build.yml) + +Currently there are four ways to install framework +* Install process based on using pip mechanism +* Install process based on build mechanism +* Install process based on setup.py mechanism +* Install process based on docker mechanism + +##### Install using pip + +Python 📦 is located at **[pypi.org](https://pypi.org/project/ats-utilities/)**. + +You can install by using pip + +```bash +# python2 +pip2 install ats-utilities +# python3 +pip3 install ats-utilities +``` + +##### Install using build + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, run + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 -m build --no-isolation --wheel +pip2 install dist/ats-utilities-x.y.z-py2-none-any.whl +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 -m build --no-isolation --wheel +pip3 install dist/ats-utilities-x.y.z-py3-none-any.whl +rm -f get-pip.py +``` + +##### Install using py setup + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, locate and run setup.py with arguments + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 setup.py install_lib +python2 setup.py install_egg_info +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 setup.py install_lib +python3 setup.py install_egg_info +rm -f get-pip.py +``` + +##### Install using docker + +You can use Dockerfile to create image/container 🚢. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_docker_checker.yml) + +### Dependencies + +These modules requires other modules and libraries (Python 2.x/3.x) +* [six - Python 2 and 3 compatibility library](https://pypi.org/project/six) +* [yaml - YAML parser and emitter for Python](https://pypi.org/project/PyYAML/) +* [bs4 - Screen-scraping library](https://pypi.org/project/beautifulsoup4/) +* [configparser - Configuration parser library](https://pypi.org/project/configparser/) +* [colorama - Cross-platform colored terminal text](https://pypi.org/project/colorama/) + +### Framework structure + +**ats_utilities** is based on OOP. + + + +🧰 Framework structure + +```bash +ats_utilities/ +├── abstract/ +│ └── __init__.py +├── checker/ +│ └── __init__.py +├── cli/ +│ ├── cfg_cli.py +│ ├── ini_cli.py +│ ├── __init__.py +│ ├── json_cli.py +│ ├── xml_cli.py +│ └── yaml_cli.py +├── config_io/ +│ ├── base_check.py +│ ├── base_read.py +│ ├── base_write.py +│ ├── cfg/ +│ │ ├── cfg2object.py +│ │ ├── __init__.py +│ │ └── object2cfg.py +│ ├── ini/ +│ │ ├── ini2object.py +│ │ ├── __init__.py +│ │ └── object2ini.py +│ ├── __init__.py +│ ├── json/ +│ │ ├── __init__.py +│ │ ├── json2object.py +│ │ └── object2json.py +│ ├── xml/ +│ │ ├── __init__.py +│ │ ├── object2xml.py +│ │ └── xml2object.py +│ └── yaml/ +│ ├── __init__.py +│ ├── object2yaml.py +│ └── yaml2object.py +├── console_io/ +│ ├── error.py +│ ├── __init__.py +│ ├── success.py +│ ├── verbose.py +│ └── warning.py +├── cooperative/ +│ └── __init__.py +├── exceptions/ +│ ├── ats_attribute_error.py +│ ├── ats_bad_call_error.py +│ ├── ats_file_error.py +│ ├── ats_key_error.py +│ ├── ats_lookup_error.py +│ ├── ats_parameter_error.py +│ ├── ats_type_error.py +│ ├── ats_value_error.py +│ └── __init__.py +├── final/ +│ └── __init__.py +├── info/ +│ ├── ats_build_date.py +│ ├── ats_info_ok.py +│ ├── ats_licence.py +│ ├── ats_name.py +│ ├── ats_version.py +│ └── __init__.py +├── __init__.py +├── logging/ +│ ├── ats_logger_file.py +│ ├── ats_logger_name.py +│ ├── ats_logger_status.py +│ └── __init__.py +├── option/ +│ └── __init__.py +├── register/ +│ └── __init__.py +├── singleton/ +│ ├── base.py +│ ├── functional.py +│ ├── __init__.py +│ ├── meta.py +│ └── meta_thread.py +└── splash/ + ├── ext_infrastructure.py + ├── github_infrastructure.py + ├── __init__.py + ├── progress_bar.py + ├── splash_property.py + └── terminal_properties.py + +19 directories, 67 files +``` + +### Docs + +[](https://ats-utilities.readthedocs.io/en/master/?badge=master) + +📗 More documentation and info at + +* [ats-utilities.readthedocs.io](https://ats-utilities.readthedocs.io/en/master/) +* [www.python.org](https://www.python.org/) + +### Contributing + +🌎 🌍 🌏 [Contributing to ats_utilities](CONTRIBUTING.md) + +### Copyright and Licence + +[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0) + +Copyright (C) 2017 by [vroncevic.github.io/ats_utilities](https://vroncevic.github.io/ats_utilities/) + +**ats_utilities** is free software; you can redistribute it and/or modify +it under the same terms as Python itself, either Python version 2.x/3.x or, +at your option, any later version of Python 3 you may have available. + +Lets help and support PSF. + +[](https://www.python.org/psf/) + +[](https://psfmember.org/index.php?q=civicrm/contribute/transact&reset=1&id=2) + + + + +%package help +Summary: Development documents and examples for ats-utilities +Provides: python3-ats-utilities-doc +%description help +<img align="right" src="https://raw.githubusercontent.com/vroncevic/ats_utilities/dev/docs/ats_utilities_logo.png" width="25%"> + +# ATS Utilities + +☯️ **ats_utilities** is framework for creating Apps/Tools/Scripts. + +Developed in 🐍 **[python](https://www.python.org/)** code. + +[](https://codecov.io/gh/vroncevic/ats_utilities) +[](https://circleci.com/gh/vroncevic/ats_utilities/tree/master) + +The README is used to introduce the modules and provide instructions on +how to install the modules, any machine dependencies it may have and any +other information that should be provided before the modules are installed. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python_checker.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_package_checker.yml) [](https://github.com/vroncevic/ats_utilities/issues) [](https://github.com/vroncevic/ats_utilities/graphs/contributors) + +<!-- START doctoc generated TOC please keep comment here to allow auto update --> +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> +**Table of Contents** + +- [Installation](#installation) + - [Install using pip](#install-using-pip) + - [Install using build](#install-using-build) + - [Install using py setup](#install-using-py-setup) + - [Install using docker](#install-using-docker) +- [Dependencies](#dependencies) +- [Framework structure](#framework-structure) +- [Docs](#docs) +- [Contributing](#contributing) +- [Copyright and Licence](#copyright-and-licence) + +<!-- END doctoc generated TOC please keep comment here to allow auto update --> + +### Installation + +Used next development environment + + + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python2_build.yml) [](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_python3_build.yml) + +Currently there are four ways to install framework +* Install process based on using pip mechanism +* Install process based on build mechanism +* Install process based on setup.py mechanism +* Install process based on docker mechanism + +##### Install using pip + +Python 📦 is located at **[pypi.org](https://pypi.org/project/ats-utilities/)**. + +You can install by using pip + +```bash +# python2 +pip2 install ats-utilities +# python3 +pip3 install ats-utilities +``` + +##### Install using build + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, run + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 -m build --no-isolation --wheel +pip2 install dist/ats-utilities-x.y.z-py2-none-any.whl +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 -m build --no-isolation --wheel +pip3 install dist/ats-utilities-x.y.z-py3-none-any.whl +rm -f get-pip.py +``` + +##### Install using py setup + +Navigate to **[release page](https://github.com/vroncevic/ats_utilities/releases)** download and extract release archive 📦. + +To install **ats-utilities**, locate and run setup.py with arguments + +```bash +tar xvzf ats-utilities-x.y.z.tar.gz +cd ats-utilities-x.y.z +# python2 +wget https://bootstrap.pypa.io/pip/2.7/get-pip.py +python2 get-pip.py +python2 -m pip install --upgrade setuptools +python2 -m pip install --upgrade pip +python2 -m pip install --upgrade build +pip2 install -r requirements.txt +python2 setup.py install_lib +python2 setup.py install_egg_info +rm -f get-pip.py +# python3 +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py +python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade pip +python3 -m pip install --upgrade build +pip3 install -r requirements.txt +python3 setup.py install_lib +python3 setup.py install_egg_info +rm -f get-pip.py +``` + +##### Install using docker + +You can use Dockerfile to create image/container 🚢. + +[](https://github.com/vroncevic/ats_utilities/actions/workflows/ats_utilities_docker_checker.yml) + +### Dependencies + +These modules requires other modules and libraries (Python 2.x/3.x) +* [six - Python 2 and 3 compatibility library](https://pypi.org/project/six) +* [yaml - YAML parser and emitter for Python](https://pypi.org/project/PyYAML/) +* [bs4 - Screen-scraping library](https://pypi.org/project/beautifulsoup4/) +* [configparser - Configuration parser library](https://pypi.org/project/configparser/) +* [colorama - Cross-platform colored terminal text](https://pypi.org/project/colorama/) + +### Framework structure + +**ats_utilities** is based on OOP. + + + +🧰 Framework structure + +```bash +ats_utilities/ +├── abstract/ +│ └── __init__.py +├── checker/ +│ └── __init__.py +├── cli/ +│ ├── cfg_cli.py +│ ├── ini_cli.py +│ ├── __init__.py +│ ├── json_cli.py +│ ├── xml_cli.py +│ └── yaml_cli.py +├── config_io/ +│ ├── base_check.py +│ ├── base_read.py +│ ├── base_write.py +│ ├── cfg/ +│ │ ├── cfg2object.py +│ │ ├── __init__.py +│ │ └── object2cfg.py +│ ├── ini/ +│ │ ├── ini2object.py +│ │ ├── __init__.py +│ │ └── object2ini.py +│ ├── __init__.py +│ ├── json/ +│ │ ├── __init__.py +│ │ ├── json2object.py +│ │ └── object2json.py +│ ├── xml/ +│ │ ├── __init__.py +│ │ ├── object2xml.py +│ │ └── xml2object.py +│ └── yaml/ +│ ├── __init__.py +│ ├── object2yaml.py +│ └── yaml2object.py +├── console_io/ +│ ├── error.py +│ ├── __init__.py +│ ├── success.py +│ ├── verbose.py +│ └── warning.py +├── cooperative/ +│ └── __init__.py +├── exceptions/ +│ ├── ats_attribute_error.py +│ ├── ats_bad_call_error.py +│ ├── ats_file_error.py +│ ├── ats_key_error.py +│ ├── ats_lookup_error.py +│ ├── ats_parameter_error.py +│ ├── ats_type_error.py +│ ├── ats_value_error.py +│ └── __init__.py +├── final/ +│ └── __init__.py +├── info/ +│ ├── ats_build_date.py +│ ├── ats_info_ok.py +│ ├── ats_licence.py +│ ├── ats_name.py +│ ├── ats_version.py +│ └── __init__.py +├── __init__.py +├── logging/ +│ ├── ats_logger_file.py +│ ├── ats_logger_name.py +│ ├── ats_logger_status.py +│ └── __init__.py +├── option/ +│ └── __init__.py +├── register/ +│ └── __init__.py +├── singleton/ +│ ├── base.py +│ ├── functional.py +│ ├── __init__.py +│ ├── meta.py +│ └── meta_thread.py +└── splash/ + ├── ext_infrastructure.py + ├── github_infrastructure.py + ├── __init__.py + ├── progress_bar.py + ├── splash_property.py + └── terminal_properties.py + +19 directories, 67 files +``` + +### Docs + +[](https://ats-utilities.readthedocs.io/en/master/?badge=master) + +📗 More documentation and info at + +* [ats-utilities.readthedocs.io](https://ats-utilities.readthedocs.io/en/master/) +* [www.python.org](https://www.python.org/) + +### Contributing + +🌎 🌍 🌏 [Contributing to ats_utilities](CONTRIBUTING.md) + +### Copyright and Licence + +[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0) + +Copyright (C) 2017 by [vroncevic.github.io/ats_utilities](https://vroncevic.github.io/ats_utilities/) + +**ats_utilities** is free software; you can redistribute it and/or modify +it under the same terms as Python itself, either Python version 2.x/3.x or, +at your option, any later version of Python 3 you may have available. + +Lets help and support PSF. + +[](https://www.python.org/psf/) + +[](https://psfmember.org/index.php?q=civicrm/contribute/transact&reset=1&id=2) + + + + +%prep +%autosetup -n ats-utilities-2.5.5 + +%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-ats-utilities -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.5-1 +- Package Spec generated |
