Browse Source

dev-java/netcdf: remove last-rited package

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
master
Andrew Ammerlaan 4 months ago
parent
commit
89c2d86997
No known key found for this signature in database GPG Key ID: A2E2304370447E8E
  1. 1
      dev-java/netcdf/Manifest
  2. 12
      dev-java/netcdf/metadata.xml
  3. 78
      dev-java/netcdf/netcdf-4.2.ebuild
  4. 10
      profiles/package.mask

1
dev-java/netcdf/Manifest

@ -1 +0,0 @@
DIST ncSrc-4.2.zip 59888846 BLAKE2B 08bd2ce623e081dc2c349ba64109abc39feba86c11dc3a536aaf8f18e31e6ce04983411e59807ce4720abe2c310682a82c30c4d2abd21ede7cbc951ceee7edcb SHA512 1cf22c55a43f53bbb573c6bcbc9e40b0020ed9d576c68a0d54639ca9892393735b25bfa0078fcb763c71d5d875fb1f315c6d580d6a859434d362693f6500d652

12
dev-java/netcdf/metadata.xml

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
The NetCDF-Java Library is a Java interface to NetCDF files,
as well as to many other types of scientific data formats.
</longdescription>
</pkgmetadata>

78
dev-java/netcdf/netcdf-4.2.ebuild

@ -1,78 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="doc examples source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Java Common Data Model (CDM) interface to to netCDF files"
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf-java/"
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/${PN}-java/v${PV}/ncSrc-${PV}.zip"
LICENSE="netCDF"
SLOT="0"
KEYWORDS="~amd64 ~x86"
CDEPEND="
dev-java/commons-codec:0
dev-java/commons-httpclient:3
dev-java/commons-logging:0
dev-java/ehcache:1.2
dev-java/jcommon:1.0
dev-java/jdom:0
dev-java/jfreechart:1.0
dev-java/jgoodies-forms:0
dev-java/joda-time:0
dev-java/junit:4
dev-java/log4j:0
dev-java/slf4j-api:0
dev-java/protobuf-java:0
"
RDEPEND="${CDEPEND}
>=virtual/jre-1.5"
DEPEND="${CDEPEND}
>=virtual/jdk-1.5
test? (
dev-java/ant-junit4
dev-java/hamcrest-core
)"
BDEPEND="app-arch/unzip"
# There is a from-source maven package in java-overlay, but it hasn't
# been merged into the Portage trunk yet.
S="${WORKDIR}"
src_prepare() {
default
java-pkg_jar-from --into lib/external commons-codec commons-codec.jar
java-pkg_jar-from --into lib/external commons-httpclient-3 commons-httpclient.jar
java-pkg_jar-from --into lib/external commons-logging commons-logging.jar
java-pkg_jar-from --into lib/external ehcache-1.2 ehcache.jar
java-pkg_jar-from --into lib/external jcommon-1.0 jcommon.jar
rm -f lib/external/jdom.jar || die
java-pkg_jar-from --into lib/external jdom jdom.jar
java-pkg_jar-from --into lib/external jfreechart-1.0 jfreechart.jar
java-pkg_jar-from --into lib/external jgoodies-forms forms.jar jgoodies-forms.jar
java-pkg_jar-from --into lib/external joda-time joda-time.jar
java-pkg_jar-from --into lib/external junit-4 junit.jar
java-pkg_jar-from --into lib/external log4j log4j.jar
java-pkg_jar-from --into lib/external protobuf-java protobuf.jar
java-pkg_jar-from --into lib/external slf4j-api slf4j-api.jar
}
src_compile() {
cd "${S}"/cdm && eant
use doc && eant javadoc
}
src_install() {
java-pkg_newjar cdm/target/${P}.jar ${PN}.jar
use doc && java-pkg_dojavadoc cdm/target/javadoc
use source && java-pkg_dosrc cdm/src/main/java/*
use examples && java-pkg_doexamples cdm/src/test/java/examples
}

10
profiles/package.mask

@ -30,16 +30,6 @@
#--- END OF EXAMPLES ---
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (08 May 2021)
# netcdf(-java) is horribly outdated, it requires dev-java/ehcache which is
# being removed. This ebuild cannot be moved into ::sci because the sources
# are no longer available outside of the Gentoo mirror. Newer versions of
# netcdf-java and ehcache use a maven based build system which currently does
# not work with portage. The only real solution would be to add a netcdf-bin
# package. If you need this software please complain on bugzilla or GitHub.
# Masked for removal when dev-java/ehcache is removed from ::gentoo (~30 days).
dev-java/netcdf
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (24 May 2021)
# This was originally added for the NationalInstruments/GPIB ebuilds, however
# due to the number of ebuilds it was decided to maintain these in ::natinst.

Loading…
Cancel
Save