[Pkg-cli-libs-commits] [newtonsoft-json] 13/14: Add NuGet package

Jo Shields directhex at moszumanska.debian.org
Mon Dec 14 14:43:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/6.0.8+dfsg-1
in repository newtonsoft-json.

commit c168f9caf229c7687be212453ac9ad2a75e72a82
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Mon Dec 14 14:10:35 2015 +0000

    Add NuGet package
---
 debian/control                             | 22 ++++++++++++++++++++++
 debian/nupkg-newtonsoft.json.6.0.8.install |  1 +
 debian/rules                               |  2 ++
 3 files changed, 25 insertions(+)

diff --git a/debian/control b/debian/control
index 8755890..3bd3e1b 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
                cli-common-dev (>= 0.5.7),
                mono-devel (>= 2.4.3),
                mono-xbuild,
+               nuget,
                monodoc-base
 Standards-Version: 3.9.4
 Homepage: http://json.codeplex.com
@@ -58,6 +59,27 @@ Description: high-performance JSON framework for .NET -- development files
  This package contains the development files required to compile applications or
  libraries against this package.
 
+Package: nupkg-newtonsoft.json.6.0.8
+Architecture: all
+Depends: nuget
+Description: high-performance JSON framework for .NET -- NuGet package
+ Json.NET is a high-performance JSON framework for .NET. It has the following
+ features:
+  - Flexible JSON serializer for converting between .NET objects and JSON
+  - LINQ to JSON for manually reading and writing JSON
+  - High performance, faster than .NET's build-in JSON serializers
+  - Write indented, easy to read JSON
+  - Convert JSON to and from XML
+ .
+ The JSON serializer is a good choice when the JSN being read or written maps
+ closely to a .NET class.
+ .
+ LINQ to JSON is good for situations in which there is no class to serialize or
+ deserialize to, or the JSON is radically different from the class structure and
+ manual manipulation is required.
+ .
+ This package contains a NuGet package, for build systems which rely on NuGet
+
 Package: monodoc-newtonsoft-json-manual
 Section: doc
 Architecture: all
diff --git a/debian/nupkg-newtonsoft.json.6.0.8.install b/debian/nupkg-newtonsoft.json.6.0.8.install
new file mode 100644
index 0000000..eb0e5be
--- /dev/null
+++ b/debian/nupkg-newtonsoft.json.6.0.8.install
@@ -0,0 +1 @@
+Newtonsoft.Json.6.0.8.nupkg	/usr/share/nupkg/
diff --git a/debian/rules b/debian/rules
index 474d1a2..3eabb7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ override_dh_auto_build:
 		/property:AssemblyOriginatorKeyFile=Dynamic.snk		\
 		/property:Configuration=Release				\
 		/property:DefineConstants='SIGNED NET40 TRACE'
+	XDG_CONFIG_HOME=debian/ nuget pack -Verbosity detailed -BasePath . Build/Newtonsoft.Json.nuspec
 	mdoc update					\
 		-o monodoc				\
 		-i $(bindir)/Newtonsoft.Json.xml	\
@@ -35,6 +36,7 @@ override_dh_auto_build:
 override_dh_auto_clean:
 	rm -rf							\
 		monodoc						\
+		*.nupkg						\
 		Newtonsoft.Json.tree Newtonsoft.Json.zip	\
 		Src/Newtonsoft.Json/bin/			\
 		Src/Newtonsoft.Json/obj/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/newtonsoft-json.git



More information about the Pkg-cli-libs-commits mailing list