mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-18 12:13:42 +02:00
This commit also fixes the shebang line.
Before this change:
$ dabuild sh
$ sudo apk add duplicity >/dev/null && duplicity --version
env: can't execute 'python': No such file or directory
$ head -n 1 /usr/bin/duplicity
#!/usr/bin/env python
After this change:
$ dabuild sh
$ sudo apk add duplicity >/dev/null && duplicity --version
duplicity 0.8.12
$ head -n 1 /usr/bin/duplicity
#!/usr/bin/env python3
Removed the smoke test to bring check() in line with the policy from the
wiki: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options
> Creating a very simple check function, that calls program --version is
> worse than disabling tests completely because it gives the false
> impression that the package is thoroughly tested with the testsuite from
> upstream. [2]