[Git][haskell-team/DHG_packages][master] Initial packaging of binary-search-2.0.0

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Tue Mar 25 02:50:35 GMT 2025



Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
694f2827 by Scott Talbert at 2025-03-24T22:48:10-04:00
Initial packaging of binary-search-2.0.0

- - - - -


9 changed files:

- + p/haskell-binary-search/debian/changelog
- + p/haskell-binary-search/debian/compat
- + p/haskell-binary-search/debian/control
- + p/haskell-binary-search/debian/copyright
- + p/haskell-binary-search/debian/patches/no-doctests
- + p/haskell-binary-search/debian/patches/series
- + p/haskell-binary-search/debian/rules
- + p/haskell-binary-search/debian/source/format
- + p/haskell-binary-search/debian/watch


Changes:

=====================================
p/haskell-binary-search/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-binary-search (2.0.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Scott Talbert <swt at techie.net>  Mon, 24 Mar 2025 22:23:56 -0400


=====================================
p/haskell-binary-search/debian/compat
=====================================
@@ -0,0 +1 @@
+10


=====================================
p/haskell-binary-search/debian/control
=====================================
@@ -0,0 +1,95 @@
+Source: haskell-binary-search
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Scott Talbert <swt at techie.net>
+Priority: optional
+Section: haskell
+Rules-Requires-Root: no
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-hspec-dev (>= 1.3),
+ libghc-hspec-prof,
+ libghc-quickcheck2-dev (>= 2.5),
+ libghc-quickcheck2-prof,
+Build-Depends-Indep: ghc-doc,
+Standards-Version: 4.7.0
+Homepage: https://hackage.haskell.org/package/binary-search
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-binary-search
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-binary-search]
+X-Description: Binary and exponential searches
+ __Introduction__
+ .
+ This package provides varieties of binary search functions.
+ c.f.  "Numeric.Search" for the examples.
+ .
+ These search function can search for pure and monadic predicates, of type:
+ .
+ > pred :: Eq b => a -> b
+ > pred :: (Eq b, Monad m) => a -> m b
+ .
+ The predicates must satisfy that the domain range for any codomain value
+ is continuous; that is, @∀x≦y≦z. pred x == pred z ⇒ pred y == pred x@ .
+ .
+ For example, we can address the problem of finding the boundary
+ of an upward-closed set of integers, using a combination
+ of exponential and binary searches.
+ .
+ Variants are provided
+ for searching within bounded and unbounded intervals of
+ both 'Integer' and bounded integral types.
+ .
+ The package was created by Ross Paterson, and extended
+ by Takayuki Muranushi, to be used together with SMT solvers.
+ .
+ __The Module Structure__
+ .
+ *  "Numeric.Search" provides the generic search combinator, to search for pure
+ and monadic predicates.
+ .
+ *  "Numeric.Search.Bounded" ,  "Numeric.Search.Integer" ,
+ "Numeric.Search.Range" provides the various specialized searchers, which means
+ less number of function arguments, and easier to use.
+ .
+ <<https://travis-ci.org/nushio3/binary-search.svg?branch=master>>
+
+Package: libghc-binary-search-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-binary-search-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-binary-search-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}


=====================================
p/haskell-binary-search/debian/copyright
=====================================
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: binary-search
+Upstream-Contact: supercede <support at supercede.com>
+Source: https://hackage.haskell.org/package/binary-search
+
+Files: *
+Copyright: (c) Ross Paterson 2008
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Copyright 2008, Ross Paterson.
+ All rights reserved.
+ .
+ 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.
+ .
+ - The names of the contributors may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+ .
+ THIS SOFTWARE IS PROVIDED "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 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.


=====================================
p/haskell-binary-search/debian/patches/no-doctests
=====================================
@@ -0,0 +1,20 @@
+--- a/binary-search.cabal
++++ b/binary-search.cabal
+@@ -54,17 +54,6 @@ library
+                   , transformers
+                   , containers >= 0.4
+ 
+-Test-Suite doctest
+-  default-language: Haskell2010
+-  Type: exitcode-stdio-1.0
+-  HS-Source-Dirs: test
+-  Ghc-Options: -threaded -Wall
+-  Main-Is: doctests.hs
+-  Build-Depends:    base
+-                  , directory >= 1.1
+-                  , filepath >= 1.2
+-                  , doctest >= 0.9.3
+-
+ Test-Suite spec
+   default-language: Haskell2010
+   Type: exitcode-stdio-1.0


=====================================
p/haskell-binary-search/debian/patches/series
=====================================
@@ -0,0 +1 @@
+no-doctests


=====================================
p/haskell-binary-search/debian/rules
=====================================
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = binary-search
+DEB_DEFAULT_COMPILER = ghc
+DEB_ENABLE_TESTS = yes
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk


=====================================
p/haskell-binary-search/debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)


=====================================
p/haskell-binary-search/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=4
+https://hackage.haskell.org/package/binary-search/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/694f2827886f29733b746bb73acb0146b025a16e

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/694f2827886f29733b746bb73acb0146b025a16e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20250325/46182928/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list