diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-07-10 18:49:44 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-07-10 18:49:44 +0000 |
commit | 6bb9ee814b198d615e4fe31fd0a2473df50f95e7 (patch) | |
tree | bc7bb844ac1dcb2f8fc86ca005b09fe94e461507 /dev-java/zemberek | |
parent | Version bump per bug #231380. (diff) | |
download | gentoo-2-6bb9ee814b198d615e4fe31fd0a2473df50f95e7.tar.gz gentoo-2-6bb9ee814b198d615e4fe31fd0a2473df50f95e7.tar.bz2 gentoo-2-6bb9ee814b198d615e4fe31fd0a2473df50f95e7.zip |
Version bump. Add src_test.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'dev-java/zemberek')
-rw-r--r-- | dev-java/zemberek/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/zemberek/zemberek-2.1.ebuild (renamed from dev-java/zemberek/zemberek-2.1_rc1.ebuild) | 22 |
2 files changed, 24 insertions, 6 deletions
diff --git a/dev-java/zemberek/ChangeLog b/dev-java/zemberek/ChangeLog index 44f48aff746b..ba6febf8a295 100644 --- a/dev-java/zemberek/ChangeLog +++ b/dev-java/zemberek/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/zemberek # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/ChangeLog,v 1.4 2008/06/21 11:51:50 serkan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/ChangeLog,v 1.5 2008/07/10 18:49:44 serkan Exp $ + +*zemberek-2.1 (10 Jul 2008) + + 10 Jul 2008; Serkan Kaba <serkan@gentoo.org> -zemberek-2.1_rc1.ebuild, + +zemberek-2.1.ebuild: + Version bump. Add src_test. *zemberek-2.1_rc1 (21 Jun 2008) diff --git a/dev-java/zemberek/zemberek-2.1_rc1.ebuild b/dev-java/zemberek/zemberek-2.1.ebuild index 6d22b091fe4c..eb45be00acbd 100644 --- a/dev-java/zemberek/zemberek-2.1_rc1.ebuild +++ b/dev-java/zemberek/zemberek-2.1.ebuild @@ -1,33 +1,41 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/zemberek-2.1_rc1.ebuild,v 1.1 2008/06/21 11:51:50 serkan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/zemberek/zemberek-2.1.ebuild,v 1.1 2008/07/10 18:49:44 serkan Exp $ EAPI=1 -JAVA_PKG_IUSE="source doc" +JAVA_PKG_IUSE="source doc test" inherit eutils java-pkg-2 java-ant-2 DESCRIPTION="Zemberek NLP library" HOMEPAGE="http://code.google.com/p/zemberek/" -SRC_URI="http://${PN}.googlecode.com/files/${P}-src.zip" +SRC_URI="http://${PN}.googlecode.com/files/${P}-nolibs-src.zip" LICENSE="MPL-1.1" SLOT="0" KEYWORDS="~amd64 ~x86" LANGS="tr tk" -S=${WORKDIR}/${P}-src +S=${WORKDIR}/${P}-nolibs-src IUSE="linguas_tk +linguas_tr" RDEPEND=">=virtual/jre-1.5" DEPEND=">=virtual/jdk-1.5 + test? + ( + dev-java/junit:4 + dev-java/ant-junit4 + ) app-arch/unzip" src_unpack() { unpack ${A} - rm -v "${S}"/lib/gelistirme/*.jar || die + cd "${S}" || die + mkdir -p lib/{dagitim,gelistirme} || die + epatch "${FILESDIR}"/${P}-287-kitabevi.patch + use test && java-pkg_jarfrom --build-only --into lib/gelistirme junit-4 junit.jar } src_compile() { @@ -52,3 +60,7 @@ src_install() { dodoc dokuman/lisanslar/* || die dodoc surumler.txt || die } + +src_test() { + ANT_TASKS="ant-junit4" eant unit-test +} |