Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/gitlab-tarball-multi-group-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-tarball-multi-group-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-tarball-multi-group-as-platform')
-rw-r--r--test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD24
-rw-r--r--test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml4
2 files changed, 28 insertions, 0 deletions
diff --git a/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD
new file mode 100644
index 0000000..4a40842
--- /dev/null
+++ b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/PKGBUILD
@@ -0,0 +1,24 @@
+pkgbase=kicad-library
+pkgname=($pkgbase{,-3d})
+pkgver=7.0.10
+pkgrel=1
+pkgdesc='Assorted libraries for KiCad'
+arch=('any')
+url='http://kicad.org/'
+license=('GPL')
+makedepends=('git' 'cmake')
+options=('!strip')
+source=(
+ https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/8.0.0/kicad-packages3D-8.0.0.tar.gz
+)
+sha512sums=('SKIP')
+
+package_kicad-library() {
+ :
+}
+
+package_kicad-library-3d() {
+ :
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml
new file mode 100644
index 0000000..d2cf1b1
--- /dev/null
+++ b/test/fixture/version/setup/gitlab-tarball-multi-group-as-platform/nvchecker.assert.toml
@@ -0,0 +1,4 @@
+[kicad-library]
+source = "gitlab"
+gitlab = "kicad/libraries/kicad-packages3D"
+use_max_tag = true