[DHG_packages] 01/01: add typed-process

Clint Adams clint at moszumanska.debian.org
Mon Jun 12 11:48:50 UTC 2017


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

clint pushed a commit to branch master
in repository DHG_packages.

commit d6da1d335e7151e4a6e9a8868ece86e7530be2cd
Author: Clint Adams <clint at debian.org>
Date:   Mon Jun 12 07:45:52 2017 -0400

    add typed-process
---
 p/haskell-typed-process/debian/changelog           |  5 ++
 p/haskell-typed-process/debian/compat              |  1 +
 p/haskell-typed-process/debian/control             | 85 ++++++++++++++++++++++
 p/haskell-typed-process/debian/copyright           | 32 ++++++++
 .../debian/patches/no-network-tests                | 21 ++++++
 p/haskell-typed-process/debian/patches/series      |  1 +
 p/haskell-typed-process/debian/rules               |  9 +++
 p/haskell-typed-process/debian/source/format       |  1 +
 p/haskell-typed-process/debian/watch               |  2 +
 9 files changed, 157 insertions(+)

diff --git a/p/haskell-typed-process/debian/changelog b/p/haskell-typed-process/debian/changelog
new file mode 100644
index 0000000..d2488a5
--- /dev/null
+++ b/p/haskell-typed-process/debian/changelog
@@ -0,0 +1,5 @@
+haskell-typed-process (0.1.0.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Clint Adams <clint at debian.org>  Mon, 12 Jun 2017 07:31:18 -0400
diff --git a/p/haskell-typed-process/debian/compat b/p/haskell-typed-process/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/p/haskell-typed-process/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/p/haskell-typed-process/debian/control b/p/haskell-typed-process/debian/control
new file mode 100644
index 0000000..bb0b215
--- /dev/null
+++ b/p/haskell-typed-process/debian/control
@@ -0,0 +1,85 @@
+Source: haskell-typed-process
+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 (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.8),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-async-dev,
+ libghc-async-prof,
+ libghc-conduit-dev,
+ libghc-conduit-prof,
+ libghc-conduit-extra-dev,
+ libghc-conduit-extra-prof,
+ libghc-exceptions-dev,
+ libghc-exceptions-prof,
+ libghc-stm-dev,
+ libghc-stm-prof,
+ libghc-base64-bytestring-dev,
+ libghc-hspec-dev,
+ libghc-http-conduit-dev (>= 2.1.10),
+ libghc-temporary-dev,
+Build-Depends-Indep: ghc-doc,
+ libghc-async-doc,
+ libghc-conduit-doc,
+ libghc-conduit-extra-doc,
+ libghc-exceptions-doc,
+ libghc-stm-doc,
+Standards-Version: 3.9.8
+Homepage: https://github.com/fpco/typed-process#readme
+X-Description: run external processes, with strong typing of streams
+ This library provides the ability to launch and interact with
+ external processes. It wraps around the process library, and intends
+ to improve upon it by:
+ .
+  * Using type variables to represent the standard streams, making
+    them easier to manipulate
+  * Use proper concurrency (e.g., the async library) in place of the
+    weird lazy I/O tricks for such things as consuming output streams
+  * Allow for more complex concurrency by providing STM-based functions
+  * Using binary I/O correctly
+  * Providing a more composable API, designed to be easy to use for
+    both simple and complex use cases
+
+Package: libghc-typed-process-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-typed-process-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-typed-process-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-typed-process/debian/copyright b/p/haskell-typed-process/debian/copyright
new file mode 100644
index 0000000..a11730a
--- /dev/null
+++ b/p/haskell-typed-process/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: typed-process
+Upstream-Contact: Michael Snoyman <michael at snoyman.com>
+Source: https://hackage.haskell.org/package/typed-process
+
+Files: *
+Copyright: 2016 FP Complete
+License: Expat
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/p/haskell-typed-process/debian/patches/no-network-tests b/p/haskell-typed-process/debian/patches/no-network-tests
new file mode 100644
index 0000000..08fd4f3
--- /dev/null
+++ b/p/haskell-typed-process/debian/patches/no-network-tests
@@ -0,0 +1,21 @@
+--- a/test/System/Process/TypedSpec.hs
++++ b/test/System/Process/TypedSpec.hs
+@@ -74,18 +74,3 @@
+ 
+     it "checked exit code" $
+         runProcess_ "false" `shouldThrow` \ExitCodeException{} -> True
+-
+-    it "async" $ withSystemTempFile "httpbin" $ \fp h -> do
+-        bss <- withProcess (setStdin createSink $ setStdout createSource "base64") $ \p ->
+-            runConcurrently $
+-                Concurrently
+-                    ( httpSink "https://raw.githubusercontent.com/fpco/typed-process/master/README.md" $ \_res ->
+-                    CB.conduitHandle h .| getStdin p) *>
+-                Concurrently
+-                    ( runConduit
+-                    $ getStdout p
+-                   .| CL.consume)
+-        hClose h
+-        let encoded = S.filter (/= 10) $ S.concat bss
+-        raw <- S.readFile fp
+-        encoded `shouldBe` B64.encode raw
diff --git a/p/haskell-typed-process/debian/patches/series b/p/haskell-typed-process/debian/patches/series
new file mode 100644
index 0000000..e60cd13
--- /dev/null
+++ b/p/haskell-typed-process/debian/patches/series
@@ -0,0 +1 @@
+no-network-tests
diff --git a/p/haskell-typed-process/debian/rules b/p/haskell-typed-process/debian/rules
new file mode 100755
index 0000000..15b9987
--- /dev/null
+++ b/p/haskell-typed-process/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = typed-process
+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-typed-process/debian/source/format b/p/haskell-typed-process/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-typed-process/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-typed-process/debian/watch b/p/haskell-typed-process/debian/watch
new file mode 100644
index 0000000..55577ac
--- /dev/null
+++ b/p/haskell-typed-process/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/typed-process/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