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)

Portfile-py-dulwich.diff (1.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to seanfarley
Port: py-dulwich added
Status: newassigned

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers py27-dulwich), if any.

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Summary: checksum error for py27-dulwichpy27-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: assignedclosed

In ef740e4f7af8c484aaf47b55072620d1f91d4147/macports-ports:

py-dulwich: Update to 0.18.6

Resolves checksum mismatch of previous version due to stealth update.

Closes: #55770

Update homepage.

Honor MacPorts -arch flags; fixes universal variant.

Closes: #37503

Note: See TracTickets for help on using tickets.