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. # you also find the URL of a binary repository.
pkgname=cmake-format pkgname=cmake-format
pkgver=0.6.11 pkgver=0.6.12
pkgrel=1 pkgrel=1
pkgdesc='Source code formatter for CMake listfiles' pkgdesc='Source code formatter for CMake listfiles'
arch=('any') 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') optdepends=('python-yaml>=5.3' 'python-jinja>=2.10.3' 'python-argcomplete: automatic shell completion')
checkdepends=('cmake') checkdepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
sha512sums=('52b6752d2b62097df790f432ecfb2e3d196950ad49548fa3c68a329f16f9e2d3db2741debe2b3f913894857805b60b1b460a939fd1b34a58efa738175839dea8') sha512sums=('e54d54ba592875ad2d8683a3be7dce10c8ddbf6ef39ac127510de8de3598763179768594d0f30ab98df87a19a989920916dcf9d759abff59854d738227a7644e')
check() { check() {
mkdir "$srcdir/check" mkdir "$srcdir/check"
cd "$srcdir/check" cd "$srcdir/check"
export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_OUTPUT_ON_FAILURE=1
cmake "$srcdir/cmake_format-$pkgver" 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 # 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 # cmakelang-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 # in upstream's CI). Also exluding verify-export and cmakelang-doc-verify-README.rst
# which seem specific to how upstream manages their Git repo. # which seem specific to how upstream manages their Git repo.
} }