Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292294

Summary: New Clojure eclass
Product: Gentoo Linux Reporter: Daniel Solano Gómez <gentoo>
Component: [OLD] JavaAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: enhancement CC: dschridde+gentoobugs, jauhien
Priority: High Keywords: InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292295    
Attachments: Clojure eclass
Updated eclass that uses Clojure(-contrib) slots.

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.