From ccbdd23b5610d777a80e0c552ac20110b1c1b171 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 13:39:02 +0000 Subject: automatic import of python-libtmux --- python-libtmux.spec | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 python-libtmux.spec (limited to 'python-libtmux.spec') diff --git a/python-libtmux.spec b/python-libtmux.spec new file mode 100644 index 0000000..c104971 --- /dev/null +++ b/python-libtmux.spec @@ -0,0 +1,177 @@ +%global _empty_manifest_terminate_build 0 +Name: python-libtmux +Version: 0.21.0 +Release: 1 +Summary: Typed scripting library / ORM / API wrapper for tmux +License: MIT +URL: http://github.com/tmux-python/libtmux/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/cc/aafedc34ef147795a3f044b12c169301d3cb8e5ff046901ca8237d4fa3d6/libtmux-0.21.0.tar.gz +BuildArch: noarch + + +%description + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || +``` +Traverse and navigate: +```python +>>> pane.window +Window(@1 1:..., Session($1 ...)) +>>> pane.window.session +Session($1 ...) +``` +# Python support +Unsupported / no security releases or bug fixes: +- Python 2.x: The backports branch is + [`v0.8.x`](https://github.com/tmux-python/libtmux/tree/v0.8.x). +# Donations +Your donations fund development of new features, testing and support. +Your money will go directly to maintenance and development of the +project. If you are an individual, feel free to give whatever feels +right for the value you get out of the project. +See donation options at . +# Project details +- tmux support: 1.8+ +- python support: >= 3.7, pypy, pypy3 +- Source: +- Docs: +- API: +- Changelog: +- Issues: +- Test Coverage: +- pypi: +- Open Hub: +- Repology: +- License: [MIT](http://opensource.org/licenses/MIT). + +%package -n python3-libtmux +Summary: Typed scripting library / ORM / API wrapper for tmux +Provides: python-libtmux +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-libtmux + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || +``` +Traverse and navigate: +```python +>>> pane.window +Window(@1 1:..., Session($1 ...)) +>>> pane.window.session +Session($1 ...) +``` +# Python support +Unsupported / no security releases or bug fixes: +- Python 2.x: The backports branch is + [`v0.8.x`](https://github.com/tmux-python/libtmux/tree/v0.8.x). +# Donations +Your donations fund development of new features, testing and support. +Your money will go directly to maintenance and development of the +project. If you are an individual, feel free to give whatever feels +right for the value you get out of the project. +See donation options at . +# Project details +- tmux support: 1.8+ +- python support: >= 3.7, pypy, pypy3 +- Source: +- Docs: +- API: +- Changelog: +- Issues: +- Test Coverage: +- pypi: +- Open Hub: +- Repology: +- License: [MIT](http://opensource.org/licenses/MIT). + +%package help +Summary: Development documents and examples for libtmux +Provides: python3-libtmux-doc +%description help + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || +``` +Traverse and navigate: +```python +>>> pane.window +Window(@1 1:..., Session($1 ...)) +>>> pane.window.session +Session($1 ...) +``` +# Python support +Unsupported / no security releases or bug fixes: +- Python 2.x: The backports branch is + [`v0.8.x`](https://github.com/tmux-python/libtmux/tree/v0.8.x). +# Donations +Your donations fund development of new features, testing and support. +Your money will go directly to maintenance and development of the +project. If you are an individual, feel free to give whatever feels +right for the value you get out of the project. +See donation options at . +# Project details +- tmux support: 1.8+ +- python support: >= 3.7, pypy, pypy3 +- Source: +- Docs: +- API: +- Changelog: +- Issues: +- Test Coverage: +- pypi: +- Open Hub: +- Repology: +- License: [MIT](http://opensource.org/licenses/MIT). + +%prep +%autosetup -n libtmux-0.21.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-libtmux -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot - 0.21.0-1 +- Package Spec generated -- cgit v1.2.3