[Git][haskell-team/DHG_packages][master] add hgmp

Clint Adams (@clint) gitlab at salsa.debian.org
Sun Oct 22 18:45:35 BST 2023



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
b1c4def3 by Clint Adams at 2023-10-22T13:45:24-04:00
add hgmp

- - - - -


9 changed files:

- + p/haskell-hgmp/debian/changelog
- + p/haskell-hgmp/debian/compat
- + p/haskell-hgmp/debian/control
- + p/haskell-hgmp/debian/copyright
- + p/haskell-hgmp/debian/patches/newer-deps
- + p/haskell-hgmp/debian/patches/series
- + p/haskell-hgmp/debian/rules
- + p/haskell-hgmp/debian/source/format
- + p/haskell-hgmp/debian/watch


Changes:

=====================================
p/haskell-hgmp/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-hgmp (0.1.2-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Clint Adams <clint at debian.org>  Sun, 22 Oct 2023 13:38:19 -0400


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


=====================================
p/haskell-hgmp/debian/control
=====================================
@@ -0,0 +1,64 @@
+Source: haskell-hgmp
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Priority: optional
+Section: haskell
+Rules-Requires-Root: no
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-quickcheck2-dev (>= 2.8),
+ libghc-quickcheck2-dev (<< 2.15),
+ libghc-quickcheck2-prof (>= 2.8),
+ libghc-quickcheck2-prof (<< 2.15),
+Build-Depends-Indep: ghc-doc,
+Standards-Version: 4.6.2
+Homepage: https://code.mathr.co.uk/hgmp
+X-Description: Haskell interface to GMP
+ Types and instances, and marshalling between Integer and
+ Rational and the corresponding GMP types, along with raw
+ foreign imports of GMP functions.  Allows FFI to GMP code
+ (whether in GMP itself or in third-party code that uses
+ GMP).
+
+Package: libghc-hgmp-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-hgmp-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-hgmp-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-hgmp/debian/copyright
=====================================
@@ -0,0 +1,40 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hgmp
+Upstream-Contact: claude at mathr.co.uk
+Source: https://hackage.haskell.org/package/hgmp
+
+Files: *
+Copyright: 2016,2017 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
+ 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-hgmp/debian/patches/newer-deps
=====================================
@@ -0,0 +1,17 @@
+--- a/hgmp.cabal
++++ b/hgmp.cabal
+@@ -28,11 +28,11 @@ library
+                      , Numeric.GMP.Types
+                      , Numeric.GMP.Raw.Safe
+                      , Numeric.GMP.Raw.Unsafe
+-  build-depends:       base >= 4.8 && < 4.17
+-                     , ghc-prim >= 0.4 && < 0.8
++  build-depends:       base >= 4.8 && < 5
++                     , ghc-prim >= 0.4 && < 0.10
+ 
+   if (impl(ghc >= 8.11))
+-    build-depends:     ghc-bignum >= 1.0 && < 1.1
++    build-depends:     ghc-bignum >= 1.0 && < 2
+   else
+     build-depends:     integer-gmp >= 1.0 && < 1.1
+ 


=====================================
p/haskell-hgmp/debian/patches/series
=====================================
@@ -0,0 +1 @@
+newer-deps


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


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


=====================================
p/haskell-hgmp/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=4
+https://hackage.haskell.org/package/hgmp/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/b1c4def3f0da24793fc830ac23d572d3a99aba32

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/b1c4def3f0da24793fc830ac23d572d3a99aba32
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/20231022/5b019ae0/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list