Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-03-04 23:37:49 +0100
committerChristian Heusel <christian@heusel.eu>2024-03-23 23:57:46 +0100
commit05bea3e922aa7aec5cba3242d3f34b5c10fad24e (patch)
treede09c15c36a0860e93eb664f16db694244218cd1 /test/fixture/version/setup/gitlab-archlinux-tarball-as-platform
parentde0ea3b2f839c2f6ba074d7401d2a28118680da0 (diff)
test: add basic bats setup and test cases for `version setup`
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'test/fixture/version/setup/gitlab-archlinux-tarball-as-platform')
-rw-r--r--test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/PKGBUILD57
-rw-r--r--test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/nvchecker.assert.toml6
2 files changed, 63 insertions, 0 deletions
diff --git a/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/PKGBUILD b/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/PKGBUILD
new file mode 100644
index 0000000..adcd790
--- /dev/null
+++ b/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/PKGBUILD
@@ -0,0 +1,57 @@
+pkgname=devtools
+epoch=1
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Tools for Arch Linux package maintainers'
+arch=('any')
+license=('GPL-3.0-or-later')
+url='https://gitlab.archlinux.org/archlinux/devtools'
+depends=(
+ arch-install-scripts
+ awk
+ bash
+ binutils
+ coreutils
+ curl
+ diffutils
+ fakeroot
+ findutils
+ grep
+ jq
+ openssh
+ parallel
+ rsync
+ sed
+ util-linux
+
+ breezy
+ git
+ mercurial
+ subversion
+)
+makedepends=(
+ asciidoc
+ shellcheck
+)
+optdepends=(
+ 'btrfs-progs: btrfs support'
+ 'bat: pretty printing for pkgctl search'
+ 'nvchecker: pkgctl version subcommand'
+ 'pacman-contrib: support for the --update-checksums option'
+)
+replaces=(devtools-git-poc)
+source=(https://gitlab.archlinux.org/archlinux/devtools/-/releases/v${pkgver}/downloads/devtools-${pkgver}.tar.gz{,.sig})
+validpgpkeys=(
+ 'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak <anthraxx@archlinux.org>
+ 'F00B96D15228013FFC9C9D0393B11DAA4C197E3D' # Christian Heusel (gromit packager key) <gromit@archlinux.org>
+)
+sha256sums=('b2a12bb8b4b568110b055ccec903c9a0b0b979ab44f0cba574c026d243d5ce36'
+ 'SKIP')
+b2sums=('be9601a4fcbb576b9a8637abdaec70f8ec730cf5752793c2f8fdce20e489b74555f624d0a0b5f8bb58c0914413a29d51698c8474430010502ab80d6c18c4332e'
+ 'SKIP')
+
+package() {
+ :
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/nvchecker.assert.toml b/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/nvchecker.assert.toml
new file mode 100644
index 0000000..1a91eb4
--- /dev/null
+++ b/test/fixture/version/setup/gitlab-archlinux-tarball-as-platform/nvchecker.assert.toml
@@ -0,0 +1,6 @@
+[devtools]
+source = "gitlab"
+gitlab = "archlinux/devtools"
+host = "gitlab.archlinux.org"
+use_max_tag = true
+prefix = "v"