--e79c0c0a89024e048775675e83f7bc3e
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Source: pytest-repeat
Version: 0.9.3-1
Severity: wishlist
Tags: patch
User:
reproducible-builds@lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc:
reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that pytest-repeat could not be built reproducibly.
This was because of the use of echo "... \n ..." in debian/rules,
which emits a literal "\n" on shells other than Bash such as dash:
│ │ │ ├── ./usr/lib/python3/dist-packages/pytest_repeat.egg-info/entry_points.txt
│ │ │ │ @@ -1,2 +1 @@
│ │ │ │ -[pytest11]
│ │ │ │ -repeat = pytest_repeat
│ │ │ │ +[pytest11]\nrepeat = pytest_repeat
A patch is attached that uses printf instead.
[0]
https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'`
lamby@debian.org / chris-lamb.co.uk
`-
--e79c0c0a89024e048775675e83f7bc3e
Content-Disposition: attachment; filename="pytest-repeat.diff.txt" Content-Type: text/plain; name="pytest-repeat.diff.txt" Content-Transfer-Encoding: BASE64
LS0tIGEvZGViaWFuL3J1bGVzCTIwMjQtMDItMjcgMTA6NDA6MDMuMTE1NzMxMTg3ICswMDAw Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI0LTAyLTI3IDEwOjQyOjEzLjc1OTY4ODYyMyArMDAw MApAQCAtMSw3ICsxLDcgQEAKICMhL3Vzci9iaW4vbWFrZSAtZgogCiBleHBvcnQgUFlCVUlM RF9CRUZPUkVfVEVTVD1ta2RpciB7YnVpbGRfZGlyfS9weXRlc3RfcmVwZWF0LmVnZy1pbmZv ICYmIFwKLQkJICAgIGVjaG8gIltweXRlc3QxMV1cbnJlcGVhdCA9IHB5dGVzdF9yZXBlYXQi ID4ge2J1aWxkX2Rpcn0vcHl0ZXN0X3JlcGVhdC5lZ2ctaW5mby9lbnRyeV9wb2ludHMudHh0 CisJCSAgICBwcmludGYgIltweXRlc3QxMV1cbnJlcGVhdCA9IHB5dGVzdF9yZXBlYXRcbiIg PiB7YnVpbGRfZGlyfS9weXRlc3RfcmVwZWF0LmVnZy1pbmZvL2VudHJ5X3BvaW50cy50eHQK IAogJToKIAlkaCAkQCAtLWJ1aWxkc3lzdGVtPXB5YnVpbGQK
--e79c0c0a89024e048775675e83f7bc3e--
--- SoupGate-Win32 v1.05
*