igraph: Update to 0.8.3
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
_realname=igraph
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=0.8.2
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="Library for the analysis of networks (mingw-w64)"
|
||||
arch=('any')
|
||||
@@ -10,7 +10,7 @@ url="https://igraph.org"
|
||||
license=('GPL')
|
||||
source=(https://github.com/igraph/igraph/releases/download/${pkgver}/igraph-${pkgver}.tar.gz
|
||||
0001-igraph-0.8.2_foreign.c-fix-newline-on-Windows.patch)
|
||||
sha256sums=('718a471e7b8cbf02e3e8006153b7be6a22f85bb804283763a0016280e8a60e95'
|
||||
sha256sums=('cc935826d3725a9d95f1b0cc46e3c08c554b29cdd6943f0286d965898120b3f1'
|
||||
'1bf512fb6002355b5a0082110095700f386eb9abd1779e0b89822f367bef9c7c')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-glpk"
|
||||
"${MINGW_PACKAGE_PREFIX}-gmp"
|
||||
@@ -24,8 +24,14 @@ _builddir=build-${pkgver}-${MINGW_PACKAGE_PREFIX}
|
||||
|
||||
prepare() {
|
||||
cd ${_srcdir}
|
||||
|
||||
patch -p1 -i ${srcdir}/0001-igraph-0.8.2_foreign.c-fix-newline-on-Windows.patch
|
||||
|
||||
autoreconf -vfi
|
||||
|
||||
# remove the file testsuite in source tree to force 'make check'
|
||||
# to generate it from scratch.
|
||||
test -f tests/testsuite || rm -f tests/testsuite
|
||||
}
|
||||
|
||||
build() {
|
||||
@@ -34,7 +40,8 @@ build() {
|
||||
../${_srcdir}/configure -C \
|
||||
--enable-tls \
|
||||
--with-external-glpk \
|
||||
YFLAGS=-Wall
|
||||
YFLAGS=-Wall \
|
||||
igraph_cv_stdout_LF2CRLF=no
|
||||
|
||||
make V=0 || make
|
||||
}
|
||||
@@ -47,10 +54,8 @@ check() {
|
||||
function diff () { "$diff_cmd" --strip-trailing-cr $@ ; }
|
||||
set +a
|
||||
|
||||
# Make libigraph-0.dll available on PATH for tests.
|
||||
export PATH="${srcdir}/${_builddir}/src/.libs:$PATH"
|
||||
|
||||
make -k -C ${_builddir} check
|
||||
# igraph 0.8.3: all tests succeeded
|
||||
make V=0 -C ${_builddir} check TESTSUITEFLAGS=-j
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in New Issue
Block a user