Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292294 - New Clojure eclass
Summary: New Clojure eclass
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: 292295
  Show dependency tree
 
Reported: 2009-11-07 19:24 UTC by Daniel Solano Gómez
Modified: 2022-07-28 00:42 UTC (History)
2 users (show)

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


Attachments
Clojure eclass (clojure.eclass,5.05 KB, text/plain)
2009-11-07 19:26 UTC, Daniel Solano Gómez
Details
Updated eclass that uses Clojure(-contrib) slots. (clojure.eclass,5.37 KB, text/plain)
2010-01-09 14:47 UTC, Daniel Solano Gómez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Solano Gómez 2009-11-07 19:24:34 UTC
This is a new eclass that simplifies Clojure-based project packaging.  In particular, it extends the java-pkg-2 eclass with the following improvements:
1. Automatically inject virtual/{jdk,jre} into DEPEND/RDEPEND based on clojure version requested.
2. Get dependencies for Clojure and Clojure-contrib.
3. Provide new src_compile that adds 'clojure.jar' and 'clojure-contrib.jar' properties to EANT_EXTRA_ARGS.
4. Provide new clojure_dosrc that packages both *.java and *.clj files.

This ebuild will be available on java-experimental.
Comment 1 Daniel Solano Gómez 2009-11-07 19:26:31 UTC
Created attachment 209572 [details]
Clojure eclass
Comment 2 Daniel Solano Gómez 2010-01-09 14:47:48 UTC
Created attachment 215821 [details]
Updated eclass that uses Clojure(-contrib) slots.

This revised version of the eclass uses slots.  It should remain backwards compatible with the previous version.  It is found in java-experimental.
Comment 3 Daniel Solano Gómez 2010-03-23 15:55:38 UTC
I have committed this eclass to java-overlay.
Comment 4 Dennis Schridde 2018-05-10 19:44:46 UTC
Is this obsolete?  The most common way to build Clojure apps appears to be Leiningen or Boot nowadays.
Comment 5 anonymous 2020-01-02 07:10:30 UTC
I really want this in order to build leiningen projects into uberjars.
Comment 6 anonymous 2022-07-28 00:42:44 UTC
I realized JVM doesn't really integrate well with linux distribution package systems.

It's a lost cause. I don't use JVM anymore.