Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801946 - Add elpa.eclass (working prototype offered) for Emacs Lisp ebuilds
Summary: Add elpa.eclass (working prototype offered) for Emacs Lisp ebuilds
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 21:29 UTC by akater
Modified: 2021-07-31 12:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akater 2021-07-12 21:29:15 UTC
I suggest adding eclass that would aid in packaging ELPA releases, including signed ones.

Reproducible: Always




I suggest adding “elpa” eclass that would streamline packaging of ELPA packages in Gentoo, GNU ELPA ones in particular.

I have a a working prototype in elpa-eclass branch on Gitlab.  It fills in SRC_URI and provides (configurable) verify-sig support.  We also implement GNU ELPA's pgp key support and add two existing app-emacs ebuilds revisions as examples: https://gitlab.com/akater/gentoo/-/commits/elpa-eclass/

It probably needs to be improved, stylistically at least, but it works.

I don't yet know how to properly support “dir” ELPA packages (as opposed to “tar” and “single”) as I found no examples of such so far.
Comment 1 Ulrich Müller gentoo-dev 2021-07-13 15:07:27 UTC
There already is a gs-elpa.eclass in the gnu-elpa repository (supporting ELPA, MELPA, and Marmelade), available via app-portage/gs-elpa.
Comment 2 akater 2021-07-31 12:29:09 UTC
Sorry, for some reason I thought this bug was immediately closed.

I installed app-portage/gs-elpa and familiarized myself with gnu-elpa repository.

Unlike my prototype, gs-elpa.eclass does not support verify-sig or live ebuilds with git-r3.  But that is only tangentially relevant.  Do you suggest that I contribute to gs-elpa instead?  Using it involves a lot of indirection: install keyworded app-portage/gs-elpa with lots of its irrelevant dependencies, many of them keyworded too, then add an unofficial auto-generated repository.

My goal was to improve (simplify and enhance) Elisp ebuilds in the main tree, and I'm not interested in helping a Python-driven unofficial repository.  Or maybe I misunderstood what you meant when you directed me to gs-elpa?