mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
|
|
|
|
pkgname=python-upsetplot
|
|
_module=UpSetPlot
|
|
pkgver=0.9.0
|
|
pkgrel=3
|
|
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-3-Clause')
|
|
depends=(
|
|
'python'
|
|
'python-matplotlib'
|
|
'python-numpy'
|
|
'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"
|
|
}
|
|
|