summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66314dca6e4ae84fdf39dca7063793690edff059 (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
# Maintainer: alcubierre-drive
_base=fancymaps
pkgname=python-${_base}
pkgver=0.2.0
pkgrel=1
pkgdesc="Colormap collection from various (creative) sources"
url="https://github.com/alcubierre-drive/${_base}"
depends=(python-matplotlib)
makedepends=(python-build python-installer python-setuptools python-wheel)
checkdepends=(python-pytest)
license=(GPLv3)
arch=(any)
source=("git+$url.git")
sha512sums=('SKIP')

build() {
  cd ${_base}
  python -m build --wheel --skip-dependency-check --no-isolation
}

check() {
    : nothing
}

package() {
  cd ${_base}
  PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
}