Update cmake-format to 0.6.12

This commit is contained in:
Martchus 2020-08-19 11:30:26 +02:00
parent 17aa06bf8d
commit d47256e903
1 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=cmake-format
pkgver=0.6.11
pkgver=0.6.12
pkgrel=1
pkgdesc='Source code formatter for CMake listfiles'
arch=('any')
@ -14,19 +14,19 @@ depends=('python-setuptools' 'python-six>=1.13.0')
optdepends=('python-yaml>=5.3' 'python-jinja>=2.10.3' 'python-argcomplete: automatic shell completion')
checkdepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
sha512sums=('52b6752d2b62097df790f432ecfb2e3d196950ad49548fa3c68a329f16f9e2d3db2741debe2b3f913894857805b60b1b460a939fd1b34a58efa738175839dea8')
sha512sums=('e54d54ba592875ad2d8683a3be7dce10c8ddbf6ef39ac127510de8de3598763179768594d0f30ab98df87a19a989920916dcf9d759abff59854d738227a7644e')
check() {
mkdir "$srcdir/check"
cd "$srcdir/check"
export CTEST_OUTPUT_ON_FAILURE=1
cmake "$srcdir/cmake_format-$pkgver"
ctest --exclude-regex 'verify-export|cmake_format-command-db-test|cmake_format-validate-database|cmake_format-doc-verify-README\.rst'
ctest --exclude-regex 'verify-export|cmakelang-command-db-test|cmakelang-validate-database|cmakelang-doc-verify-README\.rst'
# note: Excluding the tests cmake_format-validate-database (would require gpg2 and
# note: Excluding the tests cmakelang-validate-database (would require gpg2 and
# python-pgpy and currently fails because an internet connection is required) and
# cmake_format-command-db-test (fails if CMake version doesn't match the version
# in upstream's CI). Also exluding verify-export and cmake_format-doc-verify-README.rst
# cmakelang-command-db-test (fails if CMake version doesn't match the version
# in upstream's CI). Also exluding verify-export and cmakelang-doc-verify-README.rst
# which seem specific to how upstream manages their Git repo.
}