postgis-postgresql12: update to 3.1.3, enable unit tests
This commit is contained in:
parent
b833cf0070
commit
47688759ef
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'postgis-postgresql12'
|
||||
pkgname=postgis-postgresql12
|
||||
version=3.1.2
|
||||
version=3.1.3
|
||||
revision=1
|
||||
wrksrc="postgis-${version}"
|
||||
build_style=gnu-configure
|
||||
|
@ -13,19 +13,21 @@ hostmakedepends="automake libtool perl pkg-config geos
|
|||
libgdal-tools postgresql12-libs-devel which"
|
||||
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql12-libs-devel
|
||||
proj-devel protobuf-c-devel pcre-devel json-c-devel"
|
||||
checkdepends="libxslt"
|
||||
checkdepends="libxslt CUnit-devel"
|
||||
short_desc="Spatial database extender for PostgreSQL"
|
||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://postgis.net/"
|
||||
changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"
|
||||
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
|
||||
checksum=2cdd3760176926704b4eb25ff3357543c9637dee74425a49082906857c7e0732
|
||||
checksum=71e929553bb73a0413206a0f92df5180ac6579c500d8ddce3a03559f1b349fcb
|
||||
nocross="FIXME: Cannot run test program to determine PROJ version"
|
||||
# unit tests require unpackaged cunit
|
||||
# regression tests require running postgresql
|
||||
make_check=no
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
# regression tests require running postgresql
|
||||
vsed -i regress/run_test.pl -e '/\/usr\/bin\/env/ a exit;'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue