summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13e9ed5442726b789e078968e0435cd151f7c1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: BenoƮt Allard <benoit.allard@gmx.de>
pkgname=python-stable-baselines3-contrib
pkgver=2.1.0
pkgrel=1
pkgdesc="Contrib package of Stable Baselines3, experimental code."
arch=('any')
url="https://sb3-contrib.readthedocs.io"
license=('MIT')
depends=("python" "python-stable-baselines3")
_name=${pkgname#python-}
source=("$pkgname-$pkgver.tar.gz::https://github.com/Stable-Baselines-Team/$_name/archive/v$pkgver.tar.gz")
sha256sums=('4f9f0226c4363ebdf0981126d4dc0c7d21d083e37bc15115a6411811efb71576')

build() {
    cd $_name-$pkgver
    export PYTHONSEED=1
    python setup.py build
}

package() {
    cd $_name-$pkgver
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}