diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/libtmux/libtmux-0.8.3.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/libtmux/libtmux-0.8.3.ebuild')
-rw-r--r-- | dev-python/libtmux/libtmux-0.8.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/libtmux/libtmux-0.8.3.ebuild b/dev-python/libtmux/libtmux-0.8.3.ebuild new file mode 100644 index 000000000000..628783d9c6c8 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.8.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="python api for tmux" +HOMEPAGE="https://libtmux.git-pull.com/" +SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=">=app-misc/tmux-3.0a" + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/alagitpull \ + dev-python/docutils + +python_prepare_all() { + # avoid a dependency on sphinx_issues + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -i "s:'sphinx_issues',::" doc/conf.py || die + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + rm requirements/doc.txt || die + + distutils-r1_python_prepare_all +} |