Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49430 - Perl Expect does not have an ebuild.
Summary: Perl Expect does not have an ebuild.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 49434
Blocks:
  Show dependency tree
 
Reported: 2004-04-29 14:56 UTC by Raymond Page
Modified: 2004-05-01 07:58 UTC (History)
0 users

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


Attachments
Ebuild for Expect Perl Module (Expect-1.15.ebuild,519 bytes, text/plain)
2004-04-29 14:58 UTC, Raymond Page
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Page 2004-04-29 14:56:55 UTC
I have an ebuild for this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Raymond Page 2004-04-29 14:58:37 UTC
Created attachment 30355 [details]
Ebuild for Expect Perl Module

This ebuild has been tested and appears to function properly.
Comment 2 Eric Sammer (RETIRED) gentoo-dev 2004-04-29 19:32:34 UTC
I see that a few bugs have been filed that are required by this, but what dependency does this module fill? In other words, does this bug meet the criteria listed here: http://www.gentoo.org/doc/en/policy.xml#doc_chap2 (see the perl section)
Comment 3 Raymond Page 2004-04-29 21:52:19 UTC
It fulfills the dependency that I need this package for software that I've written (self fulfilling dependency).  I'm not sure what packages require the perl expect module, however I know that a lot of my code requires this.  Think of this as a module as valuable as DateManip and as such should be added to the portage tree.

As for which criteria it meets, I'm unsure, all I know is that this is the only module at cpan that provides this functionality.  Could you inform me which it fills?  Whoever wrote that criteria left it very cryptic.

I have no idea what g-cpan is.  Could you elaborate on that?
What is a .PM vs the module? according to "The module(s) provide tools, applications or other features (i.e. more than what their .PM offers)" It would seem that the module and .PM are not the same thing.
Comment 4 Eric Sammer (RETIRED) gentoo-dev 2004-04-30 20:40:39 UTC
To clarify, the policy is that we only add modules that either are a dependency of another package *in portage* or they provide additional tools. For example, LWP (libwww-perl) supplies, in addition to the modules, the lwp-mirror, GET, and POST command line utilities making it useful beyond just the modules. This is what is meant by "more than the .PM."

As for g-cpan, it is a command line tool that automatically generates an ebuild for any perl module in CPAN and installs it properly. Try 'g-cpan.pl <some module>' for modules not in portage and do not meet the criteria.

With regard to the criteria itself, it is very explicit in what will and will not be included in the portage tree. I do not see Expect as critical as DateManip or say DBI as unless it meets the criteria for some other reason, it will not be added. (On the other hand, if g-cpan does not work, feel free to reopen the bug and we'll add it.) Either way, thanks for hte submission.
Comment 5 Raymond Page 2004-04-30 23:49:31 UTC
I appreciate the clarifications greatly.  I appologize for being a burden, I'll try to follow the rules closer from now on.

Out of curiousity, why is dev-python/pexepect in the portage tree if dev-perl/Expect cannot exist?  Same goes for dev-tcltk/expect.  Obviously if those are included for their development environments, perl's Expect might be worth considering as valuable?

g-cpan worked to install the module.  I still think that Expect is a important enough tool that it should be included in the portage tree.  But deem it as you will, I'm new to figuring out what qualifies as a valid ebuild.

cheerio and again thank you for educating me
Comment 6 Eric Sammer (RETIRED) gentoo-dev 2004-05-01 07:58:48 UTC
Python's pexpect is included because there are far fewer packages for the python team to maintain:

esammer@ripley dev-python $ pwd
/usr/portage/dev-python
esammer@ripley dev-python $ ls -1 | wc -l
146

esammer@ripley dev-perl $ pwd
/usr/portage/dev-perl
esammer@ripley dev-perl $ ls -1 | wc -l
398

Python is not so stretched that it needs to limit what gets in.

As for TCL's expect...

esammer@ripley dev-tcltk $ ls -1 | wc -l
22

On top of that, TCL's expect package contains something like 7 command line tools including *the* expect binary that is used in shell scripting so it extends far beyond a TCL module.