[DHG_packages] 01/01: add servant-server
Clint Adams
clint at moszumanska.debian.org
Fri Aug 19 17:18:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit d7b49fc4211844fcb68f74a35633b7e1429f04d4
Author: Clint Adams <clint at debian.org>
Date: Fri Aug 19 13:17:04 2016 -0400
add servant-server
---
p/haskell-servant-server/debian/changelog | 5 +
p/haskell-servant-server/debian/compat | 1 +
p/haskell-servant-server/debian/control | 160 +++++++++++++++++++++
p/haskell-servant-server/debian/copyright | 40 ++++++
.../debian/patches/assume-newer-wai-app-static | 32 +++++
p/haskell-servant-server/debian/patches/series | 1 +
p/haskell-servant-server/debian/rules | 10 ++
p/haskell-servant-server/debian/source/format | 1 +
p/haskell-servant-server/debian/watch | 2 +
9 files changed, 252 insertions(+)
diff --git a/p/haskell-servant-server/debian/changelog b/p/haskell-servant-server/debian/changelog
new file mode 100644
index 0000000..297a8bf
--- /dev/null
+++ b/p/haskell-servant-server/debian/changelog
@@ -0,0 +1,5 @@
+haskell-servant-server (0.7.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Clint Adams <clint at debian.org> Fri, 19 Aug 2016 12:46:55 -0400
diff --git a/p/haskell-servant-server/debian/compat b/p/haskell-servant-server/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/p/haskell-servant-server/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/p/haskell-servant-server/debian/control b/p/haskell-servant-server/debian/control
new file mode 100644
index 0000000..1ab4b51
--- /dev/null
+++ b/p/haskell-servant-server/debian/control
@@ -0,0 +1,160 @@
+Source: haskell-servant-server
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 9),
+ haskell-devscripts (>= 0.9),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-aeson-dev (>= 0.7),
+ libghc-aeson-dev (<< 0.12),
+ libghc-aeson-prof,
+ libghc-attoparsec-dev (>= 0.12),
+ libghc-attoparsec-dev (<< 0.14),
+ libghc-attoparsec-prof,
+ libghc-base-compat-dev (>= 0.9),
+ libghc-base-compat-prof,
+ libghc-base64-bytestring-dev (>= 1.0),
+ libghc-base64-bytestring-dev (<< 1.1),
+ libghc-base64-bytestring-prof,
+ libghc-http-api-data-dev (>= 0.1),
+ libghc-http-api-data-dev (<< 0.3),
+ libghc-http-api-data-prof,
+ libghc-http-types-dev (>= 0.8),
+ libghc-http-types-dev (<< 0.10),
+ libghc-http-types-prof,
+ libghc-mtl-dev (>= 2),
+ libghc-mtl-dev (<< 3),
+ libghc-mtl-prof,
+ libghc-network-dev (>= 2.6),
+ libghc-network-dev (<< 2.7),
+ libghc-network-prof,
+ libghc-network-uri-dev (>= 2.6),
+ libghc-network-uri-dev (<< 2.7),
+ libghc-network-uri-prof,
+ libghc-safe-dev (>= 0.3),
+ libghc-safe-dev (<< 0.4),
+ libghc-safe-prof,
+ libghc-servant-dev (>= 0.7),
+ libghc-servant-dev (<< 0.8),
+ libghc-servant-prof,
+ libghc-split-dev (>= 0.2),
+ libghc-split-dev (<< 0.3),
+ libghc-split-prof,
+ libghc-string-conversions-dev (>= 0.3),
+ libghc-string-conversions-dev (<< 0.5),
+ libghc-string-conversions-prof,
+ libghc-system-filepath-dev (>= 0.4),
+ libghc-system-filepath-dev (<< 0.5),
+ libghc-system-filepath-prof,
+ libghc-text-dev (>= 1.2),
+ libghc-text-dev (<< 1.3),
+ libghc-text-prof,
+ libghc-transformers-compat-dev (>= 0.4),
+ libghc-transformers-compat-prof,
+ libghc-wai-dev (>= 3.0),
+ libghc-wai-dev (<< 3.3),
+ libghc-wai-prof,
+ libghc-wai-app-static-dev (>= 3.1),
+ libghc-wai-app-static-dev (<< 3.2),
+ libghc-wai-app-static-prof,
+ libghc-warp-dev (>= 3.0),
+ libghc-warp-dev (<< 3.3),
+ libghc-warp-prof,
+ libghc-word8-dev (>= 0.1),
+ libghc-word8-dev (<< 0.2),
+ libghc-word8-prof,
+ libghc-aeson-dev,
+ libghc-servant-dev,
+ libghc-text-dev,
+ libghc-wai-dev,
+ libghc-warp-dev,
+ libghc-quickcheck2-dev,
+ libghc-base-compat-dev,
+ libghc-base64-bytestring-dev,
+ libghc-bytestring-conversion-dev,
+ libghc-doctest-dev,
+ libghc-exceptions-dev,
+ libghc-filemanip-dev,
+ libghc-hspec-dev (>= 2),
+ libghc-hspec-dev (<< 3),
+ libghc-hspec-wai-dev,
+ libghc-http-types-dev,
+ libghc-mtl-dev,
+ libghc-parsec3-dev,
+ libghc-safe-dev,
+ libghc-should-not-typecheck-dev (>= 2.1),
+ libghc-should-not-typecheck-dev (<< 2.2),
+ libghc-string-conversions-dev,
+ libghc-temporary-dev,
+ libghc-transformers-compat-dev,
+ libghc-wai-extra-dev,
+Build-Depends-Indep: ghc-doc,
+ libghc-aeson-doc,
+ libghc-attoparsec-doc,
+ libghc-base-compat-doc,
+ libghc-base64-bytestring-doc,
+ libghc-http-api-data-doc,
+ libghc-http-types-doc,
+ libghc-mtl-doc,
+ libghc-network-doc,
+ libghc-network-uri-doc,
+ libghc-safe-doc,
+ libghc-servant-doc,
+ libghc-split-doc,
+ libghc-string-conversions-doc,
+ libghc-system-filepath-doc,
+ libghc-text-doc,
+ libghc-transformers-compat-doc,
+ libghc-wai-doc,
+ libghc-wai-app-static-doc,
+ libghc-warp-doc,
+ libghc-word8-doc,
+Standards-Version: 3.9.8
+Homepage: http://haskell-servant.readthedocs.org/
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/haskell-servant-server
+Vcs-Git: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git
+X-Description: combinators for defining webservices APIs and serving them
+ A family of combinators for defining web services APIs and serving them.
+
+Package: libghc-servant-server-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-servant-server-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-servant-server-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-servant-server/debian/copyright b/p/haskell-servant-server/debian/copyright
new file mode 100644
index 0000000..ea65796
--- /dev/null
+++ b/p/haskell-servant-server/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: servant-server
+Upstream-Contact: haskell-servant-maintainers at googlegroups.com
+Source: https://hackage.haskell.org/package/servant-server
+
+Files: *
+Copyright: 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
+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 Zalora South East Asia Pte Ltd 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-servant-server/debian/patches/assume-newer-wai-app-static b/p/haskell-servant-server/debian/patches/assume-newer-wai-app-static
new file mode 100644
index 0000000..35ad5bb
--- /dev/null
+++ b/p/haskell-servant-server/debian/patches/assume-newer-wai-app-static
@@ -0,0 +1,32 @@
+--- a/servant-server.cabal
++++ b/servant-server.cabal
+@@ -67,7 +67,7 @@
+ , transformers >= 0.3 && < 0.6
+ , transformers-compat>= 0.4
+ , wai >= 3.0 && < 3.3
+- , wai-app-static >= 3.0 && < 3.2
++ , wai-app-static >= 3.1 && < 3.2
+ , warp >= 3.0 && < 3.3
+ , word8 == 0.1.*
+
+--- a/src/Servant/Utils/StaticFiles.hs
++++ b/src/Servant/Utils/StaticFiles.hs
+@@ -12,9 +12,6 @@
+ import Servant.API.Raw (Raw)
+ import Servant.Server (Server)
+ import System.FilePath (addTrailingPathSeparator)
+-#if !MIN_VERSION_wai_app_static(3,1,0)
+-import Filesystem.Path.CurrentOS (decodeString)
+-#endif
+
+ -- | Serve anything under the specified directory as a 'Raw' endpoint.
+ --
+@@ -38,8 +35,4 @@
+ -- in order.
+ serveDirectory :: FilePath -> Server Raw
+ serveDirectory =
+-#if MIN_VERSION_wai_app_static(3,1,0)
+ staticApp . defaultFileServerSettings . addTrailingPathSeparator
+-#else
+- staticApp . defaultFileServerSettings . decodeString . addTrailingPathSeparator
+-#endif
diff --git a/p/haskell-servant-server/debian/patches/series b/p/haskell-servant-server/debian/patches/series
new file mode 100644
index 0000000..916eb95
--- /dev/null
+++ b/p/haskell-servant-server/debian/patches/series
@@ -0,0 +1 @@
+assume-newer-wai-app-static
diff --git a/p/haskell-servant-server/debian/rules b/p/haskell-servant-server/debian/rules
new file mode 100755
index 0000000..1f7625a
--- /dev/null
+++ b/p/haskell-servant-server/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_CABAL_PACKAGE = servant-server
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+build/haskell-servant-server-utils:: build-ghc-stamp
diff --git a/p/haskell-servant-server/debian/source/format b/p/haskell-servant-server/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-servant-server/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-servant-server/debian/watch b/p/haskell-servant-server/debian/watch
new file mode 100644
index 0000000..8b67468
--- /dev/null
+++ b/p/haskell-servant-server/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/servant-server/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list