[Git][haskell-team/DHG_packages][master] Initial packaging of bitwise-1.0.0.1
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Thu Jul 28 01:12:25 BST 2022
Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
3baf5a71 by Scott Talbert at 2022-07-27T20:12:06-04:00
Initial packaging of bitwise-1.0.0.1
- - - - -
9 changed files:
- + p/haskell-bitwise/debian/changelog
- + p/haskell-bitwise/debian/compat
- + p/haskell-bitwise/debian/control
- + p/haskell-bitwise/debian/copyright
- + p/haskell-bitwise/debian/patches/newer-deps
- + p/haskell-bitwise/debian/patches/series
- + p/haskell-bitwise/debian/rules
- + p/haskell-bitwise/debian/source/format
- + p/haskell-bitwise/debian/watch
Changes:
=====================================
p/haskell-bitwise/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-bitwise (1.0.0.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Scott Talbert <swt at techie.net> Wed, 27 Jul 2022 19:50:14 -0400
=====================================
p/haskell-bitwise/debian/compat
=====================================
@@ -0,0 +1 @@
+10
=====================================
p/haskell-bitwise/debian/control
=====================================
@@ -0,0 +1,100 @@
+Source: haskell-bitwise
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Scott Talbert <swt at techie.net>
+Priority: optional
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-quickcheck2-dev (>= 2.4),
+ libghc-quickcheck2-dev (<< 2.15),
+Build-Depends-Indep: ghc-doc,
+Standards-Version: 4.6.1
+Homepage: https://code.mathr.co.uk/bitwise
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-bitwise
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-bitwise]
+X-Description: fast multi-dimensional unboxed bit packed Bool arrays
+ Unboxed multidimensional bit packed Bool arrays with fast aggregate
+ operations based on lifting Bool operations to bitwise operations.
+ .
+ There are many other bit packed structures out there, but none met
+ all of these requirements:
+ .
+ (1) unboxed bit packed Bool array,
+ .
+ (2) multi-dimensional indexing,
+ .
+ (3) fast (de)serialization, or interoperable with foreign code,
+ .
+ (4) fast aggregate operations (fold, map, zip).
+ .
+ Quick tour of the bitwise library:
+ .
+ [Data.Bits.Bitwise] Lift boolean operations on 'Bool' to bitwise
+ operations on 'Data.Bits.Bits'.
+ .
+ [Data.Array.BitArray] Immutable bit arrays.
+ .
+ [Data.Array.BitArray.ST] Mutable bit arrays in 'Control.Monad.ST.ST'.
+ .
+ [Data.Array.BitArray.IO] Mutable bit arrays in 'IO'.
+ .
+ [Data.Array.BitArray.ByteString] (De)serialization.
+ .
+ [Codec.Image.PBM] Portable bitmap monochrome 2D image format.
+ .
+ Very rough performance benchmarks:
+ .
+ * immutable random access single bit reads:
+ @BitArray ix@ is about 40% slower than @UArray ix Bool@,
+ .
+ * 'Control.Monad.ST.ST' mutable random access single bit reads:
+ @STBitArray s ix@ is about the same as @STUArray s ix Bool@,
+ .
+ * immutable map @Bool -> Bool@:
+ @BitArray ix@ is about 85x faster than @UArray ix Bool@,
+ .
+ * immutable zipWith @Bool -> Bool -> Bool@:
+ @BitArray ix@ is about 1300x faster than @UArray ix Bool at .
+
+Package: libghc-bitwise-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-bitwise-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-bitwise-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-bitwise/debian/copyright
=====================================
@@ -0,0 +1,44 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: bitwise
+Upstream-Contact: claude at mathr.co.uk
+Source: https://hackage.haskell.org/package/bitwise
+
+Files: *
+Copyright: (c) 2012,2016,2018 Claude Heiland-Allen
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Copyright (c)2012,2016,2018, Claude Heiland-Allen
+ .
+ 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.
+ .
+ * Neither the name of Claude Heiland-Allen 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.
=====================================
p/haskell-bitwise/debian/patches/newer-deps
=====================================
@@ -0,0 +1,22 @@
+--- a/bitwise.cabal
++++ b/bitwise.cabal
+@@ -69,8 +69,8 @@ Library
+ Data.Array.BitArray.Internal
+
+ Build-depends:
+- base >= 4.7 && < 4.12,
+- bytestring < 0.11,
++ base >= 4.7 && < 4.17,
++ bytestring < 0.12,
+ array < 0.6
+
+ HS-source-dirs: src
+@@ -86,7 +86,7 @@ Test-Suite bitwise-testsuite
+ build-depends:
+ bitwise,
+ base,
+- QuickCheck >= 2.4 && < 2.12
++ QuickCheck >= 2.4 && < 2.15
+ Default-Language: Haskell2010
+
+ Benchmark bitwise-benchmark
=====================================
p/haskell-bitwise/debian/patches/series
=====================================
@@ -0,0 +1 @@
+newer-deps
=====================================
p/haskell-bitwise/debian/rules
=====================================
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = bitwise
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
=====================================
p/haskell-bitwise/debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)
=====================================
p/haskell-bitwise/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=3
+https://hackage.haskell.org/package/bitwise/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/3baf5a7190a9d4cf6ba633411401c625487f9034
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/3baf5a7190a9d4cf6ba633411401c625487f9034
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/20220728/629bdbfd/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list