summaryrefslogtreecommitdiff
path: root/dev-java/moshi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/moshi
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/moshi')
-rw-r--r--dev-java/moshi/Manifest4
-rw-r--r--dev-java/moshi/metadata.xml11
-rw-r--r--dev-java/moshi/moshi-1.1.0.ebuild36
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/moshi/Manifest b/dev-java/moshi/Manifest
new file mode 100644
index 000000000000..c8a1b51ae62d
--- /dev/null
+++ b/dev-java/moshi/Manifest
@@ -0,0 +1,4 @@
+DIST moshi-parent-1.1.0.tar.gz 85572 SHA256 131e6f72d5f9052bbc4c588ed640873f7fe77efc865768b419b4c7f5652886d3 SHA512 58557f20a84f4b59f0b603b6e6dbe803285f5c066451dac72e9926ca57131b62fddd222b995dc233e1c7120fc7787fa5b2c6ddab33d0b8e69b8ea1147ca06549 WHIRLPOOL 9ccfa575c58920bd13a4926772e65ad9d2437eea9d86854b99fef540effe75cf77aad10ee35246c9cb74391e8e99029a36f2bb09894efcb5df6b43c7c8c8f039
+EBUILD moshi-1.1.0.ebuild 775 SHA256 cc66202dfdd90d3a5a43511be90ec53621df60b46ca3f13c34a5adfbbdeb7444 SHA512 cca48d24345b1319ba26bd7b116af6b952bb02445fa8f451929f4831ee00d3b06b00f321bd09d0f30826b745fe9226b07835ba94d11e9c79bef0223299b806d5 WHIRLPOOL 3711879acaef4e30850336379de1be1a84acc89d40ef6baccae8377fd5165fd1bd079ad1f22edd51726253de51bf06e7906b2d84da11a2e61cead6150872dcaf
+MISC ChangeLog 306 SHA256 1ec6dbcbff035b2997d7240e7b93edb0f7075e0eabdf38f8d07341cdc8826de0 SHA512 391740d4f88ac97586c2c9d26dae192f7816038c9690c642f36e6b46e1ead4f4cbec3ab4ba72597d0cb7babed0d0f48a7ea7be6308dfc537d2f71005f583b4f9 WHIRLPOOL 4c30ecccb9a8732405deab07ed7268369c8ea23377f97a0c945bd4751dde7fe8f15a25a715421869a4e434c992dd8688e580047a62ebe86c0273f6fc843f6601
+MISC metadata.xml 313 SHA256 06c2f28d423cef9fa86db6cf97769e5b2d30ae41b45d3aab4b3fb9a42b766d5d SHA512 32266aa32b392436df5057ece8975a6898e3093cdd247e31f12d17b6a3cae58fc39e15d9460aa7d1aff53980e2b0dfbbedd33692bd9c174ff297b1b656658694 WHIRLPOOL 79800c7a5fde96876f94ade41662e90cc4600119f44826615a814c687dc634a48dfa0a70cd4cfec29ff75ab0b1ee3944e03ffe4f0683b319f682a014767695ec
diff --git a/dev-java/moshi/metadata.xml b/dev-java/moshi/metadata.xml
new file mode 100644
index 000000000000..b2097aa1b4c9
--- /dev/null
+++ b/dev-java/moshi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">square/moshi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/moshi/moshi-1.1.0.ebuild b/dev-java/moshi/moshi-1.1.0.ebuild
new file mode 100644
index 000000000000..5348dfbdb2f7
--- /dev/null
+++ b/dev-java/moshi/moshi-1.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-parent-${PV}"
+
+DESCRIPTION="A modern JSON library for Android and Java"
+HOMEPAGE="https://github.com/square/moshi"
+SRC_URI="https://github.com/square/${PN}/archive/${MY_P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ dev-java/assertj-core:2
+ dev-java/junit:4
+ dev-java/okio:0
+"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CDEPEND}"
+
+JAVA_GENTOO_CLASSPATH="assertj-core-2,junit-4,okio"
+
+JAVA_SRC_PATH="${WORKDIR}/${MY_P}/${PN}/src"
+
+src_prepare() {
+ # Some don't compile, not putting effort into it now
+ rm -rf "${WORKDIR}/${PN}-${MY_P}/${PN}"/src/test
+}