tomwij      14/03/08 18:07:02

  Modified:             ChangeLog
  Added:                cos-20021105-r3.ebuild
  Removed:              cos-20021105-r2.ebuild
  Log:
  Revision bump. EAPI 5.
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 
6D34E57D)

Revision  Changes    Path
1.5                  dev-java/cos/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/cos/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/cos/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/cos/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/cos/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   5 Jun 2012 14:28:17 -0000       1.4
+++ ChangeLog   8 Mar 2014 18:07:01 -0000       1.5
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/cos
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/ChangeLog,v 1.4 2012/06/05 
14:28:17 sera Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/ChangeLog,v 1.5 2014/03/08 
18:07:01 tomwij Exp $
+
+*cos-20021105-r3 (08 Mar 2014)
+
+  08 Mar 2014; Tom Wijsman <[email protected]> +cos-20021105-r3.ebuild,
+  -cos-20021105-r2.ebuild:
+  Revision bump. EAPI 5.
 
   05 Jun 2012; Ralph Sennhauser <[email protected]> cos-20021105-r2.ebuild:
   Add missing build dep app-arch/unzip. #371501
@@ -17,4 +23,3 @@
   10 Feb 2007; Joshua Nichols <[email protected]> +files/build-20021105.xml,
   +metadata.xml, +cos-20021105-r1.ebuild:
   Initial commit, bug #97011.
-



1.1                  dev-java/cos/cos-20021105-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/cos/cos-20021105-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/cos/cos-20021105-r3.ebuild?rev=1.1&content-type=text/plain

Index: cos-20021105-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/cos-20021105-r3.ebuild,v 1.1 
2014/03/08 18:07:01 tomwij Exp $

EAPI="5"

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-ant-2

MY_PV=05Nov2002
MY_P=${PN}-${MY_PV}

DESCRIPTION="The com.oreilly.servlet package is a class library for servlet 
developers."
HOMEPAGE="http://servlets.com/cos/";
SRC_URI="http://servlets.com/${PN}/${MY_P}.zip";

LICENSE="cos"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="${JAVA_PKG_IUSE}"

RDEPEND=">=virtual/jre-1.4
        java-virtuals/servlet-api:2.3"

DEPEND=">=virtual/jdk-1.4
        app-arch/unzip:0
        ${RDEPEND}"

S="${WORKDIR}"

java_prepare() {
        rm -r lib classes *.war || die

        # TODO: Not sure how to fix the compilation error for this class;
        # so, we'll just delete it for now...
        rm src/com/oreilly/servlet/CacheHttpServlet.java || die

        cp "${FILESDIR}"/build-${PV}.xml build.xml || die

        cat > build.properties <<-EOF
                classpath=$(java-pkg_getjars servlet-api-2.3)
        EOF
}

src_compile() {
        eant -Dproject.name=${PN} jar $(use_doc)
}

src_install() {
        java-pkg_dojar dist/${PN}.jar
        dodoc readme.txt license.txt

        use doc && java-pkg_dojavadoc dist/doc/api
        use source && java-pkg_dosrc src/com
}




Reply via email to