mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
updpkg: jasp-desktop and r-jaspbase
This commit is contained in:
parent
e839fcc0ce
commit
9b65032956
7 changed files with 18 additions and 17 deletions
|
@ -1,12 +1,12 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
|
||||
_pkgname=jasp
|
||||
_pkgver=0.16.3
|
||||
_pkgver=0.16.4
|
||||
pkgname=jasp-desktop
|
||||
pkgver=0.16.3
|
||||
pkgver=0.16.4
|
||||
pkgrel=1
|
||||
pkgdesc="A complete statistical package for both Bayesian and Frequentist statistical methods"
|
||||
arch=('x86_64')
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/jasp-stats/jasp-desktop"
|
||||
license=('AGPL3')
|
||||
makedepends=("cmake" 'boost' 'jsoncpp'
|
||||
|
@ -28,11 +28,11 @@ depends=('r'
|
|||
'r-rinside'
|
||||
'qt6-base'
|
||||
'qt6-webengine'
|
||||
'qt6-shadertools'
|
||||
|
||||
# jaspBase
|
||||
"r-jaspbase"
|
||||
"r-jaspgraphs"
|
||||
"r-jaspresults"
|
||||
"r-jasptools"
|
||||
|
||||
#jaspCommon
|
||||
|
@ -58,27 +58,26 @@ depends=('r'
|
|||
"r-jaspmetaanalysis"
|
||||
"r-jaspnetwork"
|
||||
"r-jaspprocesscontrol"
|
||||
"r-jaspprophet"
|
||||
"r-jaspreliability"
|
||||
"r-jaspsem"
|
||||
"r-jaspsummarystatistics"
|
||||
"r-jaspvisualmodeling"
|
||||
"r-jaspprophet"
|
||||
)
|
||||
provides=($_pkgname)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jasp-stats/jasp-desktop/archive/refs/tags/v${pkgver}.tar.gz"
|
||||
'jasp.sh'
|
||||
"jaspColumnEncoder::git+https://github.com/jasp-stats/jaspColumnEncoder.git"
|
||||
'jaspResults::git+https://github.com/jasp-stats/jaspResults.git'
|
||||
# 'jaspResults::git+https://github.com/jasp-stats/jaspResults.git'
|
||||
)
|
||||
sha256sums=('6ce2062384761d88babf939e9a9a8c4aaa6737c3381cb0ede3c39f8576ba64b7'
|
||||
sha256sums=('8671a8f73669e40c0ef4a9e088591a45559bc84bc6a3c745367ffcbca992602d'
|
||||
'e0714d980e7549b4c7dcbae50370e95b6ad2e7f0cf21a534ceb3a5a83ee583fd'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
||||
prepare(){
|
||||
cd $srcdir/${pkgname}-${pkgver}
|
||||
cp -rf $srcdir/jaspColumnEncoder/* Common/jaspColumnEncoder
|
||||
cp -rf $srcdir/jaspResults/* R-Interface/jaspResults
|
||||
# cp -rf $srcdir/jaspResults/* R-Interface/jaspResults
|
||||
|
||||
find Tools/CMake -name *.cmake -print0 | xargs -0 sed -i "s|/usr/local|/usr|g"
|
||||
sed -i "s|lib='\${R_LIBRARY_PATH}'|lib='${srcdir}/usr/lib/R'|g" Tools/CMake/R.cmake
|
||||
|
@ -97,7 +96,7 @@ build(){
|
|||
|
||||
# -DBUILD_TESTS=ON does not work on linux.
|
||||
|
||||
cmake --build build -- -j 5
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
# we use 5 threads in BioArchLinux, but it should not be pushed to aur.
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
elif line.startswith('build()'):
|
||||
line += '\n' + 'export MAKE="make -j5"'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
|
||||
def post_build():
|
||||
run_cmd(['sh', '-c', "sed -i '/export MAKE/d' PKGBUILD"])
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
||||
|
|
|
@ -6,7 +6,6 @@ repo_depends:
|
|||
- "r-rinside"
|
||||
- "r-jaspbase"
|
||||
- "r-jaspgraphs"
|
||||
- "r-jaspresults"
|
||||
- "r-jasptools"
|
||||
- "r-jaspdescriptives"
|
||||
- "r-jaspttests"
|
||||
|
@ -28,11 +27,11 @@ repo_depends:
|
|||
- "r-jaspmetaanalysis"
|
||||
- "r-jaspnetwork"
|
||||
- "r-jaspprocesscontrol"
|
||||
- "r-jaspprophet"
|
||||
- "r-jaspreliability"
|
||||
- "r-jaspsem"
|
||||
- "r-jaspsummarystatistics"
|
||||
- "r-jaspvisualmodeling"
|
||||
- "r-jaspprophet"
|
||||
pre_build: vcs_update
|
||||
post_build: git_pkgbuild_commit
|
||||
update_on:
|
||||
|
|
|
@ -5,7 +5,7 @@ pkgname=r-${_pkgname,,}
|
|||
pkgver=0.16.4
|
||||
pkgrel=4
|
||||
pkgdesc="Package contains the JASP Bayesian and Frequentist analyses."
|
||||
arch=('any')
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/jasp-stats/${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(r
|
||||
|
@ -39,7 +39,7 @@ depends=(r
|
|||
groups=(r-jasp r-jaspbase)
|
||||
makedepends=('git')
|
||||
optdepends=()
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=5734a5974")
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=809bc624a")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ depends=(r
|
|||
groups=(r-jasp r-jaspextra)
|
||||
makedepends=('git')
|
||||
optdepends=()
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=7dcce68")
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=2890de0b60")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ depends=(r
|
|||
groups=(r-jasp r-jaspextra)
|
||||
makedepends=('git')
|
||||
optdepends=()
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=b93bbd102e")
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git#commit=bee8ac4d4447")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ depends=(r
|
|||
'r-r6'
|
||||
'r-qgraph'
|
||||
)
|
||||
groups=(r-jasp r-jaspbase)
|
||||
makedepends=('git')
|
||||
optdepends=('r-jaspgraphs')
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git"
|
||||
|
|
Loading…
Add table
Reference in a new issue