summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3cbc3f699bfa28005c7013a445190462494fb1ec (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: Archisman Panigrahi <apandada1 at gmail dot com>

pkgname=python-vpython
_name=${pkgname#python-}
pkgver=7.6.4
pkgrel=2
pkgdesc='VPython for Jupyter Notebook'
arch=('any')
url='https://pypi.org/project/vpython'
license=('MIT')
depends=('python')
optdepends=()
makedepends=('python-build' 'python-pdm' 'cython' 'python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('162ed54db313e5f87f9704b13942d3a0c7ad2da88b287d3baeb46e0eba7ffccc')


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

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