mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
New package: python-jupyter_core-4.0.6
This commit is contained in:
parent
075177fd22
commit
cb2d82183b
2 changed files with 39 additions and 0 deletions
38
srcpkgs/python-jupyter_core/template
Normal file
38
srcpkgs/python-jupyter_core/template
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'python-jupyter_core'
|
||||||
|
pkgname=python-jupyter_core
|
||||||
|
version=4.0.6
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="jupyter_core-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python-traitlets"
|
||||||
|
pycompile_module="jupyter_core"
|
||||||
|
short_desc="Jupyter core package (Python2)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://github.com/jupyter/jupyter_core"
|
||||||
|
license="3-clause-BSD"
|
||||||
|
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
|
||||||
|
checksum=96a68a3b1d018ff7776270b26b7cb0cfd7a18a53ef2061421daff435707d198c
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
for f in jupyter jupyter-migrate; do
|
||||||
|
vbin build-3.4/scripts-3.4/${f} ${f}3.4
|
||||||
|
done
|
||||||
|
vlicense COPYING.md LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-jupyter_core_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4-traitlets"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="jupyter_core"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/jupyter3.4
|
||||||
|
vmove usr/bin/jupyter-migrate3.4
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense COPYING.md LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-jupyter_core
Symbolic link
1
srcpkgs/python3.4-jupyter_core
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_core
|
Loading…
Add table
Reference in a new issue