Opened 7 years ago
Closed 7 years ago
#55770 closed defect (fixed)
py27-dulwich @0.18.5: checksum error
Reported by: | jghub | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | py-dulwich |
Description
seen under 10.12.6: `sudo port install py27-dulwich' leads to
---> Computing dependencies for py27-dulwich ---> Verifying checksums for py27-dulwich Error: Checksum (rmd160) mismatch for dulwich-0.18.5.tar.gz Error: Checksum (sha256) mismatch for dulwich-0.18.5.tar.gz Error: Failed to checksum py27-dulwich: Unable to verify file checksums
Attachments (1)
Change History (5)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to seanfarley |
---|---|
Port: | py-dulwich added |
Status: | new → assigned |
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Summary: | checksum error for py27-dulwich → py27-dulwich @0.18.5: checksum error |
This happens when the GitHub organization name changes, because the GitHub organization is part of the directory name inside the compressed file. In this case, the organization name changed from jelmer to dulwich.
This needs to be handled as a stealth update, except that if a new version is available, it's simpler to just update to the newer version. And in this case, 0.18.6 is available, so the port should be updated. See attached patch.
I also added the maintainer's GitHub handle to the maintainers line, added size to the checksums line, moved the github.setup line to the top where it customarily lives, updated the homepage and put it after the github.setup line so that the github.setup line doesn't override it, and removed the duplicate name line.
Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile-py-dulwich.diff added |
---|
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In the future, please fill in the Port field and Cc the port maintainers (
port info --maintainers py27-dulwich
), if any.