summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 22:14:11 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-12-25 22:14:11 +0000
commit809e96dbfab2402e5f7f2fd6baa94d0cbfeca739 (patch)
treed9fea924685cc592bb3f68041d9c28d5fb3c5f9b /dev-java/sat4j-core
parentInitial commit (diff)
downloadhistorical-809e96dbfab2402e5f7f2fd6baa94d0cbfeca739.tar.gz
historical-809e96dbfab2402e5f7f2fd6baa94d0cbfeca739.tar.bz2
historical-809e96dbfab2402e5f7f2fd6baa94d0cbfeca739.zip
dev-java/sat4j-core: version bump
Package-Manager: portage-2.1.10.43/cvs/Linux x86_64
Diffstat (limited to 'dev-java/sat4j-core')
-rw-r--r--dev-java/sat4j-core/ChangeLog9
-rw-r--r--dev-java/sat4j-core/Manifest5
-rw-r--r--dev-java/sat4j-core/sat4j-core-2.3.1.ebuild59
3 files changed, 70 insertions, 3 deletions
diff --git a/dev-java/sat4j-core/ChangeLog b/dev-java/sat4j-core/ChangeLog
index 02a277c354a6..2bc946866a27 100644
--- a/dev-java/sat4j-core/ChangeLog
+++ b/dev-java/sat4j-core/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/sat4j-core
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v 1.10 2010/10/17 12:33:27 caster Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v 1.11 2011/12/25 22:14:11 fordfrog Exp $
+
+*sat4j-core-2.3.1 (25 Dec 2011)
+
+ 25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> +sat4j-core-2.3.1.ebuild:
+ Version bump
17 Oct 2010; Vlastimil Babka <caster@gentoo.org> -sat4j-core-2.1.ebuild,
-sat4j-core-2.1.1.ebuild:
diff --git a/dev-java/sat4j-core/Manifest b/dev-java/sat4j-core/Manifest
index 5e4812cf05d3..8d3d810f6e3e 100644
--- a/dev-java/sat4j-core/Manifest
+++ b/dev-java/sat4j-core/Manifest
@@ -1,5 +1,8 @@
DIST sat4j-core-2.2.0-build.xml 9458 RMD160 a42173b5390cbf8027d180eb8d857cbae124e29b SHA1 70ce855116615e1e13283e00dd2e20eeae2d5447 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8
+DIST sat4j-core-2.3.1-build.xml 9458 RMD160 a42173b5390cbf8027d180eb8d857cbae124e29b SHA1 70ce855116615e1e13283e00dd2e20eeae2d5447 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8
DIST sat4j-core-v20100623.zip 383901 RMD160 5f841c73ce4444dfae3a2b70c5750c018a3a7724 SHA1 678bf14d560e6056596670ff4508003a29909641 SHA256 9a331a640102ab9b4ff11bb7153d364eeedbdab0d19464d887c57636c3236a60
+DIST sat4j-core-v20111030.zip 443396 RMD160 3ff8b3fb2cdbfc57c56f6980692a52ee92cfc7b5 SHA1 5d9a737fe19adb2aa6d6fcf79c3408cde4949e16 SHA256 d6c72afb5bccaa00a437cc5a65514c5caa8feae2cd7881415a1b6ea0dbfbcb51
EBUILD sat4j-core-2.2.0.ebuild 1505 RMD160 2cfd9d635807acf9c6cbb504951475150b544df0 SHA1 3e3213850f40717e589892b519fdbdb95dc3c575 SHA256 df870db1cb71ba258b1c6e4ff6f59ced43d974a4faa663111b1e7bf4de71d8ce
-MISC ChangeLog 1620 RMD160 d4653bf89e610b248f762907d4063508a8719b7e SHA1 48797c63a50b229eab3be3348bf700863981dd3a SHA256 615140b3f063995e98c018f73d9178959a4bb7c83d87b0b6c2b098843f4013cf
+EBUILD sat4j-core-2.3.1.ebuild 1507 RMD160 2da6f6ff5185a74a9baceba2493de9ab1f5bf9d0 SHA1 288e78fc10c8a5165437012d317c52ae52c37380 SHA256 510d0e80001ee6ccc0d7e32e154f7878aecb9ecf13ca3d5cbe65940760c20a4e
+MISC ChangeLog 1749 RMD160 83714ccf76bf90f3a3b7c2de09eb10c460aa828d SHA1 cf9e77c9372e449053afe0f85c126570dc197675 SHA256 550488fae18ff43889cc4eac300d5ec65bafdabdd7059ad2138a94acc7f5fb74
MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b
diff --git a/dev-java/sat4j-core/sat4j-core-2.3.1.ebuild b/dev-java/sat4j-core/sat4j-core-2.3.1.ebuild
new file mode 100644
index 000000000000..2324234cc4a5
--- /dev/null
+++ b/dev-java/sat4j-core/sat4j-core-2.3.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/sat4j-core-2.3.1.ebuild,v 1.1 2011/12/25 22:14:11 fordfrog Exp $
+
+EAPI="2"
+
+MY_PN="org.${PN//-/.}"
+MY_PV="20111030"
+BUILD_PV="2.4"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Lightweight constraint programming with a SAT solver"
+HOMEPAGE="http://www.sat4j.org/"
+SRC_URI="http://download.forge.objectweb.org/sat4j/${PN}-v${MY_PV}.zip
+ http://download.forge.objectweb.org/sat4j/build-${BUILD_PV}.xml -> ${P}-build.xml"
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${PN}-v${MY_PV}.zip
+}
+
+java_prepare() {
+ mkdir -p core/{lib,src} || die
+
+ # Don't complain about missing javadoc stylesheet.
+ touch core/lib/stylesheet.css
+
+ # Grab build.xml. Don't fetch from CVS. Version file is gone.
+ sed -e 's/depends="prepare,getsource"/depends="prepare"/g' \
+ -e '/<replace/d' \
+ "${DISTDIR}/${P}-build.xml" > build.xml || die
+
+ # Unpack manifest.
+ cd core || die
+ jar xf "${WORKDIR}/${MY_PN}.jar" META-INF || die
+
+ # Unpack sources.
+ cd src || die
+ jar xf "${WORKDIR}/${MY_PN}-src.jar" || die
+}
+
+EANT_BUILD_TARGET="core"
+EANT_DOC_TARGET="javadoc -Dmodule=core -Dlib=core/lib"
+
+src_install() {
+ java-pkg_dojar dist/CUSTOM/${MY_PN}.jar
+ use doc && java-pkg_dojavadoc api/core
+ use source && java-pkg_dosrc core/src/org
+}