r-*: add "GPL (>=2)" to known licenses

This commit is contained in:
Pekka Ristola 2024-01-11 02:43:01 +02:00
parent 5b53ade216
commit e270c87e55
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
5 changed files with 5 additions and 10 deletions

View file

@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="Linear Models for Microarray Data"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=(GPL)
license=('GPL-2.0-or-later')
depends=(
r-statmod
)

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 = "GPL (>=2)",
)
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="Spatial analysis of in situ cytometry data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=(GPL)
license=('GPL-2.0-or-later')
depends=(
r-biocgenerics
r-biocparallel

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 = "GPL (>=2)",
)
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

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