Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353197 - dev-perl/Data-Dump-Streamer should have USE flag to toggle DDS inclusion.
Summary: dev-perl/Data-Dump-Streamer should have USE flag to toggle DDS inclusion.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 05:44 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2011-02-08 08:51 UTC (History)
0 users

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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-01-30 05:44:55 UTC
During installation, you'll see a message saying :
---

I can install a shortcut so you can use the package 'DDS'
as though it was 'Data::Dump::Streamer'. This is handy for oneliners.
*Note* that if you select 'no' below and you already
have it installed then it will be removed.

Would you like me to install the shortcut? (yes/no)
---
And installers that don't permit user input simply result in this defaulting as 'No'. 

A preferred option would be having this controlled by USE="" , and this installer has provisions for this by injecting a .answer file into the build environment. 

I've built an ebuild that works for me in the perl-experimental overlay, that includes basic modifications to the .ebuild and metadata.xml to support this.

http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=tree;f=dev-perl/Data-Dump-Streamer;hb=0f91a567abaf8047eafdb2663d8985a594dd7694

ebuild: 
http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=blob;f=dev-perl/Data-Dump-Streamer/Data-Dump-Streamer-2.250-r1.ebuild;h=f5ba3bdc489b7557c54b76a9be5782ac36832455;hb=0f91a567abaf8047eafdb2663d8985a594dd7694

metadata.xml:
http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=blob;f=dev-perl/Data-Dump-Streamer/metadata.xml;h=34f2d611dbf6546445f9a4b40ddc05eae446fb7b;hb=0f91a567abaf8047eafdb2663d8985a594dd7694


Thanks.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-02-08 08:51:17 UTC
Forgotten about this bugreport:
dev-perl/Data-Dump-Streamer-2.310 always installs the DDS shortcut. Saved one useflag.