From 6918c38d1751c8d417f12a32dbe386b200f023b1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 00:15:48 +0000 Subject: automatic import of python-tbm-utils --- python-tbm-utils.spec | 218 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) create mode 100644 python-tbm-utils.spec (limited to 'python-tbm-utils.spec') diff --git a/python-tbm-utils.spec b/python-tbm-utils.spec new file mode 100644 index 0000000..c8fac72 --- /dev/null +++ b/python-tbm-utils.spec @@ -0,0 +1,218 @@ +%global _empty_manifest_terminate_build 0 +Name: python-tbm-utils +Version: 2.6.0 +Release: 1 +Summary: A commonly-used set of utilities used by me (thebigmunch). +License: MIT +URL: https://github.com/thebigmunch/tbm-utils +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/5e/2885c4f941d1d76f058994004d65c414ea74f354204670d3a2fc0288a049/tbm-utils-2.6.0.tar.gz +BuildArch: noarch + +Requires: python3-attrs +Requires: python3-pendulum +Requires: python3-pprintpp +Requires: python3-wrapt +Requires: python3-coverage[toml] +Requires: python3-flake8 +Requires: python3-flake8-builtins +Requires: python3-flake8-comprehensions +Requires: python3-flake8-import-order +Requires: python3-flake8-import-order-tbm +Requires: python3-nox +Requires: python3-pytest +Requires: python3-sphinx +Requires: python3-sphinx-material + +%description +# tbm-utils.py + +[![PyPI](https://img.shields.io/pypi/v/tbm-utils.svg?label=PyPI)](https://pypi.org/project/tbm-utils/) +![](https://img.shields.io/badge/Python-3.6%2B-blue.svg) +[![GitHub CI](https://img.shields.io/github/workflow/status/thebigmunch/tbm-utils/CI?label=GitHub%20CI)](https://github.com/thebigmunch/tbm-utils/actions?query=workflow%3ACI) +[![Codecov](https://img.shields.io/codecov/c/github/thebigmunch/tbm-utils.svg?label=Codecov)](https://codecov.io/gh/thebigmunch/tbm-utils) +[![Docs - Stable](https://img.shields.io/readthedocs/tbm-utils/stable.svg?label=Docs%20%28Stable%29)](https://tbm-utils.readthedocs.io/en/stable/) +[![Docs - Latest](https://img.shields.io/readthedocs/tbm-utils/latest.svg?label=Docs%20%28Latest%29)](https://tbm-utils.readthedocs.io/en/latest/) + +[tbm-utils](https://github.com/thebigmunch/tbm-utils) is a commonly-used set of utilities used by me (thebigmunch). + + +## Installation + +``pip install -U tbm-utils`` + + +## Usage + +For the release version, see the [stable docs](https://tbm-utils.readthedocs.io/en/stable/). +For the development version, see the [latest docs](https://tbm-utils.readthedocs.io/en/latest/). + + +## Appreciation + +Showing appreciation is always welcome. + +#### Thank + +[![Say Thanks](https://img.shields.io/badge/thank-thebigmunch-blue.svg?style=flat-square)](https://saythanks.io/to/thebigmunch) + +Get your own thanks inbox at [SayThanks.io](https://saythanks.io/). + +#### Contribute + +[Contribute](https://github.com/thebigmunch/tbm-utils/blob/master/.github/CONTRIBUTING.md) by submitting bug reports, feature requests, or code. + +#### Help Others/Stay Informed + +[Discourse forum](https://forum.thebigmunch.me/) + +#### Referrals/Donations + +[![Digital Ocean](https://img.shields.io/badge/Digital_Ocean-referral-orange.svg?style=flat-square)](https://bit.ly/DigitalOcean-tbm-referral) [![Namecheap](https://img.shields.io/badge/Namecheap-referral-orange.svg?style=flat-square)](http://bit.ly/Namecheap-tbm-referral) [![PayPal](https://img.shields.io/badge/PayPal-donate-brightgreen.svg?style=flat-square)](https://bit.ly/PayPal-thebigmunch) + + +%package -n python3-tbm-utils +Summary: A commonly-used set of utilities used by me (thebigmunch). +Provides: python-tbm-utils +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-tbm-utils +# tbm-utils.py + +[![PyPI](https://img.shields.io/pypi/v/tbm-utils.svg?label=PyPI)](https://pypi.org/project/tbm-utils/) +![](https://img.shields.io/badge/Python-3.6%2B-blue.svg) +[![GitHub CI](https://img.shields.io/github/workflow/status/thebigmunch/tbm-utils/CI?label=GitHub%20CI)](https://github.com/thebigmunch/tbm-utils/actions?query=workflow%3ACI) +[![Codecov](https://img.shields.io/codecov/c/github/thebigmunch/tbm-utils.svg?label=Codecov)](https://codecov.io/gh/thebigmunch/tbm-utils) +[![Docs - Stable](https://img.shields.io/readthedocs/tbm-utils/stable.svg?label=Docs%20%28Stable%29)](https://tbm-utils.readthedocs.io/en/stable/) +[![Docs - Latest](https://img.shields.io/readthedocs/tbm-utils/latest.svg?label=Docs%20%28Latest%29)](https://tbm-utils.readthedocs.io/en/latest/) + +[tbm-utils](https://github.com/thebigmunch/tbm-utils) is a commonly-used set of utilities used by me (thebigmunch). + + +## Installation + +``pip install -U tbm-utils`` + + +## Usage + +For the release version, see the [stable docs](https://tbm-utils.readthedocs.io/en/stable/). +For the development version, see the [latest docs](https://tbm-utils.readthedocs.io/en/latest/). + + +## Appreciation + +Showing appreciation is always welcome. + +#### Thank + +[![Say Thanks](https://img.shields.io/badge/thank-thebigmunch-blue.svg?style=flat-square)](https://saythanks.io/to/thebigmunch) + +Get your own thanks inbox at [SayThanks.io](https://saythanks.io/). + +#### Contribute + +[Contribute](https://github.com/thebigmunch/tbm-utils/blob/master/.github/CONTRIBUTING.md) by submitting bug reports, feature requests, or code. + +#### Help Others/Stay Informed + +[Discourse forum](https://forum.thebigmunch.me/) + +#### Referrals/Donations + +[![Digital Ocean](https://img.shields.io/badge/Digital_Ocean-referral-orange.svg?style=flat-square)](https://bit.ly/DigitalOcean-tbm-referral) [![Namecheap](https://img.shields.io/badge/Namecheap-referral-orange.svg?style=flat-square)](http://bit.ly/Namecheap-tbm-referral) [![PayPal](https://img.shields.io/badge/PayPal-donate-brightgreen.svg?style=flat-square)](https://bit.ly/PayPal-thebigmunch) + + +%package help +Summary: Development documents and examples for tbm-utils +Provides: python3-tbm-utils-doc +%description help +# tbm-utils.py + +[![PyPI](https://img.shields.io/pypi/v/tbm-utils.svg?label=PyPI)](https://pypi.org/project/tbm-utils/) +![](https://img.shields.io/badge/Python-3.6%2B-blue.svg) +[![GitHub CI](https://img.shields.io/github/workflow/status/thebigmunch/tbm-utils/CI?label=GitHub%20CI)](https://github.com/thebigmunch/tbm-utils/actions?query=workflow%3ACI) +[![Codecov](https://img.shields.io/codecov/c/github/thebigmunch/tbm-utils.svg?label=Codecov)](https://codecov.io/gh/thebigmunch/tbm-utils) +[![Docs - Stable](https://img.shields.io/readthedocs/tbm-utils/stable.svg?label=Docs%20%28Stable%29)](https://tbm-utils.readthedocs.io/en/stable/) +[![Docs - Latest](https://img.shields.io/readthedocs/tbm-utils/latest.svg?label=Docs%20%28Latest%29)](https://tbm-utils.readthedocs.io/en/latest/) + +[tbm-utils](https://github.com/thebigmunch/tbm-utils) is a commonly-used set of utilities used by me (thebigmunch). + + +## Installation + +``pip install -U tbm-utils`` + + +## Usage + +For the release version, see the [stable docs](https://tbm-utils.readthedocs.io/en/stable/). +For the development version, see the [latest docs](https://tbm-utils.readthedocs.io/en/latest/). + + +## Appreciation + +Showing appreciation is always welcome. + +#### Thank + +[![Say Thanks](https://img.shields.io/badge/thank-thebigmunch-blue.svg?style=flat-square)](https://saythanks.io/to/thebigmunch) + +Get your own thanks inbox at [SayThanks.io](https://saythanks.io/). + +#### Contribute + +[Contribute](https://github.com/thebigmunch/tbm-utils/blob/master/.github/CONTRIBUTING.md) by submitting bug reports, feature requests, or code. + +#### Help Others/Stay Informed + +[Discourse forum](https://forum.thebigmunch.me/) + +#### Referrals/Donations + +[![Digital Ocean](https://img.shields.io/badge/Digital_Ocean-referral-orange.svg?style=flat-square)](https://bit.ly/DigitalOcean-tbm-referral) [![Namecheap](https://img.shields.io/badge/Namecheap-referral-orange.svg?style=flat-square)](http://bit.ly/Namecheap-tbm-referral) [![PayPal](https://img.shields.io/badge/PayPal-donate-brightgreen.svg?style=flat-square)](https://bit.ly/PayPal-thebigmunch) + + +%prep +%autosetup -n tbm-utils-2.6.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-tbm-utils -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 2.6.0-1 +- Package Spec generated -- cgit v1.2.3