summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: decf16ff539a6bbb717b806636638838e7d2d5f1 (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
34
35
36
37
38
39
40
# Maintainer: Sebastian Markgraf <sebastian-markgraf@t-online.de>
pkgname=python-numerapi
pkgver=2.3.4
pkgrel=2
epoch=
pkgdesc="Python API and command line interface for the numer.ai machine learning competition"
arch=('any')
url="https://github.com/uuazed/numerapi"
license=('MIT')
groups=()
depends=("python" "python-setuptools" "python-dateutil" "python-pytz" "python-tqdm" "python-click>=7")
makedepends=()
checkdepends=("python-pytest" "python-responses" "python-pytest-cov" "python-codecov")
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz::https://github.com/uuazed/numerapi/archive/$pkgver.tar.gz")
md5sums=('4279f7857916b96fa6fd876c0f8f62f7')
noextract=()
validpgpkeys=()

build() {
	cd "numerapi-$pkgver"
	python setup.py build
}

check() {
	cd "$srcdir/numerapi-$pkgver"
}

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