r-bspm: compile python bytecode

This commit is contained in:
Pekka Ristola 2024-04-09 19:14:19 +03:00
parent 7b849f85d4
commit 101d0b29c2
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,9 @@ build() {
mkdir build dbus
R CMD INSTALL -l build "$_pkgname" \
--configure-vars="BUILD_ROOT=$srcdir/dbus"
# compile python bytecode
python -m compileall -o 0 -o 1 -s build -p /usr/lib/R/library "build/$_pkgname/service"
}
check() {

View file

@ -10,3 +10,4 @@ update_on:
repo: cran
md5: true
- alias: r
- alias: python