r-*: use SPDX license identifier for "LGPL" R packages

This applies only to packages that have specified exactly
"LGPL" as the license in DESCRIPTION.
This commit is contained in:
Pekka Ristola 2023-12-02 18:27:15 +02:00
parent f627d6d532
commit 32406fc423
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
7 changed files with 9 additions and 10 deletions

View file

@ -9,7 +9,7 @@ pkgrel=4
pkgdesc="hgu95av2cdf"
arch=(any)
url="https://bioconductor.org/packages/${_pkgname}"
license=(LGPL)
license=('LGPL-2.0-or-later')
depends=(
r-annotationdbi
)

View file

@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(
_G,
expect_license = "LGPL",
)
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -10,3 +10,5 @@ update_on:
repo: bioc-data-annotation
md5: true
- alias: r
- source: manual
manual: 1

View file

@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="Propagating Uncertainty in Microarray Analysis(including Affymetrix tranditional 3' arrays and exon arrays and Human Transcriptome Array 2.0)"
arch=(x86_64)
url="https://bioconductor.org/packages/${_pkgname}"
license=(LGPL)
license=('LGPL-2.0-or-later')
depends=(
r-affy
r-affyio

View file

@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(
_G,
expect_license = "LGPL",
)
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -15,3 +15,5 @@ update_on:
repo: bioc
md5: true
- alias: r
- source: manual
manual: 1

View file

@ -204,6 +204,7 @@ license_map = {
"GPL-2": "GPL2",
"GPL-2 | GPL-3": "GPL",
"GPL-3": "GPL3",
"LGPL": "LGPL-2.0-or-later",
"LGPL (>= 2)": "LGPL",
"LGPL (>= 2.1)": "LGPL",
"LGPL-2": "LGPL2.1",