[DHG_packages] 54/101: Initial packaging of psqueues-0.2.0.2

Joachim Breitner nomeata at moszumanska.debian.org
Sun Aug 16 14:06:05 UTC 2015


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

nomeata pushed a commit to branch st3
in repository DHG_packages.

commit e6b9ad25fcfb7319197f3020f0b5b97f2be2c3ca
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Aug 15 18:05:20 2015 +0000

    Initial packaging of psqueues-0.2.0.2
---
 p/haskell-psqueues/debian/changelog     |  5 ++
 p/haskell-psqueues/debian/compat        |  1 +
 p/haskell-psqueues/debian/control       | 89 +++++++++++++++++++++++++++++++++
 p/haskell-psqueues/debian/copyright     | 41 +++++++++++++++
 p/haskell-psqueues/debian/rules         |  7 +++
 p/haskell-psqueues/debian/source/format |  1 +
 p/haskell-psqueues/debian/watch         |  2 +
 7 files changed, 146 insertions(+)

diff --git a/p/haskell-psqueues/debian/changelog b/p/haskell-psqueues/debian/changelog
new file mode 100644
index 0000000..abbea8a
--- /dev/null
+++ b/p/haskell-psqueues/debian/changelog
@@ -0,0 +1,5 @@
+haskell-psqueues (0.2.0.2-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 15 Aug 2015 18:05:21 +0000
diff --git a/p/haskell-psqueues/debian/compat b/p/haskell-psqueues/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/p/haskell-psqueues/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/p/haskell-psqueues/debian/control b/p/haskell-psqueues/debian/control
new file mode 100644
index 0000000..8ffa6e8
--- /dev/null
+++ b/p/haskell-psqueues/debian/control
@@ -0,0 +1,89 @@
+Source: haskell-psqueues
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Joachim Breitner <nomeata at debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 9),
+ haskell-devscripts (>= 0.9),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-hashable-dev (>= 1.2.1),
+ libghc-hashable-dev (<< 1.3),
+ libghc-hashable-prof,
+Build-Depends-Indep: ghc-doc,
+ libghc-hashable-doc,
+Standards-Version: 3.9.6
+Homepage: http://hackage.haskell.org/package/psqueues
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-psqueues
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-psqueues
+X-Description: Pure priority search queues
+ This package provides Priority Search Queues in three different flavors.
+ .
+ * OrdPSQ k p v, which uses the Ord k instance to provide fast insertion,
+ deletion and lookup. This implementation is based on Ralf Hinze's "A Simple
+ Implementation Technique for Priority Search Queues".  Hence, it is similar to
+ the PSQueue library, although it is considerably faster and provides a
+ slightly different API.
+ .
+ * IntPSQ p v is a far more efficient implementation. It fixes the key type
+ to Int and uses a radix tree (like IntMap) with an additional min-heap
+ property.
+ .
+ * HashPSQ k p v is a fairly straightforward extension of IntPSQ: it
+ simply uses the keys' hashes as indices in the IntPSQ. If there are any hash
+ collisions, it uses an OrdPSQ to resolve those. The performance of this
+ implementation is comparable to that of IntPSQ, but it is more widely
+ applicable since the keys are not restricted to Int, but rather to any
+ Hashable datatype.
+ .
+ Each of the three implementations provides the same API, so they can be used
+ interchangeably.
+ .
+ Typical applications of Priority Search Queues include:
+ .
+ * Caches, and more specifically LRU Caches;
+ .
+ * Schedulers;
+ .
+ * Pathfinding algorithms, such as Dijkstra's and A*.
+
+Package: libghc-psqueues-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-psqueues-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-psqueues-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-psqueues/debian/copyright b/p/haskell-psqueues/debian/copyright
new file mode 100644
index 0000000..71f43cf
--- /dev/null
+++ b/p/haskell-psqueues/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: psqueues
+Upstream-Contact: Jasper Van der Jeugt <jaspervdj at gmail.com>
+Source: https://hackage.haskell.org/package/psqueues
+
+Files: *
+Copyright: Jasper Van der Jeugt <jaspervdj at gmail.com>
+ Copyright 2004, The University Court of the University of Glasgow.
+License: BSD3
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD3
+
+License: BSD3
+ 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 name of the University nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
+ GLASGOW AND THE 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
+ UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE 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-psqueues/debian/rules b/p/haskell-psqueues/debian/rules
new file mode 100755
index 0000000..53f6734
--- /dev/null
+++ b/p/haskell-psqueues/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+DEB_CABAL_PACKAGE = psqueues
+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-psqueues/debian/source/format b/p/haskell-psqueues/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-psqueues/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-psqueues/debian/watch b/p/haskell-psqueues/debian/watch
new file mode 100644
index 0000000..cf71667
--- /dev/null
+++ b/p/haskell-psqueues/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/psqueues/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