summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 13:39:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 13:39:02 +0000
commitccbdd23b5610d777a80e0c552ac20110b1c1b171 (patch)
treeb2e27e02d293518f65721adf9fe5b5133da51c75
parent5da4db0fc272e963666d50fbbf63686c58f95353 (diff)
automatic import of python-libtmux
-rw-r--r--.gitignore1
-rw-r--r--python-libtmux.spec177
-rw-r--r--sources1
3 files changed, 179 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cf60c0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libtmux-0.21.0.tar.gz
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 <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/libtmux>
+- Docs: <https://libtmux.git-pull.com>
+- API: <https://libtmux.git-pull.com/api.html>
+- Changelog: <https://libtmux.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/libtmux/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/libtmux>
+- pypi: <https://pypi.python.org/pypi/libtmux>
+- Open Hub: <https://www.openhub.net/p/libtmux-python>
+- Repology: <https://repology.org/project/python:libtmux/versions>
+- 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 <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/libtmux>
+- Docs: <https://libtmux.git-pull.com>
+- API: <https://libtmux.git-pull.com/api.html>
+- Changelog: <https://libtmux.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/libtmux/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/libtmux>
+- pypi: <https://pypi.python.org/pypi/libtmux>
+- Open Hub: <https://www.openhub.net/p/libtmux-python>
+- Repology: <https://repology.org/project/python:libtmux/versions>
+- 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 <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/libtmux>
+- Docs: <https://libtmux.git-pull.com>
+- API: <https://libtmux.git-pull.com/api.html>
+- Changelog: <https://libtmux.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/libtmux/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/libtmux>
+- pypi: <https://pypi.python.org/pypi/libtmux>
+- Open Hub: <https://www.openhub.net/p/libtmux-python>
+- Repology: <https://repology.org/project/python:libtmux/versions>
+- 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 <Python_Bot@openeuler.org> - 0.21.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..38983c1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a042356292e23b0714d3e0cdb32d3076 libtmux-0.21.0.tar.gz