From 44c16a5245001390d6e1ddc15764c2e4f124003c Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Mon, 21 Dec 2020 09:29:55 +0100 Subject: [PATCH] python3-tmuxp: update to 1.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexander Egorenkov Closes: #27317 [via git-merge-pr] This part by Érico: - add checkdepends --- srcpkgs/python3-tmuxp/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-tmuxp/template b/srcpkgs/python3-tmuxp/template index 825903b8ca..1b0ff8fc76 100644 --- a/srcpkgs/python3-tmuxp/template +++ b/srcpkgs/python3-tmuxp/template @@ -1,25 +1,33 @@ # Template file for 'python3-tmuxp' pkgname=python3-tmuxp -version=1.5.4 +version=1.6.2 revision=3 wrksrc="tmuxp-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3 python3-setuptools python3-colorama python3-click python3-kaptan python3-libtmux" +checkdepends="python3-pytest $depends tmux" short_desc="Session manager for tmux" maintainer="Alexander Egorenkov " license="MIT" homepage="https://github.com/tmux-python/tmuxp/" distfiles="${PYPI_SITE}/t/tmuxp/tmuxp-${version}.tar.gz" -checksum=371105eb69efc457de52fb7a6de0b431a0179c5b54e9ec78180746463153168f +checksum=feec0be98a60c8cd8557bce388156202496dd9c8998e6913e595e939aeb0f735 conflicts="python-tmuxp>=0" -pre_configure() { +post_patch() { # Remove version restrictions # colorama is forced at 0.3.9 while Void is at 0.4.x # click is at least 7 or higher while Void is at 6.x.x - sed 's|[=><].*||g' -i requirements/base.txt + vsed 's|[=><].*||g' -i requirements/base.txt + + vsed '/addopts/d' -i setup.cfg +} + +do_check() { + # XXX: test hangs and crashes midway + python3 -m pytest -k 'not workspacebuilder' } post_install() {