blob: 7da7a4b09b4efd279f2f4a840f38b161726295f4 (
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
|
# Maintainer: Kirill Pshenichnyi <pshcyrill@mail.ru>
# Contributor: Jack Viljoen <ack@javiljoen.net>
pkgname=python-lttb-git
_pkgname=lttb-numpy
pkgver=v0.3.1.r3.g9463159
pkgrel=1
pkgdesc="Numpy implementation of Steinarsson’s Largest-Triangle-Three-Buckets algorithm"
arch=('x86_64' 'armv7h')
url="https://github.com/sveinn-steinarsson/flot-downsample"
license=('MIT')
depends=('python' 'python-numpy>=1.1')
conflicts=('python-lttb')
provides=('python-lttb')
source=("git+https://git.sr.ht/~javiljoen/lttb-numpy")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
python setup.py build
}
package() {
cd "$_pkgname"
python setup.py install --root=$pkgdir/
}
|