Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13816 - dev-perl/Parse-Yapp missing sample code
Summary: dev-perl/Parse-Yapp missing sample code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 20:52 UTC by Arthur Ward
Modified: 2003-10-06 05:13 UTC (History)
1 user (show)

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


Attachments
Parse-Yapp ebuild that installs the Calc.yp and YappParse.yp examples (Parse-Yapp-1.05-r2.ebuild,690 bytes, application/octet-stream)
2003-10-03 01:28 UTC, Doug Weimer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Ward 2003-01-12 20:52:46 UTC
The sample grammars Calc.yp and ParseYapp.yp are missing after "emerge Parse-
Yapp". If I unmerge the ebuild and install Parse::Yapp using CPAN, I do get the 
samples.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2003-01-14 11:54:29 UTC
Will look, thanks.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-25 16:46:37 UTC
any news ?
Comment 3 Doug Weimer 2003-10-03 01:28:19 UTC
Created attachment 18656 [details]
Parse-Yapp ebuild that installs the Calc.yp and YappParse.yp examples

I attached a new ebuild that adds a src_install() function to handle the
Calc.yp and YappParse.yp examples. The diff is pretty self explanatory:

diff -u /usr/portage/dev-perl/Parse-Yapp/Parse-Yapp-1.05-r1.ebuild
Parse-Yapp-1.05-r2.ebuild
--- /usr/portage/dev-perl/Parse-Yapp/Parse-Yapp-1.05-r1.ebuild	2003-08-06
19:42:37.000000000 -0700
+++ Parse-Yapp-1.05-r2.ebuild	2003-10-03 01:26:27.000000000 -0700
@@ -15,3 +15,10 @@
 KEYWORDS="x86 amd64 sparc  ~ppc ~alpha"
  
 S=${WORKDIR}/${MY_P}
+
+src_install() {
+	perl-module_src_install
+
+	insinto /usr/share/doc/${PF}/examples
+	doins Calc.yp YappParse.yp
+}
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2003-10-06 05:13:28 UTC
yeesh. old bug, now fixed. thanks arthur!