python-neovim: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
f1a3e674b5
commit
3d10abd56d
2 changed files with 15 additions and 9 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-neovim'
|
# Template file for 'python-neovim'
|
||||||
pkgname=python-neovim
|
pkgname=python-neovim
|
||||||
version=0.1.9
|
version=0.1.9
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="python-client-${version}"
|
wrksrc="python-client-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
depends="neovim python-msgpack python-greenlet python-trollius"
|
||||||
depends="neovim python python-msgpack python-greenlet python-trollius"
|
|
||||||
short_desc="Python library for scripting Neovim processes (Python2)"
|
short_desc="Python library for scripting Neovim processes (Python2)"
|
||||||
pycompile_module="neovim"
|
pycompile_module="neovim"
|
||||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
|
@ -16,13 +15,19 @@ homepage="https://github.com/neovim/python-client"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=9e6250cad242fb79c07346cd292b055f4f334635a42bff3437131205bb09e0a8
|
checksum=9e6250cad242fb79c07346cd292b055f4f334635a42bff3437131205bb09e0a8
|
||||||
|
|
||||||
python3.4-neovim_package() {
|
python3-neovim_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="neovim python3.4 python3.4-msgpack python3.4-greenlet"
|
depends="neovim python3-msgpack python3-greenlet"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="neovim"
|
pycompile_module="neovim"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-neovim>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-neovim_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-neovim>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-neovim
Symbolic link
1
srcpkgs/python3-neovim
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-neovim
|
Loading…
Add table
Add a link
Reference in a new issue