dev-java/json-simple: remove old>

This commit is contained in:
Michael Mair-Keimberger
2018-05-04 22:49:05 +02:00
committed by Patrice Clement
parent bc405329e3
commit 76253880c4
2 changed files with 0 additions and 48 deletions
-1
View File
@@ -1,2 +1 @@
DIST json-simple-1.1.tar.gz 22154 BLAKE2B 594717df45d56b4e70cee9aadca661a9da7e19c2a77e5ab2176396c48bdf061f25db0e4cbf5b93b12dc862dfca593a71dcd154f24c914a4d2ff510e3f4b11570 SHA512 f09cb298254a8f35b534670d6a1801eeaf58385529f459f413aed556df1ac577bea6e678a32065077abc851dc310b3af38b818f1737bd255f05e756d7e2da066
DIST json_simple-1.1-all.zip 44814 BLAKE2B 09a1bf3213c6724d167a514c47e9a4084c217687633f075d0a1019be253d3b37e1a26c7e291570f73a5942c5d7e586d4a8ce78e938e755cb3d8150f82dd0306d SHA512 02a5300456dbe2a1b5331b247ad964237d11d2281b35351f1f7bed6867eaf5bb6fb07ca1a50f87e30cd93221c5119e8b5f6f273357ab5fcfeda164ec119c0404
@@ -1,47 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
JAVA_PKG_IUSE="source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Simple Java toolkit for JSON"
HOMEPAGE="http://www.json.org"
MY_PN="${PN/-/_}"
MY_P="${MY_PN}-${PV}-all"
SRC_URI="https://json-simple.googlecode.com/files/${MY_P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4
test? ( dev-java/ant-junit )
app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}/${MY_P}"
java_prepare() {
epatch "${FILESDIR}/${P}-extra-constructors-from-azureus.patch"
rm -rv build lib || die
}
#JAVA_ANT_ENCODING="ISO-8859-1"
#EANT_BUILD_TARGET="dist"
JAVA_PKG_BSFIX_NAME+=" test.xml"
src_test() {
java-pkg_jar-from --into lib junit
ANT_TASKS="ant-junit" eant -f test.xml
}
src_install() {
java-pkg_newjar lib/${MY_P/-all/}.jar ${PN}.jar
dodoc README.txt AUTHORS.txt ChangeLog.txt || die
use source && java-pkg_dosrc src/org
}