Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159398 - new ebuild dev-java/rome-0.9
Summary: new ebuild dev-java/rome-0.9
Status: RESOLVED FIXED
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:
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2006-12-29 10:41 UTC by Bart Hanssens
Modified: 2007-01-20 22:39 UTC (History)
1 user (show)

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


Attachments
dev-java/rome-0.9.ebuild (rome-0.9.ebuild,1.06 KB, text/plain)
2006-12-29 10:44 UTC, Bart Hanssens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Hanssens 2006-12-29 10:41:49 UTC
Hi,


I've created an ebuild for dev-java/rome 0.9 (java library/tools for generating, parsing and converting Atom and RSS feeds)

It's the first ebuild I've ever made, so please let me know if I made some horrendous mistakes :-)

The ebuild does contain a src_test block, but one of the unit tests fails due to a small error/omission in Rome's build.xml, so it's commented out (reported to the Rome bug list, issue 55)

Also note that the SRC_URI contains asterisks (*), so there might be a warning ("wildcards not supported in HTTP") when emerge starts to download the source.


Best regards,

Bart
Comment 1 Bart Hanssens 2006-12-29 10:44:24 UTC
Created attachment 104944 [details]
dev-java/rome-0.9.ebuild
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-12-29 12:08:33 UTC
I had rome-0.8 in an overlay, just updated it to 0.9.

See https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-java/rome
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-12-29 12:21:01 UTC
Some notes on your ebuild:

* ${P} is equivalent to ${PN}-${PV}, so use that whenever possible.
* jdom is slotted funkily, so make sure to depend on a more specific atom, ie ~dev-java/jdom-1.0
* S defaults to ${WORKDIR}/${P}, so it's not necessary to specify it in this case.
* java-pkg-2 provides a default src_compile, which would cover this particular case
* maybe the broken test should be disabled/deleted, instead of disabling them all?
* don't install versioned jars. use java-pkg_newjar to rename it to just ${PN}.
Comment 4 Bart Hanssens 2006-12-30 01:41:06 UTC
ok, thanks for the feedback.
I'll take a look at the java overlay wiki
Comment 5 Miroslav Šulc gentoo-dev 2007-01-20 22:39:57 UTC
I improved the ebuild and moved it to tree.