summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2020-07-20 15:05:01 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-23 14:56:04 +0200
commitfe2ae2d8c00ebcdc28bcacfac7e5cc92f5c8889b (patch)
treedc21be7be726daf6a3fb5ea84301fae9cd158666 /dev-java
parentdev-python/pycuda: Do not depend on setuptools (diff)
downloadgentoo-fe2ae2d8c00ebcdc28bcacfac7e5cc92f5c8889b.tar.gz
gentoo-fe2ae2d8c00ebcdc28bcacfac7e5cc92f5c8889b.tar.bz2
gentoo-fe2ae2d8c00ebcdc28bcacfac7e5cc92f5c8889b.zip
dev-java/jansi-native: verbump to 1.8
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: David Roman <davidroman96@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16752 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jansi-native/Manifest1
-rw-r--r--dev-java/jansi-native/jansi-native-1.8.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/jansi-native/Manifest b/dev-java/jansi-native/Manifest
index 54acd054fe5d..f2f4e1fb086d 100644
--- a/dev-java/jansi-native/Manifest
+++ b/dev-java/jansi-native/Manifest
@@ -1 +1,2 @@
DIST jansi-native-1.5.tar.gz 205008 BLAKE2B 94f46527165e1956640ceabf10ea6ae90fb461e331389823ebd9f86b2b0cadd0ed777e20787fd5bcc9388fc250be1d5415feefe4953fba9a5610870409940060 SHA512 29d178f013701b7e7844f899530f51486037e3a1403018ba4a41475ceb8d58afec768d177f64cbedd41adfb681ba08e578c2e18d956770bc039dfece8602a212
+DIST jansi-native-1.8.tar.gz 33043 BLAKE2B f7859a3cc9e882c8baa2e8a8a7598be9ec70c3575bf48e3fd8374323ffa84c5fa212e29c52fe382aed99398435bfece46fc5881a83b01e3017ee6b0834b8968e SHA512 6216afd1ec64dad0c6bc6c4ff1cf4192e92349b71f8737ea8799aaac7be74ffee71a68569c0bbab95c95b4491f2135ede9cbedb31bf55ae832e197c43cfd6fff
diff --git a/dev-java/jansi-native/jansi-native-1.8.ebuild b/dev-java/jansi-native/jansi-native-1.8.ebuild
new file mode 100644
index 000000000000..c4c23041e597
--- /dev/null
+++ b/dev-java/jansi-native/jansi-native-1.8.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit vcs-snapshot java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Native JNI component for dev-java/jansi"
+HOMEPAGE="http://jansi.fusesource.org/"
+SRC_URI="https://github.com/fusesource/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+CDEPEND="dev-java/hawtjni-runtime:0"
+
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.8"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.8"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_GENTOO_CLASSPATH="hawtjni-runtime"
+
+src_prepare() {
+ # Easier to use java-pkg-simple.
+ rm -v pom.xml || die
+
+ default
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ dodoc {changelog,readme}.md
+}