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
7ff3c99f59
commit
bcda6c8b9c
15 changed files with 108 additions and 93 deletions
|
@ -3,24 +3,25 @@
|
|||
_pkgname=agilp
|
||||
_pkgver=3.34.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=3.34.0
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Agilent expression array processing package'
|
||||
arch=('any')
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Agilent expression array processing package"
|
||||
arch=(any)
|
||||
url="https://bioconductor.org/packages/$_pkgname"
|
||||
license=('GPL-3.0-only')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('8a201ed954249d8f8125901f208c6cb7f10c31fc6637cb831afe48bb6c656b75')
|
||||
md5sums=('21b54a703747520483657dd63288f403')
|
||||
b2sums=('699f1ce075285c0f334eb6d1d7ed52509e6d72ff4841d92a8d1be13857f2e351924e729f4a2d77fbded47669f1a3d7848616ec516a0e7ee0a0b898023fadb64c')
|
||||
|
||||
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: agilp_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://bioconductor.org/packages/agilp
|
||||
- source: rpkgs
|
||||
pkgname: agilp
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
_pkgname=ASAFE
|
||||
_pkgver=1.28.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.28.0
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Ancestry Specific Allele Frequency Estimation'
|
||||
arch=('any')
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=('Artistic2.0')
|
||||
pkgdesc="Ancestry Specific Allele Frequency Estimation"
|
||||
arch=(any)
|
||||
url="https://bioconductor.org/packages/$_pkgname"
|
||||
license=('Artistic-2.0')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
|
@ -17,14 +17,15 @@ optdepends=(
|
|||
r-testthat
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('6859900cccb93fc9f2b0e130213095c63b84db513a4d2d18a4e85e9b8a16f68e')
|
||||
md5sums=('e054d986c3b6f2574c26498eaf6e4f7c')
|
||||
b2sums=('b8bbd1a6df7ca58bf3e56ab0a8e0aaf4f9490cb498efa90b3bee5d4d4f3922fc40445f980f63613380e79550208dc15d784454237409abf4a7afeb1fb90f6662')
|
||||
|
||||
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: ASAFE_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://bioconductor.org/packages/ASAFE
|
||||
- source: rpkgs
|
||||
pkgname: ASAFE
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,24 +3,25 @@
|
|||
_pkgname=ASEB
|
||||
_pkgver=1.46.3
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.46.3
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Predict Acetylated Lysine Sites'
|
||||
arch=('x86_64')
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Predict Acetylated Lysine Sites"
|
||||
arch=(x86_64)
|
||||
url="https://bioconductor.org/packages/$_pkgname"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('797561ff36b036921e82d824b4b3e7f81917229a361620951eb4141947a346b5')
|
||||
md5sums=('7e9312371523d44d7f1cb759af2d150e')
|
||||
b2sums=('4619f4135831c148606aa300ca6bdad6b519c03df645250d0aff125d56c495530f3eba035feedad93c555bd07f2cd49d0f9268b0a82f21eef55192d64ace5a28')
|
||||
|
||||
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: ASEB_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://bioconductor.org/packages/ASEB
|
||||
- source: rpkgs
|
||||
pkgname: ASEB
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
_pkgname=ASGSCA
|
||||
_pkgver=1.36.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.36.0
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Association Studies for multiple SNPs and multiple traits using Generalized Structured Equation Models'
|
||||
arch=('any')
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Association Studies for multiple SNPs and multiple traits using Generalized Structured Equation Models"
|
||||
arch=(any)
|
||||
url="https://bioconductor.org/packages/$_pkgname"
|
||||
license=('GPL-3.0-only')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
|
@ -16,14 +16,15 @@ optdepends=(
|
|||
r-biocstyle
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('eed8974e16d09d1f938c59fe28d83fccab406ff35cbea203ede066c6720ad38e')
|
||||
md5sums=('c0e60b4fa228444ab7863044881fa8bb')
|
||||
b2sums=('38f7540ef0e6208515ca92b3f5a24eccdc952adb22116e37f2b7c80a82c24924d23283439d7fd30ada3f2a2950e5b785d6727b89a8f290d0c08f318b6268f7fb')
|
||||
|
||||
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: ASGSCA_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://bioconductor.org/packages/ASGSCA
|
||||
- source: rpkgs
|
||||
pkgname: ASGSCA
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
|
@ -3,24 +3,25 @@
|
|||
_pkgname=aTSA
|
||||
_pkgver=3.1.2.1
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=3.1.2.1
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Alternative Time Series Analysis'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
pkgdesc="Alternative Time Series Analysis"
|
||||
arch=(any)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=('GPL-2.0-only OR GPL-3.0-only')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('2e9236b10f073cf8f8730302f88f0ef6ca95ba84be48b0e601ac5de6e3baf3cf')
|
||||
md5sums=('7bee1f397b1605e9754d31463085a0ae')
|
||||
b2sums=('94e1d537266e80e8498e3307f39ea2939dbb21c75a29be8127a758812b2b51701a937dfb7e1e1cf295ace8705f247fe85ec5096975c468912bd3796174b35f0b')
|
||||
|
||||
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()
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
update_on:
|
||||
- regex: aTSA_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=aTSA
|
||||
- alias: r
|
||||
- source: rpkgs
|
||||
pkgname: aTSA
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
|
|
Loading…
Add table
Reference in a new issue