Packages/BioArchLinux/python-matplotlib-venn/PKGBUILD

27 lines
954 B
Bash

# import from AUR: bipin kumar <kbipinkumar@pm.me>
# Maintainer: Matthew McGinn <mamcgi@gmail.com>
# Contributor: Stunts <f.pinamartins@gmail.com>
pkgname=python-matplotlib-venn
_module=${pkgname#python-}
pkgver=1.1.1
pkgrel=2
pkgdesc="Venn diagram plotting routines for python-matplotlib"
arch=('any')
url="https://github.com/konstantint/matplotlib-venn"
license=('MIT')
depends=('python-numpy' 'python-matplotlib' 'python-scipy')
makedepends=('python-setuptools')
source=($_module-$pkgver::"https://github.com/konstantint/matplotlib-venn/archive/refs/tags/$pkgver.tar.gz")
b2sums=('21f0541df95428557e60eaca95e7e2749825bb36c69855b7adca54141af7c343073d62f99fe3b45ae17dcd514cd91813b188e426f61e415f9a353ce214588b71')
build() {
cd "$_module-$pkgver"
python setup.py build
}
package() {
cd "$_module-$pkgver"
python setup.py install --root="${pkgdir}"
install -Dm644 "$srcdir/$_module-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}