python-ipython_ipywidgets: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
607ef0c14a
commit
d96c372644
2 changed files with 15 additions and 9 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-ipython_ipywidgets'
|
# Template file for 'python-ipython_ipywidgets'
|
||||||
pkgname=python-ipython_ipywidgets
|
pkgname=python-ipython_ipywidgets
|
||||||
version=4.1.1
|
version=4.1.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="ipywidgets-${version}"
|
wrksrc="ipywidgets-${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="python-ipython>=4.0.0 python-ipython_ipykernel python-traitlets
|
depends="python-ipython>=4.0.0 python-ipython_ipykernel python-traitlets
|
||||||
python-jupyter_notebook"
|
python-jupyter_notebook"
|
||||||
pycompile_module="ipywidgets"
|
pycompile_module="ipywidgets"
|
||||||
|
@ -21,15 +20,21 @@ post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-ipython_ipywidgets_package() {
|
python3-ipython_ipywidgets_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-ipython>=4.0.0 python3.4-ipython_ipykernel
|
depends="python3-ipython>=4.0.0 python3-ipython_ipykernel
|
||||||
python3.4-traitlets python3.4-jupyter_notebook"
|
python3-traitlets python3-jupyter_notebook"
|
||||||
pycompile_version="3.4"
|
replaces="python3.4-ipython_ipywidgets>=0"
|
||||||
pycompile_module="ipywidgets"
|
pycompile_module="ipywidgets"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-ipython_ipywidgets_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-ipython_ipywidgets>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-ipython_ipywidgets
Symbolic link
1
srcpkgs/python3-ipython_ipywidgets
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-ipython_ipywidgets
|
Loading…
Add table
Add a link
Reference in a new issue