summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2022-10-31 11:43:13 +0100
committerMartchus2022-10-31 11:43:13 +0100
commit5c006e059e1d0bb00f28f578d0d4b69533206970 (patch)
tree8305dee52f788812e37da3c70097d9b93204eb53
parent6571f4b0623882b33ca0c19b6bf96ce40456b881 (diff)
downloadaur-5c006e059e1d0bb00f28f578d0d4b69533206970.tar.gz
Add python-cmakelang as provide
The package provides - besides the command line tools - the Python module cmakelang which some other packages might want to depend on.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e561daa5f88..387239629bad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cmake-format
pkgdesc = Source code formatter for CMake listfiles
pkgver = 0.6.13
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cheshirekow/cmake_format
arch = any
license = GPL3
@@ -11,8 +11,9 @@ pkgbase = cmake-format
optdepends = python-yaml>=5.3
optdepends = python-jinja>=2.10.3
optdepends = python-argcomplete: automatic shell completion
+ provides = python-cmakelang
+ conflicts = python-cmakelang
source = cmake-format-0.6.13.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v0.6.13.tar.gz
sha512sums = eb7fde540860b6119d0bb528f22592fb4b507f9319aeda0999da10bcc89ee1348fd7d701fc49aa5dac7616e1577e436cbd73de94dbbab0cafdf28e1812612342
pkgname = cmake-format
-
diff --git a/PKGBUILD b/PKGBUILD
index 3bd4620d0da0..fcd4a28bdef3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=cmake-format
pkgver=0.6.13
-pkgrel=1
+pkgrel=2
pkgdesc='Source code formatter for CMake listfiles'
arch=('any')
url='https://github.com/cheshirekow/cmake_format'
@@ -13,6 +13,8 @@ license=('GPL3')
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')
+provides=('python-cmakelang')
+conflicts=('python-cmakelang')
source=("$pkgname-$pkgver.tar.gz::https://github.com/cheshirekow/cmake_format/archive/v${pkgver}.tar.gz")
sha512sums=('eb7fde540860b6119d0bb528f22592fb4b507f9319aeda0999da10bcc89ee1348fd7d701fc49aa5dac7616e1577e436cbd73de94dbbab0cafdf28e1812612342')