mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-*: use metadata checks for several packages
This commit is contained in:
parent
6af51ead04
commit
39d35fcdad
15 changed files with 113 additions and 91 deletions
|
@ -3,14 +3,16 @@
|
|||
_pkgname=Delaporte
|
||||
_pkgver=8.3.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=8.3.0
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Statistical Functions for the Delaporte Distribution'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('BSD')
|
||||
pkgdesc="Statistical Functions for the Delaporte Distribution"
|
||||
arch=(x86_64)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=(BSD)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
makedepends=(
|
||||
gcc-fortran
|
||||
)
|
||||
optdepends=(
|
||||
|
@ -18,15 +20,18 @@ optdepends=(
|
|||
r-tinytest
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('7eeb59c2d7fb106732abbda710acab065418426aa1f6f5734f0dc2b1724f89bc')
|
||||
md5sums=('cc965f62f3d69e9c785e98890c9536db')
|
||||
b2sums=('403e1862a517e5fc0d39b2066a54298cf4be5e63f9c6529f5ec3acb234930cecfe0e14376f32bb8d30a7f70eb540456a83659c06ae906365c2f20a72ccf2d9d4')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
r_pre_build(
|
||||
_G,
|
||||
expect_systemrequirements = "A version of Fortran supporting the LOG_GAMMA Intrinsic",
|
||||
)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -3,7 +3,8 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- regex: Delaporte_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=Delaporte
|
||||
- source: rpkgs
|
||||
pkgname: Delaporte
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
_pkgname=HilbertVis
|
||||
_pkgver=1.60.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.60.0
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Hilbert curve visualization'
|
||||
arch=('x86_64')
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Hilbert curve visualization"
|
||||
arch=(x86_64)
|
||||
url="https://bioconductor.org/packages/$_pkgname"
|
||||
license=(GPL3)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
|
@ -17,14 +17,15 @@ optdepends=(
|
|||
r-iranges
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('96c7a4dfe42158e45bfb7a1e1a33e2577b23409249402cfa5ae742f2420060d5')
|
||||
md5sums=('b30abc9c50034b41daf1399031d657e3')
|
||||
b2sums=('01bf68e2e9abfb2288f0867103497b6d23631ba7499d3c74956e8fc376ec65b4df95131524cc45e127edbd62ef3662015218b3035f376f95a1bfc717c0d6986b')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -3,7 +3,8 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- regex: HilbertVis_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://bioconductor.org/packages/HilbertVis
|
||||
- source: rpkgs
|
||||
pkgname: HilbertVis
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
_pkgname=lars
|
||||
_pkgver=1.3
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.3
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=7
|
||||
pkgdesc='Least Angle Regression, Lasso and Forward Stagewise'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Least Angle Regression, Lasso and Forward Stagewise"
|
||||
arch=(x86_64)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=(GPL2)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
|
@ -16,14 +16,15 @@ makedepends=(
|
|||
gcc-fortran
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('c69e6a8da6a3344c0915dd1fd4c78fec5cdf50c62cf6297476e9bb7dc10b549d')
|
||||
md5sums=('f91c3128512aea0b607076f7a46693c6')
|
||||
b2sums=('d14fc6b4494b5edbf383f5940f05f2459c345a135cf4194545fe2bd219143e68a2381bce56ce4a80eccd0d9488e9be333c0669052e6d8bb8a9b448c53a1dcf09')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -3,7 +3,8 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- regex: lars_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=lars
|
||||
- source: rpkgs
|
||||
pkgname: lars
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,24 +3,25 @@
|
|||
_pkgname=Nozzle.R1
|
||||
_pkgver=1.1-1.1
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.1.1.1
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=5
|
||||
pkgdesc='Nozzle Reports'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('LGPL')
|
||||
pkgdesc="Nozzle Reports"
|
||||
arch=(any)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=(LGPL2.1)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('777e0fdada4a4d4c590885897a52beb91a5d5a1b8073c471448b3644d9715639')
|
||||
md5sums=('284892dbc261f1e919855a99e20b06ca')
|
||||
b2sums=('0bdd96b5fe864fe3f3b779281dcfdd267e1f2dde9614d1a930997289ad82eeba2b77125dc1383be67ff9c2217c6829e965baa09ce8d76215c737fec52d3bcc01')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -3,7 +3,8 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- regex: Nozzle.R1_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=Nozzle.R1
|
||||
- source: rpkgs
|
||||
pkgname: Nozzle.R1
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
_pkgname=timsac
|
||||
_pkgver=1.3.8-4
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.3.8.4
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Time Series Analysis and Control Package'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Time Series Analysis and Control Package"
|
||||
arch=(x86_64)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=(GPL)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
|
@ -16,14 +16,15 @@ makedepends=(
|
|||
gcc-fortran
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('53ce2658286e18472110444d4157136ab7aa95661b2a7a24c8ea91103eb3b83e')
|
||||
md5sums=('e325a5e8bceab47722a95d487c6a8f06')
|
||||
b2sums=('e12504e0e852ba04d69f77ae26412d52a084a9b62b5c15daa1385be72bb5ed2f2246647c1af48069957d5b4699e790201e725a174decf7fb4967a5da86aa78b7')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -3,7 +3,8 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- regex: timsac_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=timsac
|
||||
- source: rpkgs
|
||||
pkgname: timsac
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
Loading…
Add table
Reference in a new issue