From 3cee700aa47efb2d883c0c60a3c77032640c3afa Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 18:41:14 +0000 Subject: automatic import of python-tendo --- .gitignore | 1 + python-tendo.spec | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 160 insertions(+) create mode 100644 python-tendo.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7a77fd2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/tendo-0.3.0.tar.gz diff --git a/python-tendo.spec b/python-tendo.spec new file mode 100644 index 0000000..52144c6 --- /dev/null +++ b/python-tendo.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-tendo +Version: 0.3.0 +Release: 1 +Summary: A Python library that extends some core functionality +License: Python Software Foundation License +URL: https://github.com/pycontribs/tendo +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/a1/714b2bee108ccfdc160d74ca81459feb8d08753921200637f890eab79545/tendo-0.3.0.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-Sphinx +Requires: python3-docutils +Requires: python3-MarkupSafe +Requires: python3-coverage[toml] +Requires: python3-coveralls +Requires: python3-pre-commit +Requires: python3-pytest-cache +Requires: python3-pytest-cov +Requires: python3-pytest-html +Requires: python3-pytest-instafail +Requires: python3-pytest-xdist +Requires: python3-pytest +Requires: python3-wheel + +%description +[![](https://img.shields.io/pypi/v/tendo.svg?colorB=green)](https://pypi.python.org/pypi/tendo/) +[![](https://img.shields.io/codecov/c/github/pycontribs/tendo/main.svg)](https://codecov.io/gh/pycontribs/tendo) +[![](https://readthedocs.org/projects/tendo/badge/?version=latest)](http://tendo.readthedocs.io) + +# tendo + +Tendo is a python module that adds basic functionality that is +not provided by Python. Read the [documentation](https://tendo.readthedocs.org/en/latest/) for more info. + +- [transparent Unicode support for text file operations (BOM detection)](https://tendo.readthedocs.org/en/latest/#module-tendo.singleton) +- [console logging coloring](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) +- enable you to use symlinks under windows +- [python tee implementation](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) for executing external programs and redirecting their output to both console/file +- [improved execfile](https://tendo.readthedocs.org/en/latest/#module-tendo.execfile2) + +## Requirements and compatibility + +- python 3.6 or newer +- tox for running tests + +## Related projects and packages + +- jaraco - http://pypi.python.org/pypi/jaraco.util +- pexpect (maybe) + + +%package -n python3-tendo +Summary: A Python library that extends some core functionality +Provides: python-tendo +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-tendo +[![](https://img.shields.io/pypi/v/tendo.svg?colorB=green)](https://pypi.python.org/pypi/tendo/) +[![](https://img.shields.io/codecov/c/github/pycontribs/tendo/main.svg)](https://codecov.io/gh/pycontribs/tendo) +[![](https://readthedocs.org/projects/tendo/badge/?version=latest)](http://tendo.readthedocs.io) + +# tendo + +Tendo is a python module that adds basic functionality that is +not provided by Python. Read the [documentation](https://tendo.readthedocs.org/en/latest/) for more info. + +- [transparent Unicode support for text file operations (BOM detection)](https://tendo.readthedocs.org/en/latest/#module-tendo.singleton) +- [console logging coloring](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) +- enable you to use symlinks under windows +- [python tee implementation](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) for executing external programs and redirecting their output to both console/file +- [improved execfile](https://tendo.readthedocs.org/en/latest/#module-tendo.execfile2) + +## Requirements and compatibility + +- python 3.6 or newer +- tox for running tests + +## Related projects and packages + +- jaraco - http://pypi.python.org/pypi/jaraco.util +- pexpect (maybe) + + +%package help +Summary: Development documents and examples for tendo +Provides: python3-tendo-doc +%description help +[![](https://img.shields.io/pypi/v/tendo.svg?colorB=green)](https://pypi.python.org/pypi/tendo/) +[![](https://img.shields.io/codecov/c/github/pycontribs/tendo/main.svg)](https://codecov.io/gh/pycontribs/tendo) +[![](https://readthedocs.org/projects/tendo/badge/?version=latest)](http://tendo.readthedocs.io) + +# tendo + +Tendo is a python module that adds basic functionality that is +not provided by Python. Read the [documentation](https://tendo.readthedocs.org/en/latest/) for more info. + +- [transparent Unicode support for text file operations (BOM detection)](https://tendo.readthedocs.org/en/latest/#module-tendo.singleton) +- [console logging coloring](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) +- enable you to use symlinks under windows +- [python tee implementation](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) for executing external programs and redirecting their output to both console/file +- [improved execfile](https://tendo.readthedocs.org/en/latest/#module-tendo.execfile2) + +## Requirements and compatibility + +- python 3.6 or newer +- tox for running tests + +## Related projects and packages + +- jaraco - http://pypi.python.org/pypi/jaraco.util +- pexpect (maybe) + + +%prep +%autosetup -n tendo-0.3.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-tendo -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.3.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c57e0a3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7266b0b1dc4f537d25caf03f9cc1d698 tendo-0.3.0.tar.gz -- cgit v1.2.3