r-*: strip dot from the end of pkgdesc

This commit is contained in:
Pekka Ristola 2023-12-15 17:39:50 +02:00
parent 4265939278
commit 6602e62bc1
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
6 changed files with 8 additions and 5 deletions

View file

@ -5,7 +5,7 @@ _pkgver=1.6.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=3 pkgrel=3
pkgdesc="a library for connecting to Expasy ENZYME database." pkgdesc="a library for connecting to Expasy ENZYME database"
arch=(any) arch=(any)
url="https://bioconductor.org/packages/$_pkgname" url="https://bioconductor.org/packages/$_pkgname"
license=(AGPL3) license=(AGPL3)

View file

@ -5,7 +5,7 @@ _pkgver=1.6.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=3 pkgrel=3
pkgdesc="a library for connecting to NCBI Databases." pkgdesc="a library for connecting to NCBI Databases"
arch=(any) arch=(any)
url="https://bioconductor.org/packages/$_pkgname" url="https://bioconductor.org/packages/$_pkgname"
license=(AGPL3) license=(AGPL3)

View file

@ -6,7 +6,7 @@ _pkgver=4.14.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc="Infrastructure for representing and interacting with gated and ungated cytometry data sets." pkgdesc="Infrastructure for representing and interacting with gated and ungated cytometry data sets"
arch=(x86_64) arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname" url="https://bioconductor.org/packages/$_pkgname"
license=(AGPL3) license=(AGPL3)

View file

@ -5,7 +5,7 @@ _pkgver=3.14.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc="A data package containing two flowJo, one diva xml workspace and the associated fcs files as well as three GatingSets for testing the flowWorkspace, openCyto and CytoML packages." pkgdesc="A data package containing two flowJo, one diva xml workspace and the associated fcs files as well as three GatingSets for testing the flowWorkspace, openCyto and CytoML packages"
arch=(any) arch=(any)
url="https://bioconductor.org/packages/$_pkgname" url="https://bioconductor.org/packages/$_pkgname"
license=(GPL2) license=(GPL2)

View file

@ -5,7 +5,7 @@ _pkgver=1.2.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=2 pkgrel=2
pkgdesc="'rifiComparative' compares the output of rifi from two different conditions." pkgdesc="'rifiComparative' compares the output of rifi from two different conditions"
arch=(any) arch=(any)
url="https://bioconductor.org/packages/$_pkgname" url="https://bioconductor.org/packages/$_pkgname"
license=(GPL3) license=(GPL3)

View file

@ -349,6 +349,9 @@ def check_pkgdesc(pkg: Pkgbuild, desc: Description, cfg: CheckConfig):
if title_lower.startswith(prefix): if title_lower.startswith(prefix):
title = title[len(prefix):] title = title[len(prefix):]
break break
# detect and remove trailing dot from the title
if len(title) > 1 and title[-1] == "." and title[-2] != ".":
title = title[:-1]
if cfg.expect_title is not None: if cfg.expect_title is not None:
if pkg.pkgdesc == title: if pkg.pkgdesc == title: