blob: 22b06600e3d71b164732d1c8927fc1d194838abc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Dringsim <dringsim@qq.com>
pkgname=python-dot-kernel
_name=dot_kernel
pkgver=0.1.8
pkgrel=1
pkgdesc="Writing dot language and render in jupyter"
arch=('any')
url="https://github.com/laixintao/jupyter-dot-kernel"
license=('unknown')
makedepends=()
depends=('python-graphviz' 'python-jupyter-client' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
'https://github.com/laixintao/jupyter-dot-kernel/raw/master/readme.md')
sha256sums=('6bf5910b24e1068458ca181257e0a169fa19baf54965e61df9ba1cbb729dbdbf'
'7347BDEAD32D46FC357B352958A4CCCAD4DD025856233F6032BDDD3096079DC1')
build() {
cp readme.md "$_name-$pkgver"
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
|