Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224495 - shunit2-2.0.3.ebuild (new ebuild)
Summary: shunit2-2.0.3.ebuild (new ebuild)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://www.forestent.com/wiki/ShUnit2...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-06-01 16:02 UTC by Maciej Blizinski
Modified: 2009-03-09 22:40 UTC (History)
1 user (show)

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


Attachments
shunit2-2.0.3.ebuild (shunit2-2.0.3.ebuild,763 bytes, text/plain)
2008-06-01 16:05 UTC, Maciej Blizinski
Details
shunit2-2.0.3.ebuild (shunit2-2.0.3.ebuild,822 bytes, text/plain)
2008-06-01 22:34 UTC, Maciej Blizinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Blizinski 2008-06-01 16:02:00 UTC
shUnit2 is a unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc.

Reproducible: Always
Comment 1 Maciej Blizinski 2008-06-01 16:05:51 UTC
Created attachment 155115 [details]
shunit2-2.0.3.ebuild

Based on the log4sh ebuild.
Comment 2 Marek Miller 2008-06-01 21:15:15 UTC
I've got few remarks:
 - I suggest installing some docs only if IUSE doc flag is set.
 - inherit eutils is unnecessary
 - during compilation I see following error:

Parsing the extracted ShellDoc
  extracting
Docbook XSLT
  downloading
  extracting
Parsing the documentation with DocBook
error : Unknown IO error

The compilation freezes for ~10 seconds and then ends sucessfully.
I have:
 app-text/docbook2X-0.8.8-r1
 
Comment 3 Maciej Blizinski 2008-06-01 22:34:35 UTC
Created attachment 155175 [details]
shunit2-2.0.3.ebuild

Thanks for your suggestions. Here's the updated ebuild.

- removed inherit eutils
- added project's homepage address
- removed docbook compilation
- added doc USE flag support

I'm not sure what doc files should be included by default. I guessed:

default:
CHANGES-2.0.txt
contributors.txt
README.txt
RELEASE_NOTES-2.0.0.txt
RELEASE_NOTES-2.0.1.txt
RELEASE_NOTES-2.0.2.txt
RELEASE_NOTES-2.0.3.txt
TODO.txt

doc USE flag includes:
design_doc.txt
shunit2.html
style.css
Comment 5 Maciej Blizinski 2008-09-16 20:26:17 UTC
I've seen Donnie Berkholz has put different shunit2 ebuild into Portage. This one can be scraped then.