Magellan Linux

Diff of /trunk/extras/junit/junit-4.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17415 by niro, Tue Jun 11 11:03:33 2013 UTC revision 17416 by niro, Tue Jun 11 12:46:52 2013 UTC
# Line 9  PCAT="dev-java" Line 9  PCAT="dev-java"
9  DESCRIPTION="JUnit is a simple framework to write repeatable tests."  DESCRIPTION="JUnit is a simple framework to write repeatable tests."
10  HOMEPAGE="http://junit.org/"  HOMEPAGE="http://junit.org/"
11    
12  DEPEND=">= virtual/java"  DEPEND=">= virtual/java
13     >= dev-java/hamcrest-1.3"
14    
15  SDEPEND=">= virtual/java-jdk  SDEPEND=">= virtual/java-jdk
16   >= dev-java/apache-ant-1.8.2   >= dev-java/apache-ant-1.8.2
17   >= app-arch/unzip-5"   >= app-arch/unzip-5"
# Line 20  COID="c62e2df" Line 22  COID="c62e2df"
22  SRCFILE="r${PVER}"  SRCFILE="r${PVER}"
23  SRCDIR="${BUILDDIR}/junit-team-${PNAME}-${COID}"  SRCDIR="${BUILDDIR}/junit-team-${PNAME}-${COID}"
24    
 msetfeature "!check"  
25  sminclude java  sminclude java
26    
27  SRC_URI=(  SRC_URI=(
# Line 40  src_compile() Line 41  src_compile()
41  {  {
42   cd ${SRCDIR}   cd ${SRCDIR}
43   ant jars || die   ant jars || die
44    
45     # fix missing Manifest
46     jar ufm junit-dep-${PVER}-SNAPSHOT.jar ${SRCDIR}/Manifest.txt || die
47    }
48    
49    src_check()
50    {
51     cd ${SRCDIR}
52     ant test || die
53  }  }
54    
55  src_install()  src_install()
# Line 47  src_install() Line 57  src_install()
57   cd ${SRCDIR}   cd ${SRCDIR}
58    
59   # minstalljar adds pver automatically - so we rename the jars   # minstalljar adds pver automatically - so we rename the jars
60   cp junit${PVER}/junit-${PVER}.jar junit.jar || die   cp junit${PVER}/junit-${PVER}-SNAPSHOT.jar junit.jar || die
61   cp junit${PVER}/junit-dep-${PVER}.jar junit-dep.jar || die   cp junit${PVER}/junit-dep-${PVER}-SNAPSHOT.jar junit-dep.jar || die
62    
63   minstalljar junit.jar || die   minstalljar junit.jar || die
64   minstalljar junit-dep.jar || die   minstalljar junit-dep.jar || die

Legend:
Removed from v.17415  
changed lines
  Added in v.17416