r-igraph: fix build

This commit is contained in:
Pekka Ristola 2024-03-13 19:43:02 +02:00
parent 8bfd33140c
commit b86253af4d
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
4 changed files with 34 additions and 19 deletions

View file

@ -5,10 +5,10 @@
# Contributor: Oleg Smirnov <oleg.smirnov@gmail.com>
_pkgname=igraph
_pkgver=2.0.2
_pkgver=2.0.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgrel=0
pkgdesc="Network Analysis and Visualization"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
@ -34,6 +34,7 @@ makedepends=(
)
checkdepends=(
r-graph
r-rgl
r-testthat
r-vdiffr
)
@ -54,10 +55,10 @@ optdepends=(
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"igraph-system-libs.patch")
md5sums=('5ec60d660bedd8242751ed0b8720280f'
'6c7d29860961ff06147a1ca2819dcad5')
b2sums=('5ac558f237ce339c2e27a349eae6651c0b38333e2fb902b9378bde72773989520f48fb83b5ddccbb7c9aa1f93e0b211fee6489537d45a4a1ec8ab2ad5e8c5cfe'
'b7547dbd5d8bd30bb59fc15937fb99df18f17025d8f4fc8ba5164b5257a7dbcf46271eb7d262aa0e6d17868007e15f2fa1aebc43cb7f85c377a109b87b963f3b')
md5sums=('36b28af2a8910060551629b306165f75'
'5a958a08aa13c94de5820924a5e964ad')
b2sums=('3cc8510e01db17a4f5dffd43b9dbbe2e01d9e631289efcadcacecd8a577555cca2848eebb68299147e22618bd0e96691b2fc0a5eb0a59c549af66dc5c0d7ef25'
'd2bd23dc816abfc33908b5583ee1129981fdccb8cd8b067cfb46e41f89d346135353ed6525467f14333064b601ae8544d0fa14931c34594bfdbcbcf45edf7c4b')
prepare() {
# Build using system libraries

File diff suppressed because one or more lines are too long

View file

@ -9,7 +9,7 @@ from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(
_G,
expect_systemrequirements = "libxml2, glpk (>= 4.57)",
expect_systemrequirements = "libxml2 (optional), glpk (>= 4.57, optional)",
ignore_fortran_files = True,
)

View file

@ -12,6 +12,7 @@ repo_depends:
repo_makedepends:
- r-cpp11
- r-graph
- r-rgl
- r-testthat
- r-vdiffr
update_on: