melpa / package-build

Tools for assembling a package archive
https://github.com/melpa/melpa
25 stars 34 forks source link

Modernize #44

Closed tarsius closed 3 years ago

tarsius commented 3 years ago

Now that we have dropped support for older Emacsen we can finally embrace the package-desc struct that package.el uses nowadays. That has the benefit that we no longer have to know what (aref 3 pkg-info) (et al.) actually is.

Lots of cleanup and refactoring too, resulting in simpler code.

:homepage is now treated as a synonym for :url when parsing NAME-pkg.el.

When getting information from NAME-pkg.el, then fallback to information from NAME.el for values that are missing from the former. For most multi-file packages NAME-pkg.el lacks :authors and :maintainers, while most NAME.el don't.