summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9163fbd96882c82f8e489140f75b8a702e348791 (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
28
29
30
31
32
# Original maintainer: Stuart Mumford <stuart@cadair.com>
# Current maintainer: Corentin Cadiou <contact@cphyc.me>
pkgname=python-databpy
_module_name=databpy
pkgver=0.1.0
pkgrel=1
pkgdesc="A set of data-oriented wrappers around the python API of Blender."
arch=(any)
url="https://bradyajohnston.github.io/databpy/"
license=('GPL')
depends=(
    'python-numpy'
    'blender'
)
makedepends=()
optdepends=()
options=(!emptydirs)
source=("https://pypi.io/packages/source/d/${_module_name}/${_module_name}-${pkgver}.tar.gz")
sha256sums=('45aa729474a64f3f51eaa5d0e34d4748104b395b1c569ec5869252f4389aa35f')

build() {
  cd "$srcdir/${_module_name}-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir/${_module_name}-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: