blob: 863e292c90ec0fed2a7adfd6cebecf1734739265 (
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
|
# Maintainer: Paul Irofti <paul@irofti.net>
pkgname="python-dirty_cat-git"
pkgver=0.0.5.r203.g3c55029
pkgrel=1
pkgdesc="machine-learning on dirty categorical variables"
url="https://github.com/dirty-cat/dirty_cat"
depends=('python' 'python-joblib' 'python-numpy' 'python-scipy'
'python-scikit-learn' 'python-requests')
makedepends=('git' 'python-setuptools')
provides=('python-dirty_cat')
conflicts=('python-dirty_cat')
arch=('any')
license=('BSD')
source=("git+https://github.com/dirty-cat/dirty_cat.git")
md5sums=('SKIP')
pkgver() {
cd "dirty_cat"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "dirty_cat"
python setup.py build
}
package() {
cd "dirty_cat"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim:ts=2:sw=2:et:
|