Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577250 - dev-lua/lpeg unconditionally requires dev-lang/lua when it works with dev-lang/luajit
Summary: dev-lua/lpeg unconditionally requires dev-lang/lua when it works with dev-lan...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
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: 2016-03-12 22:53 UTC by Aric Belsito
Modified: 2016-04-21 22:37 UTC (History)
0 users

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


Attachments
Modified ebuild to allow for building with luajit. (lpeg-1.0.0-r1.ebuild,1.14 KB, text/plain)
2016-03-12 22:53 UTC, Aric Belsito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aric Belsito 2016-03-12 22:53:35 UTC
Created attachment 428076 [details]
Modified ebuild to allow for building with luajit.

The dev-lua/lpeg package requires dev-lang/lua unconditionally, but also builds with luajit.

For people using luajit it would be nice to include a use flag so we don't always have to pull in dev-lang/lua.

The conditionals in the ebuild I provided are kind of a hack. Maybe there's a better way?
Comment 1 Pacho Ramos gentoo-dev 2016-03-14 16:11:03 UTC
Do you want to proxy maintain this package?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

Thanks
Comment 2 Aric Belsito 2016-04-21 00:23:03 UTC
@Pacho

How do I go about doing that?
Comment 3 Patrice Clement (RETIRED) gentoo-dev 2016-04-21 22:37:38 UTC
commit 03538dca961bb5d299562e1ec08cb27cd5a5dadc (HEAD -> master)
Author:     Aric Belsito <lluixhi@gmail.com>
AuthorDate: Wed Apr 20 18:30:33 2016 -0700
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Apr 21 22:22:36 2016 +0000

dev-lua/lpeg: revbump to 1.0.0-r1

Bring up to EAPI 6
Add LuaJIT Support
Install re.lua

Gentoo-Bug: https://bugs.gentoo.org/577250
Closes: https://github.com/gentoo/gentoo/pull/1317

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

dev-lua/lpeg/lpeg-1.0.0-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
dev-lua/lpeg/metadata.xml         |  4 ++++
2 files changed, 52 insertions(+)
create mode 100644 dev-lua/lpeg/lpeg-1.0.0-r1.ebuild