Gentoo Archives: gentoo-commits

From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/sat4j-core: ChangeLog sat4j-core-2.1.1.ebuild
Date: Mon, 05 Apr 2010 07:29:17
Message-Id: E1NygkB-0007Sv-2R@stork.gentoo.org
1 ali_bush 10/04/05 07:29:11
2
3 Modified: ChangeLog
4 Added: sat4j-core-2.1.1.ebuild
5 Log:
6 Version Bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 dev-java/sat4j-core/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sat4j-core/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sat4j-core/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sat4j-core/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 20 Mar 2010 13:50:56 -0000 1.2
23 +++ ChangeLog 5 Apr 2010 07:29:10 -0000 1.3
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-java/sat4j-core
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v 1.2 2010/03/20 13:50:56 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v 1.3 2010/04/05 07:29:10 ali_bush Exp $
29 +
30 +*sat4j-core-2.1.1 (05 Apr 2010)
31 +
32 + 05 Apr 2010; Alistair Bush <ali_bush@g.o> +sat4j-core-2.1.1.ebuild:
33 + Version Bump.
34
35 20 Mar 2010; Pacho Ramos <pacho@g.o> sat4j-core-2.1.ebuild:
36 amd64 stable, bug 310181
37
38
39
40 1.1 dev-java/sat4j-core/sat4j-core-2.1.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sat4j-core/sat4j-core-2.1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sat4j-core/sat4j-core-2.1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: sat4j-core-2.1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/sat4j-core-2.1.1.ebuild,v 1.1 2010/04/05 07:29:10 ali_bush Exp $
50
51 EAPI="2"
52
53 MY_PN="org.${PN//-/.}"
54 MY_PV="20090826"
55 BUILD_PV="2.4"
56 JAVA_PKG_IUSE="doc source"
57
58 inherit java-pkg-2 java-ant-2
59
60 DESCRIPTION="Lightweight constraint programming with a SAT solver"
61 HOMEPAGE="http://www.sat4j.org/"
62 SRC_URI="http://download.forge.objectweb.org/sat4j/${PN}-v${MY_PV}.zip
63 http://download.forge.objectweb.org/sat4j/build-${BUILD_PV}.xml -> ${P}-build.xml"
64 LICENSE="LGPL-2.1"
65 SLOT="2"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND=">=virtual/jre-1.5"
70 DEPEND=">=virtual/jdk-1.5"
71
72 S="${WORKDIR}"
73
74 src_unpack() {
75 unpack ${PN}-v${MY_PV}.zip
76 }
77
78 java_prepare() {
79 mkdir -p core/{lib,src} || die
80
81 # Don't complain about missing javadoc stylesheet.
82 touch core/lib/stylesheet.css
83
84 # Grab build.xml. Don't fetch from CVS.
85 sed 's/depends="prepare,getsource"/depends="prepare"/g' \
86 "${DISTDIR}/${P}-build.xml" > build.xml || die
87
88 # Unpack manifest.
89 cd core || die
90 jar xf "${WORKDIR}/${MY_PN}.jar" META-INF || die
91
92 # Unpack sources.
93 cd src || die
94 jar xf "${WORKDIR}/${MY_PN}-src.jar" || die
95 }
96
97 EANT_BUILD_TARGET="core"
98 EANT_DOC_TARGET="javadoc -Dmodule=core -Dlib=core/lib"
99
100 src_install() {
101 java-pkg_dojar dist/CUSTOM/${MY_PN}.jar
102 use doc && java-pkg_dojavadoc api/core
103 use source && java-pkg_dosrc core/src/org
104 }