python-tmuxp: drop package
This commit is contained in:
parent
4f2c2ec714
commit
19e169b1ff
3 changed files with 27 additions and 42 deletions
|
@ -1,41 +0,0 @@
|
|||
# Template file for 'python-tmuxp'
|
||||
pkgname=python-tmuxp
|
||||
version=1.5.4
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="tmuxp-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="tmuxp"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python python-setuptools 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=371105eb69efc457de52fb7a6de0b431a0179c5b54e9ec78180746463153168f
|
||||
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() {
|
||||
archs=noarch
|
||||
pycompile_module="tmuxp"
|
||||
depends="python3 python3-setuptools 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 +0,0 @@
|
|||
python-tmuxp
|
27
srcpkgs/python3-tmuxp/template
Normal file
27
srcpkgs/python3-tmuxp/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'python3-tmuxp'
|
||||
pkgname=python3-tmuxp
|
||||
version=1.5.4
|
||||
revision=2
|
||||
wrksrc="tmuxp-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3 python3-setuptools python3-colorama python3-click
|
||||
python3-kaptan python3-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=371105eb69efc457de52fb7a6de0b431a0179c5b54e9ec78180746463153168f
|
||||
conflicts="python-tmuxp>=0"
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue