postgis-postgresql13: update to 3.1.3, enable unit tests
This commit is contained in:
parent
47688759ef
commit
ee3036cbbb
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'postgis-postgresql13'
|
# Template file for 'postgis-postgresql13'
|
||||||
pkgname=postgis-postgresql13
|
pkgname=postgis-postgresql13
|
||||||
version=3.1.2
|
version=3.1.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="postgis-${version}"
|
wrksrc="postgis-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -13,19 +13,21 @@ hostmakedepends="automake libtool perl pkg-config geos
|
||||||
libgdal-tools postgresql-libs-devel which"
|
libgdal-tools postgresql-libs-devel which"
|
||||||
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql-libs-devel
|
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql-libs-devel
|
||||||
proj-devel protobuf-c-devel pcre-devel json-c-devel"
|
proj-devel protobuf-c-devel pcre-devel json-c-devel"
|
||||||
checkdepends="libxslt"
|
checkdepends="libxslt CUnit-devel"
|
||||||
short_desc="Spatial database extender for PostgreSQL"
|
short_desc="Spatial database extender for PostgreSQL"
|
||||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://postgis.net/"
|
homepage="https://postgis.net/"
|
||||||
changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"
|
changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"
|
||||||
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
|
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"
|
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() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./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