Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28074 - Expect perl module ebuild
Summary: Expect perl module ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 28077
  Show dependency tree
 
Reported: 2003-09-06 14:06 UTC by Vadim Trochinsky
Modified: 2004-01-16 09:51 UTC (History)
1 user (show)

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


Attachments
Expect module ebuild (Expect-1.15.ebuild,615 bytes, text/plain)
2003-09-06 14:07 UTC, Vadim Trochinsky
Details
Expect module ebuild (Expect-1.15.ebuild,615 bytes, application/octet-stream)
2003-09-06 14:08 UTC, Vadim Trochinsky
Details
Test case (very simple) (pyExpect.pl,378 bytes, text/plain)
2003-09-12 03:16 UTC, Rob Davies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Trochinsky 2003-09-06 14:06:55 UTC
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:
Comment 1 Vadim Trochinsky 2003-09-06 14:07:48 UTC
Created attachment 17184 [details]
Expect module ebuild
Comment 2 Vadim Trochinsky 2003-09-06 14:08:17 UTC
Created attachment 17185 [details]
Expect module ebuild
Comment 3 Vadim Trochinsky 2003-09-06 14:16:51 UTC
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.
Comment 4 Rob Davies 2003-09-12 03:12:58 UTC
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. 
Comment 5 Rob Davies 2003-09-12 03:16:47 UTC
Created attachment 17557 [details]
Test case (very simple)

Just start's python interactively and checks 2+2, returns 4.
Comment 6 Eric Sammer (RETIRED) gentoo-dev 2004-01-16 09:51:57 UTC
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.