mailman-web: fix django version check removal

Recent versions had increased the amount of indentation, which stopped
this applying.  The next version will also change the case, so I've
adjusted in advance for that too.
This commit is contained in:
Alyssa Ross 2022-03-21 17:16:49 +00:00
parent 85c14e9c0f
commit 3512f5b707
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -16,7 +16,7 @@ buildPythonPackage rec {
# Django is depended on transitively by hyperkitty and postorius,
# and mailman_web has overly restrictive version bounds on it, so
# let's remove it.
sed -i '/^ Django/d' setup.cfg
sed -i '/^[[:space:]]*django/Id' setup.cfg
# Upstream seems to mostly target installing on top of existing
# distributions, and uses a path appropriate for that, but we are