1
0
Fork 0

Merging upstream version 2.9.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 21:23:17 +01:00
parent f602091049
commit 9326612968
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
32 changed files with 252 additions and 75 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
echo $@
echo "$@"
exit 1

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
echo 'Fail'
echo $@
echo "$@"
exit 1

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash
echo $@
echo "$@"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
echo $@
echo "$@"
echo 'Hello World'

View file

@ -0,0 +1,6 @@
- id: python-cython-files
name: Python and Cython files
entry: bin/hook.sh
language: script
types: [file]
types_or: [python, cython]

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo "$@"
exit 1

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
echo $@
echo "$@"
exit 1

View file

@ -99,6 +99,9 @@ def main() -> int:
shebang = '/usr/bin/env python3'
zipapp.create_archive(tmpdir, filename, interpreter=shebang)
with open(f'{filename}.sha256sum', 'w') as f:
subprocess.check_call(('sha256sum', filename), stdout=f)
return 0