Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801142 - net-mail/notmuch-0.32.2: Add Ruby bindings support
Summary: net-mail/notmuch-0.32.2: Add Ruby bindings support
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 07:06 UTC by Ralph Seichter
Modified: 2024-02-14 10:38 UTC (History)
1 user (show)

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


Attachments
ebuild with ruby bindings (notmuch-0.34.1.ebuild,7.30 KB, text/plain)
2021-11-21 13:39 UTC, ndaman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Seichter 2021-07-08 07:06:52 UTC
According to https://bugs.gentoo.org/475624 there were discussions around creating a dev-ruby/notmuch-ruby package, but I cannot find it in the current Gentoo tree. I am not sure if a separate package would be the way to go, or if the net-mail/notmuch ebuild should be modified. The latter already supports Python bindings, so adding Ruby bindings support there seems more natural to me.

The reason for me asking is that there is a fresh release of the notmuch-vim plugin available, and I have started a pull request for a new package (see https://github.com/gentoo/gentoo/pull/21559). This plugin requires Ruby bindings.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2021-07-08 08:22:16 UTC
I would say if it's possible to make bindings a separate ebuild - take that route.
current ebuild is complicated enough already, no need to add more.
Comment 2 ndaman 2021-11-21 13:39:42 UTC
Created attachment 754306 [details]
ebuild with ruby bindings

A simple ebuild modification to both bump the version to 0.34.1 and add ruby bindings support via use flag. I just used notmuch's makefile, so there were only a handful of lines needed, but it's my first time working on an ebuild, so there may be mistakes (I've only tested it on my machine, where it does successfully add notmuch ruby bindings, but that's about all I can say about it).
Comment 3 Georgy Yakovlev archtester gentoo-dev 2021-11-24 05:28:08 UTC
sorry but this is not correct way of installing ruby modules in gentoo.
it only installs for single ruby version.