[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2022-12-02 Thread Michał Górny
commit: 52e383ef31529fef8a5b78e460ff899c89e69a8b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec  2 15:07:04 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec  2 15:23:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e383ef

app-misc/tmuxp: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/tmuxp/Manifest  |  1 -
 app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch | 14 -
 app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch | 13 -
 app-misc/tmuxp/tmuxp-1.13.0.ebuild   | 43 
 4 files changed, 71 deletions(-)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index a0cadc1987a8..22302e96d91d 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -1,3 +1,2 @@
-DIST tmuxp-1.13.0.tar.gz 833657 BLAKE2B 
5938121b2951b735e52eb7361a83dace4327b120ea7bb8217a5e4c32488e8cd93074b8993068b1d5d87d79df16c2f1e3d254d010b5c2836f435ed887349a010f
 SHA512 
21a5a9fb21e30d5022d6aa6257dd9eb2977574e16e9b8ea0a3af8af4d55f69d4f6a3730ca9fc5e9a4e0b6194922d73717154cc55b808e71714570326cc7f27a9
 DIST tmuxp-1.15.0.tar.gz 842727 BLAKE2B 
7e0e68ae848fdefab46a936511f57a9927b28a220e1dadb8b2531cd26a2cb6cbb7f1fd3a3a279f624a3ac8cebfeb434582cf48803d3c8bbf14b1c6960b5f2ef7
 SHA512 
4c9c72ddeea283ee4d0595d099dfdc178b3fdd96691ae1b02e9867096f770b4339e1f60abea985a05b974d3d620addd8b571c05db7d2914e8736322e5cf19fb6
 DIST tmuxp-1.18.2.tar.gz 853145 BLAKE2B 
4fc3e825474bccce9f78072e1c3545b7c8eeb40e0d23265901062a00f7434506a84db0414637d18c57e84f4e3b37978c890e01a786d6f1edda87af806c2b298d
 SHA512 
c599dac5b54627342424b2ef7721f47c57c2d271698b007ffb7de972a3a7683c0bd7ea76d2a7e4c168e8a412a03171dd5f53422a3e2d858f7dfc746fa7946be8

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
deleted file mode 100644
index 6b51e4de8ce4..
--- a/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/tests/test_cli.py b/tests/test_cli.py
-index bfd2345..f55910c 100644
 a/tests/test_cli.py
-+++ b/tests/test_cli.py
-@@ -16,6 +16,9 @@ import click
- import kaptan
- from click.testing import CliRunner
- 
-+import sys
-+import pathlib
-+sys.path.extend([str(p) for p in pathlib.Path(__file__, '..', 
'fixtures/pluginsystem/plugins').resolve().iterdir() if p.is_dir()])
- import libtmux
- from libtmux.common import has_lt_version
- from libtmux.exc import LibTmuxException

diff --git a/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch
deleted file mode 100644
index 3329c547489f..
--- a/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tests/test_workspacebuilder.py b/tests/test_workspacebuilder.py
-index e85b409..22368b1 100644
 a/tests/test_workspacebuilder.py
-+++ b/tests/test_workspacebuilder.py
-@@ -343,7 +343,7 @@ def test_environment_variables(session):
- assert session.show_environment('FOO') == 'BAR'
- assert session.show_environment('PATH') == '/tmp'
- 
--
-+@pytest.mark.skip("hangs indefinitely")
- def test_automatic_rename_option(session):
- """With option automatic-rename: on."""
- yaml_config = loadfixture("workspacebuilder/window_automatic_rename.yaml")

diff --git a/app-misc/tmuxp/tmuxp-1.13.0.ebuild 
b/app-misc/tmuxp/tmuxp-1.13.0.ebuild
deleted file mode 100644
index 0c48179e4fe1..
--- a/app-misc/tmuxp/tmuxp-1.13.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1
-
-DESCRIPTION="tmux session manager. built on libtmux"
-HOMEPAGE="https://tmuxp.git-pull.com;
-SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-
-RDEPEND="
-   >=app-misc/tmux-3.0a
-   >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
-   =dev-python/libtmux-0.14*[${PYTHON_USEDEP}]
-   >=dev-python/click-8.0[${PYTHON_USEDEP}]
-   >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
-   dev-python/pathspec[${PYTHON_USEDEP}]
-   >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
-   !dev-python/flaky
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/tmuxp-1.7.2-tests.patch"
-   "${FILESDIR}/tmuxp-1.9.2-tests.patch"
-)
-
-distutils_enable_tests pytest
-
-python_test() {
-   SHELL="/bin/bash" epytest
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/

2022-05-26 Thread Conrad Kostecki
commit: d3c46aa6e56fd2a54fc23d8bfa5346a9f223e638
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu May 26 18:08:53 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu May 26 20:30:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c46aa6

app-misc/tmuxp: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25647
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch | 10 --
 1 file changed, 10 deletions(-)

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
deleted file mode 100644
index e3f5772e92b3..
--- a/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/requirements/base.txt b/requirements/base.txt
-index fb2ab61..17e3516 100644
 a/requirements/base.txt
-+++ b/requirements/base.txt
-@@ -1,4 +1,4 @@
- kaptan>=0.5.10
- libtmux>=0.8,<0.9
--click>=7,<8
-+click>=7
- colorama>=0.3.9



[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2022-05-07 Thread Patrick McLean
commit: 219fc99a8440ce01bbc8f80084ed9969db1eadb7
Author: Patrick McLean  gentoo  org>
AuthorDate: Sun May  8 03:55:34 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sun May  8 03:56:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=219fc99a

Revert "app-misc/tmuxp: drop 1.5.4, 1.6.5, 1.7.2-r1, 1.8.2, 1.9.2"

This reverts commit 8c66c0d2a250749c491f6978365f5c5bcbe4b9bc.

Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest|  5 +++
 .../tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch  | 10 +
 .../tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch  | 10 +
 app-misc/tmuxp/tmuxp-1.5.4.ebuild  | 38 ++
 app-misc/tmuxp/tmuxp-1.6.5.ebuild  | 45 ++
 app-misc/tmuxp/tmuxp-1.7.2-r1.ebuild   | 43 +
 app-misc/tmuxp/tmuxp-1.8.2.ebuild  | 43 +
 app-misc/tmuxp/tmuxp-1.9.2.ebuild  | 43 +
 8 files changed, 237 insertions(+)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index 9be8bb7ef18a..fccaf07461be 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -1 +1,6 @@
+DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 
863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621
 SHA512 
f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
+DIST tmuxp-1.6.5.tar.gz 1017117 BLAKE2B 
4cc8955f9dcfffd237ffde3e7487496aaf85dd886fd124ad76d61e10fa64f90bac79cc4df9aac63122446b7a4727b01ceaea502d7bbe5f5ba7f68e89bbb86feb
 SHA512 
9095c196f20b537662ffa9d819c675e325fda7f49fb3fd9811f00fc1e1c763b7ea29cdd500bb7d775d1673ab2fc1386f662a2ff6744ffcd2b7aaab13a014cce3
+DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 
2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a
 SHA512 
2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8
+DIST tmuxp-1.8.2.tar.gz 1019801 BLAKE2B 
1e02139df6cc5ee0aec31e3a39413297195b6951a9acaa487a8f705f7f28b79ece0e5388284d017dbf45744540eecb0809e4a7e668f91b824aa0e4adcd64bcf8
 SHA512 
b6993be72bdab1ef469dbf43d056fbd812612437716af8a4c2e803a55f7ad803246789ccb0b3cafa5ad9047ae86426b4aede27480f20f6d3593d9bf737b74323
+DIST tmuxp-1.9.2.tar.gz 816621 BLAKE2B 
f471ba2b7a6f97b123661ca2473c63273dc79b08cbe25f4ea756d174ab58e5070d0fc2dfbe8ec254785946e2fa139121d2e9fa5d7d5c127c18580e514064523d
 SHA512 
e4af94fde475c999cee5aa6ad4b60a05c3a9f6f338290406043544250c4dcf688bc39e501631f442b59009156e04eb383098ea717fe7be8e9811b44886515935
 DIST tmuxp-1.9.4.tar.gz 821650 BLAKE2B 
34454919e811bc4901dcb570046b45d481934ab36f9b8f50753972fe6545ca9e487b2f04ee818c4b54eea01181c62efb1f5262ab033f2fc92c3cee3828d16bf4
 SHA512 
ecf113011231a03998b3be2d146f7e6c6cc2ccfc36af59b88d51e09726259c92dc4360bde569fba13ca8d81eb9639f85b45cd5f4b50d70d347e3237e396ea446

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
new file mode 100644
index ..e3f5772e92b3
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
@@ -0,0 +1,10 @@
+diff --git a/requirements/base.txt b/requirements/base.txt
+index fb2ab61..17e3516 100644
+--- a/requirements/base.txt
 b/requirements/base.txt
+@@ -1,4 +1,4 @@
+ kaptan>=0.5.10
+ libtmux>=0.8,<0.9
+-click>=7,<8
++click>=7
+ colorama>=0.3.9

diff --git a/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
new file mode 100644
index ..f4c2be80d2dc
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
@@ -0,0 +1,10 @@
+diff --git a/requirements/base.txt b/requirements/base.txt
+index 4b713f1..3ca88e5 100644
+--- a/requirements/base.txt
 b/requirements/base.txt
+@@ -1,4 +1,4 @@
+ kaptan>=0.5.10
+ libtmux>=0.10.1,<0.11
+-click>=7,<8.1
++click>=7
+ colorama>=0.3.9

diff --git a/app-misc/tmuxp/tmuxp-1.5.4.ebuild 
b/app-misc/tmuxp/tmuxp-1.5.4.ebuild
new file mode 100644
index ..55ec6ede123b
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.5.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="tmux session manager. built on libtmux"
+HOMEPAGE="https://tmuxp.git-pull.com;
+SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/kaptan[${PYTHON_USEDEP}]
+   >=dev-python/libtmux-0.8[${PYTHON_USEDEP}]
+   =dev-python/click-7.0[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2022-05-07 Thread Patrick McLean
commit: 8c66c0d2a250749c491f6978365f5c5bcbe4b9bc
Author: Patrick McLean  gentoo  org>
AuthorDate: Sun May  8 03:54:21 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sun May  8 03:54:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c66c0d2

app-misc/tmuxp: drop 1.5.4, 1.6.5, 1.7.2-r1, 1.8.2, 1.9.2

Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest|  5 ---
 .../tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch  | 10 -
 .../tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch  | 10 -
 app-misc/tmuxp/tmuxp-1.5.4.ebuild  | 38 --
 app-misc/tmuxp/tmuxp-1.6.5.ebuild  | 45 --
 app-misc/tmuxp/tmuxp-1.7.2-r1.ebuild   | 43 -
 app-misc/tmuxp/tmuxp-1.8.2.ebuild  | 43 -
 app-misc/tmuxp/tmuxp-1.9.2.ebuild  | 43 -
 8 files changed, 237 deletions(-)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index fccaf07461be..9be8bb7ef18a 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -1,6 +1 @@
-DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 
863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621
 SHA512 
f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
-DIST tmuxp-1.6.5.tar.gz 1017117 BLAKE2B 
4cc8955f9dcfffd237ffde3e7487496aaf85dd886fd124ad76d61e10fa64f90bac79cc4df9aac63122446b7a4727b01ceaea502d7bbe5f5ba7f68e89bbb86feb
 SHA512 
9095c196f20b537662ffa9d819c675e325fda7f49fb3fd9811f00fc1e1c763b7ea29cdd500bb7d775d1673ab2fc1386f662a2ff6744ffcd2b7aaab13a014cce3
-DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 
2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a
 SHA512 
2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8
-DIST tmuxp-1.8.2.tar.gz 1019801 BLAKE2B 
1e02139df6cc5ee0aec31e3a39413297195b6951a9acaa487a8f705f7f28b79ece0e5388284d017dbf45744540eecb0809e4a7e668f91b824aa0e4adcd64bcf8
 SHA512 
b6993be72bdab1ef469dbf43d056fbd812612437716af8a4c2e803a55f7ad803246789ccb0b3cafa5ad9047ae86426b4aede27480f20f6d3593d9bf737b74323
-DIST tmuxp-1.9.2.tar.gz 816621 BLAKE2B 
f471ba2b7a6f97b123661ca2473c63273dc79b08cbe25f4ea756d174ab58e5070d0fc2dfbe8ec254785946e2fa139121d2e9fa5d7d5c127c18580e514064523d
 SHA512 
e4af94fde475c999cee5aa6ad4b60a05c3a9f6f338290406043544250c4dcf688bc39e501631f442b59009156e04eb383098ea717fe7be8e9811b44886515935
 DIST tmuxp-1.9.4.tar.gz 821650 BLAKE2B 
34454919e811bc4901dcb570046b45d481934ab36f9b8f50753972fe6545ca9e487b2f04ee818c4b54eea01181c62efb1f5262ab033f2fc92c3cee3828d16bf4
 SHA512 
ecf113011231a03998b3be2d146f7e6c6cc2ccfc36af59b88d51e09726259c92dc4360bde569fba13ca8d81eb9639f85b45cd5f4b50d70d347e3237e396ea446

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
deleted file mode 100644
index e3f5772e92b3..
--- a/app-misc/tmuxp/files/tmuxp-1.7.2-relax-click-dep.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/requirements/base.txt b/requirements/base.txt
-index fb2ab61..17e3516 100644
 a/requirements/base.txt
-+++ b/requirements/base.txt
-@@ -1,4 +1,4 @@
- kaptan>=0.5.10
- libtmux>=0.8,<0.9
--click>=7,<8
-+click>=7
- colorama>=0.3.9

diff --git a/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
deleted file mode 100644
index f4c2be80d2dc..
--- a/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/requirements/base.txt b/requirements/base.txt
-index 4b713f1..3ca88e5 100644
 a/requirements/base.txt
-+++ b/requirements/base.txt
-@@ -1,4 +1,4 @@
- kaptan>=0.5.10
- libtmux>=0.10.1,<0.11
--click>=7,<8.1
-+click>=7
- colorama>=0.3.9

diff --git a/app-misc/tmuxp/tmuxp-1.5.4.ebuild 
b/app-misc/tmuxp/tmuxp-1.5.4.ebuild
deleted file mode 100644
index 55ec6ede123b..
--- a/app-misc/tmuxp/tmuxp-1.5.4.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1
-
-DESCRIPTION="tmux session manager. built on libtmux"
-HOMEPAGE="https://tmuxp.git-pull.com;
-SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="test"
-
-RDEPEND="
-   dev-python/kaptan[${PYTHON_USEDEP}]
-   >=dev-python/libtmux-0.8[${PYTHON_USEDEP}]
-   =dev-python/click-7.0[${PYTHON_USEDEP}]
-   =dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
-"

[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2021-06-22 Thread Patrick McLean
commit: 0245c345ea269e09b09454ee2e213d9208530241
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Jun 22 20:33:00 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 20:33:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0245c345

app-misc/tmuxp-1.9.2: Version bump

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest|  1 +
 .../tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch  | 10 +
 app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch   | 13 +++
 app-misc/tmuxp/tmuxp-1.9.2.ebuild  | 43 ++
 4 files changed, 67 insertions(+)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index 1918ae703d0..2b6b46c58fa 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -2,3 +2,4 @@ DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 
863b428198e8bb2895802ba7365ac2ec43fc75c70
 DIST tmuxp-1.6.5.tar.gz 1017117 BLAKE2B 
4cc8955f9dcfffd237ffde3e7487496aaf85dd886fd124ad76d61e10fa64f90bac79cc4df9aac63122446b7a4727b01ceaea502d7bbe5f5ba7f68e89bbb86feb
 SHA512 
9095c196f20b537662ffa9d819c675e325fda7f49fb3fd9811f00fc1e1c763b7ea29cdd500bb7d775d1673ab2fc1386f662a2ff6744ffcd2b7aaab13a014cce3
 DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 
2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a
 SHA512 
2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8
 DIST tmuxp-1.8.2.tar.gz 1019801 BLAKE2B 
1e02139df6cc5ee0aec31e3a39413297195b6951a9acaa487a8f705f7f28b79ece0e5388284d017dbf45744540eecb0809e4a7e668f91b824aa0e4adcd64bcf8
 SHA512 
b6993be72bdab1ef469dbf43d056fbd812612437716af8a4c2e803a55f7ad803246789ccb0b3cafa5ad9047ae86426b4aede27480f20f6d3593d9bf737b74323
+DIST tmuxp-1.9.2.tar.gz 816621 BLAKE2B 
f471ba2b7a6f97b123661ca2473c63273dc79b08cbe25f4ea756d174ab58e5070d0fc2dfbe8ec254785946e2fa139121d2e9fa5d7d5c127c18580e514064523d
 SHA512 
e4af94fde475c999cee5aa6ad4b60a05c3a9f6f338290406043544250c4dcf688bc39e501631f442b59009156e04eb383098ea717fe7be8e9811b44886515935

diff --git a/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch 
b/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
new file mode 100644
index 000..f4c2be80d2d
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
@@ -0,0 +1,10 @@
+diff --git a/requirements/base.txt b/requirements/base.txt
+index 4b713f1..3ca88e5 100644
+--- a/requirements/base.txt
 b/requirements/base.txt
+@@ -1,4 +1,4 @@
+ kaptan>=0.5.10
+ libtmux>=0.10.1,<0.11
+-click>=7,<8.1
++click>=7
+ colorama>=0.3.9

diff --git a/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch
new file mode 100644
index 000..3329c547489
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/test_workspacebuilder.py b/tests/test_workspacebuilder.py
+index e85b409..22368b1 100644
+--- a/tests/test_workspacebuilder.py
 b/tests/test_workspacebuilder.py
+@@ -343,7 +343,7 @@ def test_environment_variables(session):
+ assert session.show_environment('FOO') == 'BAR'
+ assert session.show_environment('PATH') == '/tmp'
+ 
+-
++@pytest.mark.skip("hangs indefinitely")
+ def test_automatic_rename_option(session):
+ """With option automatic-rename: on."""
+ yaml_config = loadfixture("workspacebuilder/window_automatic_rename.yaml")

diff --git a/app-misc/tmuxp/tmuxp-1.9.2.ebuild 
b/app-misc/tmuxp/tmuxp-1.9.2.ebuild
new file mode 100644
index 000..75e9bbb0189
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="tmux session manager. built on libtmux"
+HOMEPAGE="https://tmuxp.git-pull.com;
+SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=app-misc/tmux-3.0a
+   >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
+   >=dev-python/libtmux-0.10.1[${PYTHON_USEDEP}]
+   =dev-python/click-7.0[${PYTHON_USEDEP}]
+   >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
+   !dev-python/flaky
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/tmuxp-1.6.4-tests.patch"
+   "${FILESDIR}/tmuxp-1.7.2-tests.patch"
+   "${FILESDIR}/tmuxp-1.9.2-relax-click-dep.patch"
+   "${FILESDIR}/tmuxp-1.9.2-tests.patch"
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+   SHELL="/bin/bash" epytest
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2021-02-03 Thread Patrick McLean
commit: c64c3b480cc7824e4e076474bb49c21d662ea26e
Author: Patrick McLean  sony  com>
AuthorDate: Thu Feb  4 03:10:41 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Feb  4 03:10:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c64c3b48

app-misc/tmuxp-1.7.2: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest   |  2 +-
 .../{tmuxp-1.7.0-tests.patch => tmuxp-1.7.2-tests.patch}  | 11 +--
 app-misc/tmuxp/{tmuxp-1.7.0.ebuild => tmuxp-1.7.2.ebuild} |  2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index db5be3913be..6f5bfefc7d5 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -3,4 +3,4 @@ DIST tmuxp-1.5.5.tar.gz 856665 BLAKE2B 
fa18222840b9c221de48a78291243776a66a7aec3
 DIST tmuxp-1.5.6.tar.gz 883700 BLAKE2B 
c8ad08c709aa1763cc046a05c6241983d2cdd33ca530ce0510ae7bb68ce3e340d40c6ec23c9544ef8b0d8da38aad74305e13d7b6348b0f46da929e94b3e862ff
 SHA512 
1db74aa9ee6274aacec127aff210e8ed64176142991a9691c31c59ef0370503dddeb35b69c0a8229204968308c68788d408d6a5e0bc2ad1fb3320727ea4994f9
 DIST tmuxp-1.6.2.tar.gz 1014758 BLAKE2B 
c6c60978938892311151cfff35bdc74e2daa9a615b2952a14c4a0020e434af7c28d36466a5ae82db683c6bda9a95f12f7e032d04eb58c5b164aeb05b144b2005
 SHA512 
a38c3f46a726df0cd885113d82ed5a186d68f6d643a7bde6d169908373e6881fac14c8c46c00ede727e47e4e1af5f9d3cd79cb0057457478ace1ec0ba0632cfb
 DIST tmuxp-1.6.4.tar.gz 1015684 BLAKE2B 
4f8d34ab1e1bd8e46e89e49ac92ce0a05b614bd7b43ce910120f12a46fb3ab143330975352cf2275999146ba005646c7c5aa07b7cc616ae80265edb4e173cf34
 SHA512 
482ba47652090a13d7866695b2639ab580c0cca5f6935f58e0be6867efde298c6f3350f65c231dec59a3f2dc1e0f795b02df1ad24d5ace6e7ee6aecdd60a9611
-DIST tmuxp-1.7.0.tar.gz 1027071 BLAKE2B 
d1806794e11e651e7ba826d7b28a9b0f467272d2972b06be4036919a08a5ad36140aa09f975da41a2a4bd8a71b25f38c8d08d8dd37cf2b371441a3557880146a
 SHA512 
0cfba5375f35957e3db15c61876b4a142d4a13411e67dd7ba9c643e1bfe754e71d02773e10336f83613b90e6211d8bb9b1132fae4e890c8467b638e605dc2108
+DIST tmuxp-1.7.2.tar.gz 1027293 BLAKE2B 
2564d196c9c327584d24f57ce72165a7cdff2209fe6869a4d3519eb0246329cd8159ecaa20c2a39e153bde224201b1f846f4244c4df72ac540cf0d71f9fba75a
 SHA512 
2ccf63c9f5b7049438ca6079894aac92a0f7496a56c68d88e5a9d5c2a42188a4e40d559792857881f492b28392a329697d4d43781f38ee7c49ed592aac8a69f8

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
similarity index 68%
rename from app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch
rename to app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
index 9be2392557b..6b51e4de8ce 100644
--- a/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch
+++ b/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
@@ -1,15 +1,14 @@
 diff --git a/tests/test_cli.py b/tests/test_cli.py
-index e5a7f93..de132db 100644
+index bfd2345..f55910c 100644
 --- a/tests/test_cli.py
 +++ b/tests/test_cli.py
-@@ -15,6 +15,10 @@ import pytest
- import click
+@@ -16,6 +16,9 @@ import click
  import kaptan
  from click.testing import CliRunner
-+
+ 
 +import sys
 +import pathlib
 +sys.path.extend([str(p) for p in pathlib.Path(__file__, '..', 
'fixtures/pluginsystem/plugins').resolve().iterdir() if p.is_dir()])
- from tmuxp_test_plugin_bwb.plugin import PluginBeforeWorkspaceBuilder
- 
  import libtmux
+ from libtmux.common import has_lt_version
+ from libtmux.exc import LibTmuxException

diff --git a/app-misc/tmuxp/tmuxp-1.7.0.ebuild 
b/app-misc/tmuxp/tmuxp-1.7.2.ebuild
similarity index 96%
rename from app-misc/tmuxp/tmuxp-1.7.0.ebuild
rename to app-misc/tmuxp/tmuxp-1.7.2.ebuild
index 09ac02c5428..55ed4f164af 100644
--- a/app-misc/tmuxp/tmuxp-1.7.0.ebuild
+++ b/app-misc/tmuxp/tmuxp-1.7.2.ebuild
@@ -36,7 +36,7 @@ BDEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}/tmuxp-1.6.4-tests.patch"
-   "${FILESDIR}/tmuxp-1.7.0-tests.patch"
+   "${FILESDIR}/tmuxp-1.7.2-tests.patch"
 )
 
 distutils_enable_tests --install pytest



[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2021-01-09 Thread Patrick McLean
commit: 302227a72b175dfffd851de4d69ae173572f8786
Author: Patrick McLean  gentoo  org>
AuthorDate: Sat Jan  9 19:45:00 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Sat Jan  9 19:45:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302227a7

app-misc/tmuxp-1.7.0: Version bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest  |  1 +
 app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch | 15 +
 app-misc/tmuxp/tmuxp-1.7.0.ebuild| 46 
 3 files changed, 62 insertions(+)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index 2c372c437f9..db5be3913be 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -3,3 +3,4 @@ DIST tmuxp-1.5.5.tar.gz 856665 BLAKE2B 
fa18222840b9c221de48a78291243776a66a7aec3
 DIST tmuxp-1.5.6.tar.gz 883700 BLAKE2B 
c8ad08c709aa1763cc046a05c6241983d2cdd33ca530ce0510ae7bb68ce3e340d40c6ec23c9544ef8b0d8da38aad74305e13d7b6348b0f46da929e94b3e862ff
 SHA512 
1db74aa9ee6274aacec127aff210e8ed64176142991a9691c31c59ef0370503dddeb35b69c0a8229204968308c68788d408d6a5e0bc2ad1fb3320727ea4994f9
 DIST tmuxp-1.6.2.tar.gz 1014758 BLAKE2B 
c6c60978938892311151cfff35bdc74e2daa9a615b2952a14c4a0020e434af7c28d36466a5ae82db683c6bda9a95f12f7e032d04eb58c5b164aeb05b144b2005
 SHA512 
a38c3f46a726df0cd885113d82ed5a186d68f6d643a7bde6d169908373e6881fac14c8c46c00ede727e47e4e1af5f9d3cd79cb0057457478ace1ec0ba0632cfb
 DIST tmuxp-1.6.4.tar.gz 1015684 BLAKE2B 
4f8d34ab1e1bd8e46e89e49ac92ce0a05b614bd7b43ce910120f12a46fb3ab143330975352cf2275999146ba005646c7c5aa07b7cc616ae80265edb4e173cf34
 SHA512 
482ba47652090a13d7866695b2639ab580c0cca5f6935f58e0be6867efde298c6f3350f65c231dec59a3f2dc1e0f795b02df1ad24d5ace6e7ee6aecdd60a9611
+DIST tmuxp-1.7.0.tar.gz 1027071 BLAKE2B 
d1806794e11e651e7ba826d7b28a9b0f467272d2972b06be4036919a08a5ad36140aa09f975da41a2a4bd8a71b25f38c8d08d8dd37cf2b371441a3557880146a
 SHA512 
0cfba5375f35957e3db15c61876b4a142d4a13411e67dd7ba9c643e1bfe754e71d02773e10336f83613b90e6211d8bb9b1132fae4e890c8467b638e605dc2108

diff --git a/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch
new file mode 100644
index 000..9be2392557b
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch
@@ -0,0 +1,15 @@
+diff --git a/tests/test_cli.py b/tests/test_cli.py
+index e5a7f93..de132db 100644
+--- a/tests/test_cli.py
 b/tests/test_cli.py
+@@ -15,6 +15,10 @@ import pytest
+ import click
+ import kaptan
+ from click.testing import CliRunner
++
++import sys
++import pathlib
++sys.path.extend([str(p) for p in pathlib.Path(__file__, '..', 
'fixtures/pluginsystem/plugins').resolve().iterdir() if p.is_dir()])
+ from tmuxp_test_plugin_bwb.plugin import PluginBeforeWorkspaceBuilder
+ 
+ import libtmux

diff --git a/app-misc/tmuxp/tmuxp-1.7.0.ebuild 
b/app-misc/tmuxp/tmuxp-1.7.0.ebuild
new file mode 100644
index 000..aab4054c751
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.7.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="tmux session manager. built on libtmux"
+HOMEPAGE="https://tmuxp.git-pull.com;
+SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=app-misc/tmux-3.0a
+   >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
+   >=dev-python/libtmux-0.8.5[${PYTHON_USEDEP}]
+   =dev-python/click-7.0[${PYTHON_USEDEP}]
+   =dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+   test? (
+   >=dev-python/pytest-4.1.1[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
+   !dev-python/flaky
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/tmuxp-1.6.4-tests.patch"
+   "${FILESDIR}/tmuxp-1.7.0-tests.patch"
+)
+
+distutils_enable_tests --install pytest
+
+python_test() {
+   SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/tmuxp/files/, app-misc/tmuxp/

2021-01-06 Thread Patrick McLean
commit: ce6b22969843e35cb265cc98d6952b1adece0d12
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Jan  7 07:49:01 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Jan  7 07:49:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce6b2296

app-misc/tmuxp-1.6.4: Version bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/tmuxp/Manifest  |  1 +
 app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch | 22 ++
 app-misc/tmuxp/tmuxp-1.6.4.ebuild| 45 
 3 files changed, 68 insertions(+)

diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest
index 1e0abca880d..2c372c437f9 100644
--- a/app-misc/tmuxp/Manifest
+++ b/app-misc/tmuxp/Manifest
@@ -2,3 +2,4 @@ DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 
863b428198e8bb2895802ba7365ac2ec43fc75c70
 DIST tmuxp-1.5.5.tar.gz 856665 BLAKE2B 
fa18222840b9c221de48a78291243776a66a7aec3221f23be3218f81eae0d15ce5a4568f7eff679c01793d4ac4d441f6714c37d9ac3c9f705af49214f5dc2570
 SHA512 
61c14197af7742b48dab95443bb818ede20d26aa46ab2e89b883a34e2bcec910d8210fc1358fc88f96ccc637c47d6432082cd58995b80a43234cebba95240ebc
 DIST tmuxp-1.5.6.tar.gz 883700 BLAKE2B 
c8ad08c709aa1763cc046a05c6241983d2cdd33ca530ce0510ae7bb68ce3e340d40c6ec23c9544ef8b0d8da38aad74305e13d7b6348b0f46da929e94b3e862ff
 SHA512 
1db74aa9ee6274aacec127aff210e8ed64176142991a9691c31c59ef0370503dddeb35b69c0a8229204968308c68788d408d6a5e0bc2ad1fb3320727ea4994f9
 DIST tmuxp-1.6.2.tar.gz 1014758 BLAKE2B 
c6c60978938892311151cfff35bdc74e2daa9a615b2952a14c4a0020e434af7c28d36466a5ae82db683c6bda9a95f12f7e032d04eb58c5b164aeb05b144b2005
 SHA512 
a38c3f46a726df0cd885113d82ed5a186d68f6d643a7bde6d169908373e6881fac14c8c46c00ede727e47e4e1af5f9d3cd79cb0057457478ace1ec0ba0632cfb
+DIST tmuxp-1.6.4.tar.gz 1015684 BLAKE2B 
4f8d34ab1e1bd8e46e89e49ac92ce0a05b614bd7b43ce910120f12a46fb3ab143330975352cf2275999146ba005646c7c5aa07b7cc616ae80265edb4e173cf34
 SHA512 
482ba47652090a13d7866695b2639ab580c0cca5f6935f58e0be6867efde298c6f3350f65c231dec59a3f2dc1e0f795b02df1ad24d5ace6e7ee6aecdd60a9611

diff --git a/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch 
b/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch
new file mode 100644
index 000..4bdfe015474
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/test_cli.py b/tests/test_cli.py
+index 1e14e51..6945c2b 100644
+--- a/tests/test_cli.py
 b/tests/test_cli.py
+@@ -486,7 +486,7 @@ session_name: hello
+ '{SESSION_NAME}',
+ '{WINDOW_NAME}',
+ '-c',
+-'print(pane.id)',
++'print(getattr(pane, "id", "{PANE_ID}"))',
+ ],
+ [],
+ {},
+@@ -496,7 +496,7 @@ session_name: hello
+ [
+ '-L{SOCKET_NAME}',
+ '-c',
+-'print(pane.id)',
++'print(getattr(pane, "id", "{PANE_ID}"))',
+ ],
+ [],
+ {'TMUX_PANE': '{PANE_ID}'},

diff --git a/app-misc/tmuxp/tmuxp-1.6.4.ebuild 
b/app-misc/tmuxp/tmuxp-1.6.4.ebuild
new file mode 100644
index 000..e4f93be9b6d
--- /dev/null
+++ b/app-misc/tmuxp/tmuxp-1.6.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="tmux session manager. built on libtmux"
+HOMEPAGE="https://tmuxp.git-pull.com;
+SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=app-misc/tmux-3.0a
+   >=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
+   >=dev-python/libtmux-0.8.5[${PYTHON_USEDEP}]
+   =dev-python/click-7.0[${PYTHON_USEDEP}]
+   =dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+   test? (
+   >=dev-python/pytest-4.1.1[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
+   !dev-python/flaky
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/tmuxp-1.6.4-tests.patch"
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+   SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}"
+}