python3.pkgs.tern: replace debut with debian-inspector

debut was renamed to debian-inspector. I didn't realize at the time that these
were two of the very same packages.
This commit is contained in:
Cole Helbling
2021-05-07 11:05:41 -07:00
parent 6e8c1aaac3
commit b2534aa0cb
2 changed files with 50 additions and 2 deletions
@@ -7,7 +7,7 @@
, requests
, stevedore
, pbr
, debut
, debian-inspector
, regex
, GitPython
, prettytable
@@ -22,6 +22,14 @@ buildPythonPackage rec {
sha256 = "606c62944991b2cbcccf3f5353be693305d6d7d318c3865b9ecca49dbeab2727";
};
patches = [
# debut was renamed to debian-inspector
# https://github.com/tern-tools/tern/pull/962
# NOTE: Has to be in-tree because the upstream patch doesn't apply cleanly
# to the PyPi source.
./0001-Replace-debut-with-debian-inspector.patch
];
preBuild = ''
cp requirements.{in,txt}
'';
@@ -36,7 +44,7 @@ buildPythonPackage rec {
dockerfile-parse
requests
stevedore
debut
debian-inspector
regex
GitPython
prettytable