summaryrefslogtreecommitdiff
path: root/dev-java/javacsv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/javacsv
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/javacsv')
-rw-r--r--dev-java/javacsv/Manifest3
-rw-r--r--dev-java/javacsv/javacsv-2.1.ebuild41
-rw-r--r--dev-java/javacsv/metadata.xml15
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/javacsv/Manifest b/dev-java/javacsv/Manifest
new file mode 100644
index 000000000000..5823f9347d66
--- /dev/null
+++ b/dev-java/javacsv/Manifest
@@ -0,0 +1,3 @@
+DIST javacsv2.1.zip 89333 BLAKE2B b13970211056f8c3dbd96a358fe945d3a0221be2fa57a60a7b196b9ba15721445312be2b4a97015cd7609d3cce9c77936b2e899aeef6fa3f5afe205ebf70557b SHA512 beefeae1306163a21d4237dc3cccde9ffba0435fa898d95a77f33ec45f383e81e7a804d33918ba2a47fb004ed6f8734b8567d11a3ad63d1be3f9d1fa53e153ee
+EBUILD javacsv-2.1.ebuild 878 BLAKE2B 41e84c7e2e52672680cebcc18e621dcde46f322d8ab7dac75132b0f6e7e508e162a33b8ce1af06d36b2b04d5d32cdd89faabd8ec407e84acd66f25cbf516f7e5 SHA512 33cd6033ddc54bffc3f864ac26569f5799df58ca4972d0ced6674b79002eb371c08b6767e49a4467057b535d0d398362a832984bcb54a2619e1120ba6baadff5
+MISC metadata.xml 425 BLAKE2B a0eec617af8311b6dbe9f1faf313c9b22687b68ad97d922394d5803f02ae0ad29882aa0158fd3478034387d97ed82f131d094a626e837b01dc7c8f5a2756b471 SHA512 b67be9d1ae7101c8c600a86d93cf6d4db67a995293da28df016ab2da205465fcb05787f8a32474496e9f0fb950d9c0585bee842c2351e2a1da98145d7906b6dd
diff --git a/dev-java/javacsv/javacsv-2.1.ebuild b/dev-java/javacsv/javacsv-2.1.ebuild
new file mode 100644
index 000000000000..a72dd3b86e3c
--- /dev/null
+++ b/dev-java/javacsv/javacsv-2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+RESTRICT="test"
+
+DESCRIPTION="Java library for reading and writing CSV and plain delimited text files"
+HOMEPAGE="https://www.csvreader.com/java_csv.php"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/}.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ rm -rfv doc "${PN}".jar || die "error cleaning up"
+ mv -v src/AllTests.java . || die "error moving tests"
+}
+
+EANT_BUILD_TARGET="dist"
+EANT_DOC_TARGET=""
+
+src_compile() {
+ java-pkg-2_src_compile
+ use doc && eant -f "${S}"/javadoc.xml
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src
+}
diff --git a/dev-java/javacsv/metadata.xml b/dev-java/javacsv/metadata.xml
new file mode 100644
index 000000000000..238d27a99f06
--- /dev/null
+++ b/dev-java/javacsv/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">javacsv</remote-id>
+ </upstream>
+</pkgmetadata>