summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2017-07-07 08:45:09 -0400
committerClint Adams <clint@debian.org>2017-07-07 08:45:09 -0400
commitf6842ba4eced3d918e00fbec2e17847f1a6a8cee (patch)
tree118c8179f52ee918ca1262ed40665f0b40d55bdd
parentc2f46b76f61f3a83f22f10447132e416dedce2a1 (diff)
downloadDHG_packages-f6842ba4eced3d918e00fbec2e17847f1a6a8cee.tar.gz
add xmlgen
-rw-r--r--p/haskell-xmlgen/debian/changelog5
-rw-r--r--p/haskell-xmlgen/debian/compat1
-rw-r--r--p/haskell-xmlgen/debian/control67
-rw-r--r--p/haskell-xmlgen/debian/copyright41
-rw-r--r--p/haskell-xmlgen/debian/patches/missing-test-data56
-rw-r--r--p/haskell-xmlgen/debian/patches/series1
-rwxr-xr-xp/haskell-xmlgen/debian/rules9
-rw-r--r--p/haskell-xmlgen/debian/source/format1
-rw-r--r--p/haskell-xmlgen/debian/watch2
9 files changed, 183 insertions, 0 deletions
diff --git a/p/haskell-xmlgen/debian/changelog b/p/haskell-xmlgen/debian/changelog
new file mode 100644
index 000000000..21d5e52a8
--- /dev/null
+++ b/p/haskell-xmlgen/debian/changelog
@@ -0,0 +1,5 @@
+haskell-xmlgen (0.6.2.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Clint Adams <clint@debian.org> Fri, 07 Jul 2017 08:18:31 -0400
diff --git a/p/haskell-xmlgen/debian/compat b/p/haskell-xmlgen/debian/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/p/haskell-xmlgen/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/p/haskell-xmlgen/debian/control b/p/haskell-xmlgen/debian/control
new file mode 100644
index 000000000..ce316cd48
--- /dev/null
+++ b/p/haskell-xmlgen/debian/control
@@ -0,0 +1,67 @@
+Source: haskell-xmlgen
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Clint Adams <clint@debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.8),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-blaze-builder-dev (>= 0.3),
+ libghc-blaze-builder-prof (>= 0.3),
+ libghc-mtl-dev (>= 2.0),
+ libghc-mtl-prof (>= 2.0),
+ libghc-text-dev (>= 0.10),
+ libghc-text-prof (>= 0.10),
+ libghc-hunit-dev (>= 1.2),
+ libghc-quickcheck2-dev (>= 2.5),
+ libghc-hxt-dev (>= 9.3),
+ libghc-hxt-dev (<< 9.4),
+Build-Depends-Indep: ghc-doc,
+ libghc-blaze-builder-doc,
+ libghc-mtl-doc,
+ libghc-text-doc,
+Standards-Version: 4.0.0
+X-Description: fast XML generation library
+ Library for high-performance XML generation.
+
+Package: libghc-xmlgen-dev
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-xmlgen-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-xmlgen-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
diff --git a/p/haskell-xmlgen/debian/copyright b/p/haskell-xmlgen/debian/copyright
new file mode 100644
index 000000000..2cab87d6d
--- /dev/null
+++ b/p/haskell-xmlgen/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: xmlgen
+Upstream-Contact: Stefan Wehr <wehr@factisresearch.com>
+Source: https://hackage.haskell.org/package/xmlgen
+
+Files: *
+Copyright: 2010 Stefan Schmidt, Stefan Wehr, Johannes Weiss, David Leuschner
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ .
+ * Neither the name of Stefan Schmidt, Stefan Wehr, Johannes Weiss,
+ David Leuschner nor the names of other contributors may be used to
+ endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/p/haskell-xmlgen/debian/patches/missing-test-data b/p/haskell-xmlgen/debian/patches/missing-test-data
new file mode 100644
index 000000000..4a78394d8
--- /dev/null
+++ b/p/haskell-xmlgen/debian/patches/missing-test-data
@@ -0,0 +1,56 @@
+--- /dev/null
++++ b/test/1.xml
+@@ -0,0 +1,7 @@
++<?xml version="1.0"?>
++<__foo:foo xmlns:__foo="urn:__foo" xmlns:_foo="urn:_foo" _foo:key="value" _foo:key2="value">
++ <foo:bar xmlns:foo="urn:foo" _foo:key="value">BAR</foo:bar>
++ <foo:bar xmlns:foo="urn:foo">
++ <___foo:spam xmlns:___foo="urn:bar"><egg/>this is spam!</___foo:spam>
++ </foo:bar>
++</__foo:foo>
+--- /dev/null
++++ b/test/2.xml
+@@ -0,0 +1,11 @@
++<?xml version="1.0"?>
++<foo key="value" key2="value2">
++ <bar/>
++ <spam key="value"/>
++ <egg>ham</egg>
++ <foo:bar xmlns:foo="http://www.example.com"/>
++ <foo:spam xmlns:foo="http://www.example.com" foo:key="value"/>
++ <foo:egg xmlns:foo="http://www.example.com">
++ <ham/>
++ </foo:egg>
++</foo>
+--- /dev/null
++++ b/test/3.xml
+@@ -0,0 +1,2 @@
++<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
++<foo key="val&quot;'&amp;&lt;&gt;ue">&lt;&amp;;'</foo>
+--- /dev/null
++++ b/test/4.xml
+@@ -0,0 +1,6 @@
++<?xml version="1.0"?>
++<x xmlns="http://URI" xmlns:_="http://URI" _:a="in URI" b="in no ns" c="in default ns">
++ <y xmlns="" _:a="in URI" b="in no ns" c="in default ns">
++ <_:z _:a="in URI" b="in no ns" c="in default ns"/>
++ </y>
++</x>
+--- /dev/null
++++ b/test/5.xml
+@@ -0,0 +1,5 @@
++<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
++<people>
++ <person age="32">Stefan</person>
++ <person age="4">Judith</person>
++</people>
+--- /dev/null
++++ b/test/xhtml.xml
+@@ -0,0 +1,7 @@
++<?xml version="1.0"?>
++<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
++ <head>
++ <title>Test</title>
++ </head>
++ <body foo="1"/>
++</html>
diff --git a/p/haskell-xmlgen/debian/patches/series b/p/haskell-xmlgen/debian/patches/series
new file mode 100644
index 000000000..222267dce
--- /dev/null
+++ b/p/haskell-xmlgen/debian/patches/series
@@ -0,0 +1 @@
+missing-test-data
diff --git a/p/haskell-xmlgen/debian/rules b/p/haskell-xmlgen/debian/rules
new file mode 100755
index 000000000..a19d867f8
--- /dev/null
+++ b/p/haskell-xmlgen/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+#DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = xmlgen
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff --git a/p/haskell-xmlgen/debian/source/format b/p/haskell-xmlgen/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/p/haskell-xmlgen/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-xmlgen/debian/watch b/p/haskell-xmlgen/debian/watch
new file mode 100644
index 000000000..3168730fb
--- /dev/null
+++ b/p/haskell-xmlgen/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/xmlgen/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))