blob: 546f43a24494515cac95808c56d52932fa4d333a (
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
34
35
36
|
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
pkgname=python-upsetplot
_module=UpSetPlot
pkgver=0.9.0
pkgrel=1
pkgdesc='Python implementation of UpSet plots by Lex et al. doi:10.1109/TVCG.2014.2346248'
arch=(any)
url='https://github.com/jnothman/UpSetPlot'
license=('BSD')
depends=(
'python'
'python-matplotlib'
'python-pandas'
'python-seaborn')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools-scm'
'python-pytest-runner'
)
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('95b76ac38c624c9dfb1eca1de1a37e30e07e83678b1c57839c943184247b8592')
build() {
cd "$_module-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_module-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "$srcdir/$_module-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
|