mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/commons-net: Clean up old.
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST commons-net-1.4.1-src.tar.gz 229198 SHA256 fdea779f261f70b9bbec40121c830b11e3e63b6188f662f95505045ff8d44add SHA512 6ac697536eff947cd0aa828c887e9cc4046c49a593c760bbc59db7e04cf0d7456e84d22504cfa2f6915315dc061e3499382f05bd7740bf79a532a4d9d42c0da8 WHIRLPOOL 44d984c71212f7bb282a671dcd8a463f5ddf9c798f8d676b5587e2341d21a1ed681f7ca6bc91f74162008fe24fc34912aec2dba67fce6f58a3b6b3d2b129b3dc
|
||||
DIST commons-net-3.2-src.tar.gz 378351 SHA256 f9fd207a28dc357a6a515c69fb83009836b7426d6c25095d70148a6cea7d1df1 SHA512 2152b0c524320702c336b21308bb8166e00487938430b83e08d65b836ab775c372c9251957c674e0bccff6815fc3ed3bdb7113a0d2a140c53f64c2f557eef2ba WHIRLPOOL 45b80205a519795652dc6708c85b1ebe52172e9c8ffe7e01a581cd6e9ebfb4a57cdb43bba30a6b25720c72c4bbce6eda8892fe272baad6b120d6231a05c41bf2
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source" # junit
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${P}-src"
|
||||
DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions"
|
||||
HOMEPAGE="http://commons.apache.org/net/"
|
||||
SRC_URI="mirror://apache/jakarta/commons/net/source/${MY_P}.tar.gz"
|
||||
|
||||
# dev-java/oro had a package move to jakarta-oro so depend on a version
|
||||
# that oro did not have. Most likely the cause of https://bugs.gentoo.org/show_bug.cgi?id=183595
|
||||
COMMON_DEP="
|
||||
>=dev-java/jakarta-oro-2.0.8-r2"
|
||||
RDEPEND=">=virtual/jre-1.3
|
||||
${COMMON_DEP}
|
||||
"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
${COMMON_DEP}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# disabling unit tests:
|
||||
# http://issues.apache.org/bugzilla/show_bug.cgi?id=37985
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
mkdir -p target/lib
|
||||
cd target/lib
|
||||
java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar oro.jar
|
||||
|
||||
cd "${S}"
|
||||
# always disable tests
|
||||
sed -i 's/depends="compile,test"/depends="compile"/' build.xml || die "Failed to disable junit"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar ${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use examples && java-pkg_doexamples src/java/examples
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
||||
@@ -12,7 +12,7 @@ inherit eutils java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
MY_P="${P}-src"
|
||||
|
||||
DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions"
|
||||
DESCRIPTION="Java library emulating the client side of many basic Internet protocols"
|
||||
HOMEPAGE="http://commons.apache.org/net/"
|
||||
SRC_URI="mirror://apache/commons/net/source/${MY_P}.tar.gz"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user