Import Debian changes 1.10.0-ok1

bats (1.10.0-ok1) nile; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2024-05-07 15:13:58 +08:00 committed by luoyaoming
parent 3271c62133
commit 485f4b832a
12 changed files with 115 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
bats (1.10.0-ok1) nile; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 15:13:58 +0800

22
debian/control vendored Normal file
View File

@ -0,0 +1,22 @@
Source: bats
Section: devel
Priority: optional
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
Uploaders: Yaroslav Halchenko <debian@onerussian.com>, Gioele Barabucci <gioele@svario.it>
Build-Depends: debhelper-compat (= 12), parallel
Standards-Version: 4.6.2
Homepage: https://github.com/bats-core/bats-core
Vcs-Git: https://salsa.debian.org/bats-team/bats.git
Vcs-Browser: https://salsa.debian.org/bats-team/bats
Rules-Requires-Root: no
Package: bats
Architecture: all
Depends: ${misc:Depends}
Recommends: parallel
Multi-Arch: foreign
Description: bash automated testing system
Bats is a TAP-compliant testing framework for Bash. It provides a
simple way to verify that the UNIX programs you write behave as
expected. Bats is most useful when testing software written in Bash,
but you can use it to test any UNIX program.

32
debian/copyright vendored Normal file
View File

@ -0,0 +1,32 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bats
Source: https://github.com/bats-core/bats-core
Files: *
Copyright: 2011-2016 Sam Stephenson
2017-2022 bats-core contributors
License: MIT
Files: debian/*
Copyright: 2014 Yaroslav Halchenko <debian@onerussian.com>
2022 Gioele Barabucci <gioele@svario.it>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README.md

4
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = upstream/latest
upstream-tag = v%(version)s
debian-branch = debian/latest

4
debian/lintian-overrides vendored Normal file
View File

@ -0,0 +1,4 @@
# Reported upstream: https://github.com/bats-core/bats-core/issues/666
bats: acute-accent-in-manual-page [usr/share/man/man1/bats.1.gz:*]
# Reported upstream: https://github.com/bats-core/bats-core/issues/666
bats: acute-accent-in-manual-page [usr/share/man/man7/bats.7.gz:*]

21
debian/rules vendored Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
export HOME=$(shell mktemp -d)
# main packaging script based on dh7 syntax
%:
dh $@
override_dh_clean:
dh_clean
rm -f test/.bats/run-logs/*.log
override_dh_auto_install:
./install.sh debian/bats/usr
override_dh_auto_test:
mkdir -p ~/.parallel && touch ~/.parallel/will-cite
LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 TERM=dumb bin/bats --tap test

3
debian/salsa-ci.yml vendored Normal file
View File

@ -0,0 +1,3 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

3
debian/tests/control vendored Normal file
View File

@ -0,0 +1,3 @@
Tests:
test-with-system-bats,
Depends: @, parallel

15
debian/tests/test-with-system-bats vendored Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
set -eu
export LC_ALL=C.UTF-8
export LANGUAGE=C.UTF-8
FIXTURE_ROOT="test/fixtures"
export FIXTURE_ROOT
# Exclude `root.bats`: the tests assume being run with the local `bats`.
test_files=$(find test -maxdepth 1 -name '*.bats' | sort | grep -v 'root.bats')
mkdir -p ~/.parallel && touch ~/.parallel/will-cite
TERM=dumb /usr/bin/bats $test_files

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" \
https://github.com/bats-core/bats-core/tags \
(?:.*?/)v?@ANY_VERSION@@ARCHIVE_EXT@