Ebuild for the Expect module, used to write scripts that interact with interactive console programs. Needed for other Perl modules like Crypt::GPG Reproducible: Always Steps to Reproduce:
Created attachment 17184 [details] Expect module ebuild
Created attachment 17185 [details] Expect module ebuild
Sorry for the duplicated attachment. Bugzilla produced an error when adding it, and I accidentally resubmitted. I've sent an email to the webmaster about it.
Vadim, I've tested your ebuild, it seems fine to me :) but I'm not a Gentoo perl expert. >>> /usr/lib/perl5/vendor_perl/5.8.0/Expect.pm >>> /usr/lib/perl5/vendor_perl/5.8.0/Expect.pod >>> /usr/share/doc/Expect-1.15-r1/README.gz >>> /usr/share/doc/Expect-1.15-r1/MANIFEST.gz >>> /usr/share/doc/Expect-1.15-r1/Changes.gz >>> /usr/share/man/man3/Expect.3pm.gz I only tested with this (horrible)quick & dirty script I knocked up, see attachment I'll add in a minute (to avoid the error you got). Are there any useful 'use Expect;' scripts available for download to allow more thorough testing? Expect is very useful for perl-mongering sysadmins, configuring and checking on router's, starting up apache mod_ssl server's from a secure machine, and generally automating drudgery. Both Io-Tty & Expect haven't been altered since Q1 2002, and have been around for ever with perl5, so this module is stable and worthwhile addition to Gentoo.
Created attachment 17557 [details] Test case (very simple) Just start's python interactively and checks 2+2, returns 4.
The policy on perl ebuild is that they are only included if they are the dependency of another package in portage. Since Expect doesn't seem to meet these requirements, it can't be added. You should install perl modules using g-cpan.pl which will dynamically create the ebuild file on the fly and install the module. Thanks anyway for the submission.