blob: 02bb64684c16d1171880189beab9651e76e66fd7 (
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
33
|
# Maintainer: Jesus Alonso: <doragasu at hotmail dot com>
_name=mplcursors
pkgname=python-mplcursors
pkgver=0.6
pkgrel=2
pkgdesc="Provides interactive data selection cursors for Matplotlib. It is inspired from mpldatacursor, with a much simplified API."
arch=(any)
url="https://github.com/anntzer/mplcursors"
license=(Zlib)
depends=(
python
python-matplotlib
)
makedepends=(
python-build
python-installer
python-wheel
python-setuptools
python-setuptools-scm
)
source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
sha512sums=('4bcee5e01492deb4fed851daf0e6b01e217da257389af768b61a8c69bf7115727c9faef17f5f9455de1c718c52a18aab24ce5eeb625e1207810fd8b3d93ec503')
build() {
cd $_name-$pkgver
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|