Summary: | [java-overlay] dev-lang/clojure (new package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ravi Nanavati <ravi_n+gentoo> |
Component: | [OLD] Java | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creideiki+gentoo-bugzilla, gentoo, java |
Priority: | High | Keywords: | EBUILD, InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
attempt at updated ebuild
clojure-9999.ebuild builds clojure from svn hosted on googlecode. svn ebuild for clojure-contrib Ebuild for 1.1.0-rc2, adapted from java-overlay's 1.0.0. New ebuild for Clojure 1.1.0. Revised patch that includes slotting. Updated ebuild: fixed license, added testing |
Description
Ravi Nanavati
2009-01-16 08:06:49 UTC
Created attachment 178670 [details]
attempt at updated ebuild
The major changes required to the previous clojure ebuild were for the new location where clojure releases are distributed (Google code) and because the structure of the clojure release changed slightly. I have verified that this ebuild can bring up the clojure repl, but not more than that.
(In reply to comment #1) > Created an attachment (id=178670) [edit] > attempt at updated ebuild > > The major changes required to the previous clojure ebuild were for the new > location where clojure releases are distributed (Google code) and because the > structure of the clojure release changed slightly. I have verified that this > ebuild can bring up the clojure repl, but not more than that. > Thanks for the notification and submission. You can simplify the ebuild by defining S as ${WORKDIR}/${PN} (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=178670) [edit] > > attempt at updated ebuild > > > > The major changes required to the previous clojure ebuild were for the new > > location where clojure releases are distributed (Google code) and because the > > structure of the clojure release changed slightly. I have verified that this > > ebuild can bring up the clojure repl, but not more than that. > > > Thanks for the notification and submission. You can simplify the ebuild by > defining S as ${WORKDIR}/${PN} > Bumped in java-overlay based on your ebuild. Thank you for your contribution. Created attachment 179971 [details]
clojure-9999.ebuild builds clojure from svn hosted on googlecode.
Clojure already seems reasonable to run from svn checkouts.
Attached is the clojure-9999.ebuild. With only minor changes, this builds a working clojure from svn hosted on googlecode. These include no rm .jar and no changes.txt.
Since the upstream clojure release packages are currently named with the datestring (e.g. 20081217), this ebuild as named will not be regarded as a higher version number.
Depending on gentoo package naming conventions, this could be renamed clojure-svn-9999.ebuild. I do not know whether packages will soon depend on clojure, in which case some mechanism needs to inform portage that clojure-svn provides clojure (are virtuals still advocated?).
In my local portage, I have simply masked the 20081217 version for the time being, which works for me.
Created attachment 184250 [details]
svn ebuild for clojure-contrib
Here's a quick-and-dirty ebuild for clojure-contrib as well.
Note for security: The sources has a bundled copy of asm in a renamed package. Created attachment 214454 [details]
Ebuild for 1.1.0-rc2, adapted from java-overlay's 1.0.0.
I updated clojure-1.0.0.ebuild found in java-overlay to 1.1.0-rc2.
Created attachment 215744 [details]
New ebuild for Clojure 1.1.0.
New ebuild for clojure 1.1.0 (released 31 Dec 2009). This ebuild fixes a typo that failed to zip up sources and enhances to include Clojure sources as well.
Created attachment 215819 [details]
Revised patch that includes slotting.
I have revised my patch so that it now uses a "1.1" slot. When trying to compile the 1.0-compatible version of clojure-contrib, it fails to due namespace conflicts.
Also, I am willing to be a proxy maintainer for this and other clojure-related packages.
Created attachment 222977 [details]
Updated ebuild: fixed license, added testing
I've update my ebuild and added it to java-experimental. I have fixed a few things, particulary: the incorrect license and enabled tests.
I have moved the clojure-1.1.0 ebuild to java-overlay. Also, I have updated the clojure-1.0.0 ebuild with the correct license and fixed it so that it actually installs the sources (the -r1 version installs an empty zip file). clojure-1.1.0.ebuild is in portage. |