summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a93dc68c4dd5e76ba660792c4550a008a5c6623 (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
# Maintainer: Debucquoy Anthony (tonitch) <d.tonitch@gmail.com>

pkgname=python-ypywidgets
_name=${pkgname#python-}
pkgver=0.7.0
pkgrel=1
pkgdesc="Y-based Jupyter widgets for Python"
url="https://github.com/davidbrochart/ypywidgets"
license=('MIT')
arch=('any')
depends=('python' 'python-comm' 'python-pycrdt' 'python-declare')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")

build() {
	cd "$_name-$pkgver"
	python -m build --wheel --no-isolation
}

package() {
	cd "$_name-$pkgver"
	python -m installer --destdir="$pkgdir/" dist/*.whl
}
sha256sums=('e0b6a7a1e57afa22a2d6631fb15eb7c93b847452e5a20faf63d44bd620467fdb')