pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/java-gson: import java-gson-2.8.6
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Nov 20 12:51:48 2020 +0100
Changeset: 11bb6ca4ca87b6b04e8afc8194bb8cc8bf281654
Added Files:
java-gson/DESCR
java-gson/Makefile
java-gson/PLIST
java-gson/distinfo
Log Message:
wip/java-gson: import java-gson-2.8.6
Gson is a Java library that can be used to convert Java Objects into their JSON
representation. It can also be used to convert a JSON string to an equivalent
Java object. Gson can work with arbitrary Java objects including pre-existing
objects that you do not have source-code of.
There are a few open-source projects that can convert Java objects to JSON.
However, most of them require that you place Java annotations in your classes;
something that you can not do if you do not have access to the source-code.
Most also do not fully support the use of Java Generics. Gson considers both
of these as very important design goals.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11bb6ca4ca87b6b04e8afc8194bb8cc8bf281654
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
java-gson/DESCR | 10 ++++++++++
java-gson/Makefile | 18 ++++++++++++++++++
java-gson/PLIST | 4 ++++
java-gson/distinfo | 6 ++++++
4 files changed, 38 insertions(+)
diffs:
diff --git a/java-gson/DESCR b/java-gson/DESCR
new file mode 100644
index 0000000000..f25a57410e
--- /dev/null
+++ b/java-gson/DESCR
@@ -0,0 +1,10 @@
+Gson is a Java library that can be used to convert Java Objects into their JSON
+representation. It can also be used to convert a JSON string to an equivalent
+Java object. Gson can work with arbitrary Java objects including pre-existing
+objects that you do not have source-code of.
+
+There are a few open-source projects that can convert Java objects to JSON.
+However, most of them require that you place Java annotations in your classes;
+something that you can not do if you do not have access to the source-code.
+Most also do not fully support the use of Java Generics. Gson considers both
+of these as very important design goals.
diff --git a/java-gson/Makefile b/java-gson/Makefile
new file mode 100644
index 0000000000..182cfe41a1
--- /dev/null
+++ b/java-gson/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+GITHUB_PROJECT= gson
+DISTNAME= gson-parent-2.8.6
+PKGNAME= java-${DISTNAME:S/parent-//}
+CATEGORIES= devel java
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/google/gson/
+COMMENT= Library to convert Java Objects into JSON and back
+LICENSE= apache-2.0
+
+WRKSRC= ${WRKDIR}/gson-gson-parent-${PKGVERSION_NOREV}
+USE_LANGUAGES= # none
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/java-gson/PLIST b/java-gson/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/java-gson/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/java-gson/distinfo b/java-gson/distinfo
new file mode 100644
index 0000000000..41054603e8
--- /dev/null
+++ b/java-gson/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (gson-parent-2.8.6.zip) = 2dcd2fd2752e226850e96044711ecb2cefbb5951
+RMD160 (gson-parent-2.8.6.zip) = 7a66e4347eaa57d3401263ddb6a22664030cc5ed
+SHA512 (gson-parent-2.8.6.zip) = fbda36b92661977cb1014f497a580efb26559c55ff09ab3ef18b1f06595a48c634785ab2cf208092cc8ac484761eadda1084d59784bec5d7235d05ced60dc50b
+Size (gson-parent-2.8.6.zip) = 863790 bytes
Home |
Main Index |
Thread Index |
Old Index