diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 04:36:55 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 04:36:55 +0000 |
| commit | 972c3cc48c707f9c82fcb463b6ffa80663313ded (patch) | |
| tree | 925333368d03fc11a045acdeb179706144649f53 /python-daschat-base.spec | |
| parent | 5aa1fd965654123492280a766bea914c57d2f5a1 (diff) | |
automatic import of python-daschat-base
Diffstat (limited to 'python-daschat-base.spec')
| -rw-r--r-- | python-daschat-base.spec | 219 |
1 files changed, 219 insertions, 0 deletions
diff --git a/python-daschat-base.spec b/python-daschat-base.spec new file mode 100644 index 0000000..088139b --- /dev/null +++ b/python-daschat-base.spec @@ -0,0 +1,219 @@ +%global _empty_manifest_terminate_build 0 +Name: python-daschat-base +Version: 0.15.10 +Release: 1 +Summary: Base package for Daschat modules. +License: MIT +URL: https://github.com/daschat-io/daschat_base +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/a2/5dac288e35938816395affb2f8be5943757378441617e9f4a9f90f959a7a/daschat_base-0.15.10.tar.gz +BuildArch: noarch + +Requires: python3-cuid +Requires: python3-loguru +Requires: python3-pydantic + +%description +# daschat-handsoff-base + +Base package for the development of integration modules with chat applications for the handsoff of conversations. + + +<p align="center"> +<a href="https://www.python.org/"> + <img src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg" + alt = "Made with Python"> +</a> + +<a href="https://pypi.python.org/pypi/daschat_base"> + <img src="https://img.shields.io/pypi/v/daschat_base.svg" + alt = "Release Status"> +</a> + +<a href="https://github.com/daschat-io/daschat_base/actions"> + <img src="https://github.com/daschat-io/daschat_base/actions/workflows/main.yml/badge.svg?branch=release" alt="CI Status"> +</a> + +<!-- <a href="https://daschat-handsoff-base.readthedocs.io/en/latest/?badge=latest"> + <img src="https://readthedocs.org/projects/daschat-base/badge/?version=latest" alt="Documentation Status"> +</a> --> + +</p> + +## Features + +* Free software: MIT +* Documentation: <https://daschat-io.github.io/daschat_base/> + + +## Enabling Python versions + +Install Python versions using `pyenv` and enable all versions to be used with `tox`: + +``` console +$ pyenv install 3.8.10 3.9.5 +$ pyenv shell 3.8.10 3.9.5 +$ pyenv local 3.8.10 +``` + +## Acknowledgements + + - [Cookiecutter](https://github.com/audreyr/cookiecutter) + - [zillionare/cookiecutter-pypackage](https://github.com/zillionare/cookiecutter-pypackage) + - [Naereen/badges](https://github.com/Naereen/badges) + + + +%package -n python3-daschat-base +Summary: Base package for Daschat modules. +Provides: python-daschat-base +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-daschat-base +# daschat-handsoff-base + +Base package for the development of integration modules with chat applications for the handsoff of conversations. + + +<p align="center"> +<a href="https://www.python.org/"> + <img src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg" + alt = "Made with Python"> +</a> + +<a href="https://pypi.python.org/pypi/daschat_base"> + <img src="https://img.shields.io/pypi/v/daschat_base.svg" + alt = "Release Status"> +</a> + +<a href="https://github.com/daschat-io/daschat_base/actions"> + <img src="https://github.com/daschat-io/daschat_base/actions/workflows/main.yml/badge.svg?branch=release" alt="CI Status"> +</a> + +<!-- <a href="https://daschat-handsoff-base.readthedocs.io/en/latest/?badge=latest"> + <img src="https://readthedocs.org/projects/daschat-base/badge/?version=latest" alt="Documentation Status"> +</a> --> + +</p> + +## Features + +* Free software: MIT +* Documentation: <https://daschat-io.github.io/daschat_base/> + + +## Enabling Python versions + +Install Python versions using `pyenv` and enable all versions to be used with `tox`: + +``` console +$ pyenv install 3.8.10 3.9.5 +$ pyenv shell 3.8.10 3.9.5 +$ pyenv local 3.8.10 +``` + +## Acknowledgements + + - [Cookiecutter](https://github.com/audreyr/cookiecutter) + - [zillionare/cookiecutter-pypackage](https://github.com/zillionare/cookiecutter-pypackage) + - [Naereen/badges](https://github.com/Naereen/badges) + + + +%package help +Summary: Development documents and examples for daschat-base +Provides: python3-daschat-base-doc +%description help +# daschat-handsoff-base + +Base package for the development of integration modules with chat applications for the handsoff of conversations. + + +<p align="center"> +<a href="https://www.python.org/"> + <img src="https://img.shields.io/badge/Made%20with-Python-1f425f.svg" + alt = "Made with Python"> +</a> + +<a href="https://pypi.python.org/pypi/daschat_base"> + <img src="https://img.shields.io/pypi/v/daschat_base.svg" + alt = "Release Status"> +</a> + +<a href="https://github.com/daschat-io/daschat_base/actions"> + <img src="https://github.com/daschat-io/daschat_base/actions/workflows/main.yml/badge.svg?branch=release" alt="CI Status"> +</a> + +<!-- <a href="https://daschat-handsoff-base.readthedocs.io/en/latest/?badge=latest"> + <img src="https://readthedocs.org/projects/daschat-base/badge/?version=latest" alt="Documentation Status"> +</a> --> + +</p> + +## Features + +* Free software: MIT +* Documentation: <https://daschat-io.github.io/daschat_base/> + + +## Enabling Python versions + +Install Python versions using `pyenv` and enable all versions to be used with `tox`: + +``` console +$ pyenv install 3.8.10 3.9.5 +$ pyenv shell 3.8.10 3.9.5 +$ pyenv local 3.8.10 +``` + +## Acknowledgements + + - [Cookiecutter](https://github.com/audreyr/cookiecutter) + - [zillionare/cookiecutter-pypackage](https://github.com/zillionare/cookiecutter-pypackage) + - [Naereen/badges](https://github.com/Naereen/badges) + + + +%prep +%autosetup -n daschat-base-0.15.10 + +%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-daschat-base -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.10-1 +- Package Spec generated |
