summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aceee3d4c1c8fb9d1c04e541fa39ca786dcb6977 (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
# Maintainer: winnie <aur@msgpeek.net>

_py="python"
_eggname="minepy"
pkgname=${_py}-${_eggname}
pkgver=1.2.5
pkgrel=1
pkgdesc="minepy provides an ANSI C library for the Maximal Information-based Nonparametric Exploration (MIC and MINE family)"
arch=('any')
url="https://minepy.readthedocs.io"
license=('GPL3')
depends=("${_py}" "${_py}-numpy" "${_py}-sphinx")
makedepends=("${_py}-setuptools")
options=(!emptydirs)
source=(${_eggname}-${pkgver}.tar.gz::https://github.com/minepy/minepy/archive/${pkgver}.tar.gz)
provides=('python-minepy')
sha256sums=('408da7ee887bdfcb0ceaa9593d975cdff44b2c9dcbf67f3900c164751cc6112c')

package() {
  cd "${srcdir}/${_eggname}-${pkgver}"
  ${_py} setup.py install --root="$pkgdir" || return 1
  install -Dpm644 "gpl-3.0.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  msg "Install successful."
}