mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python-tmuxp-1.4.2
closes #5335 Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
72d31b7eae
commit
98568d9872
2 changed files with 42 additions and 0 deletions
41
srcpkgs/python-tmuxp/template
Normal file
41
srcpkgs/python-tmuxp/template
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Template file for 'python-tmuxp'
|
||||||
|
pkgname=python-tmuxp
|
||||||
|
version=1.4.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="tmuxp-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="tmuxp"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python python-colorama python-click python-kaptan python-libtmux"
|
||||||
|
short_desc="Session manager for tmux"
|
||||||
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/tmux-python/tmuxp/"
|
||||||
|
distfiles="${PYPI_SITE}/t/tmuxp/tmuxp-${version}.tar.gz"
|
||||||
|
checksum=b5895a6341729b4c712f03657c6d7e519bf0e32a8f8411dc28aee160c365f120
|
||||||
|
alternatives="tmuxp:tmuxp:/usr/bin/tmuxp2"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# 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
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-tmuxp_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="tmuxp"
|
||||||
|
depends="python3 python3-colorama python3-click python3-kaptan python3-libtmux"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="tmuxp:tmuxp:/usr/bin/tmuxp3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/tmuxp3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-tmuxp
Symbolic link
1
srcpkgs/python3-tmuxp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-tmuxp
|
Loading…
Add table
Reference in a new issue