summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afe60b6336d5013cc06f6afcaae5b0cbcafda71e (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
# Maintainer: loathingkernel <username ta gmail tod com>

pkgname=python-pandasvault-git
pkgver=0.r84.4e962f2
pkgrel=1
pkgdesc="Advanced Pandas Vault — Utilities, Functions and Snippets."
arch=('x86_64')
url="https://github.com/firmai/pandasvault"
license=('MIT')
depends=('python-pandas' 'python-numpy' 'python-scikit-learn' 'python-setuptools')
makedepends=('python')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("pandasvault::git+https://github.com/firmai/pandasvault.git")
sha256sums=('SKIP')


pkgver() {
  cd "$srcdir"/pandasvault
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


build() {
  cd "$srcdir"/pandasvault
  python setup.py build
}

package() {
  cd "$srcdir"/pandasvault
  python setup.py install --skip-build --root="$pkgdir" --optimize=1
  #install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}