mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-bspm: compile python bytecode
This commit is contained in:
parent
7b849f85d4
commit
101d0b29c2
2 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,9 @@ build() {
|
||||||
mkdir build dbus
|
mkdir build dbus
|
||||||
R CMD INSTALL -l build "$_pkgname" \
|
R CMD INSTALL -l build "$_pkgname" \
|
||||||
--configure-vars="BUILD_ROOT=$srcdir/dbus"
|
--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() {
|
check() {
|
||||||
|
|
|
@ -10,3 +10,4 @@ update_on:
|
||||||
repo: cran
|
repo: cran
|
||||||
md5: true
|
md5: true
|
||||||
- alias: r
|
- alias: r
|
||||||
|
- alias: python
|
||||||
|
|
Loading…
Add table
Reference in a new issue