[Git][haskell-team/DHG_packages][master] Initial packaging of groom-0.1.2.1
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Tue Mar 25 22:59:05 GMT 2025
Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
e35b70b0 by Scott Talbert at 2025-03-25T18:57:13-04:00
Initial packaging of groom-0.1.2.1
- - - - -
8 changed files:
- + p/haskell-groom/debian/changelog
- + p/haskell-groom/debian/compat
- + p/haskell-groom/debian/control
- + p/haskell-groom/debian/copyright
- + p/haskell-groom/debian/haskell-groom-utils.install
- + p/haskell-groom/debian/rules
- + p/haskell-groom/debian/source/format
- + p/haskell-groom/debian/watch
Changes:
=====================================
p/haskell-groom/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-groom (0.1.2.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Scott Talbert <swt at techie.net> Tue, 25 Mar 2025 18:50:44 -0400
=====================================
p/haskell-groom/debian/compat
=====================================
@@ -0,0 +1 @@
+10
=====================================
p/haskell-groom/debian/control
=====================================
@@ -0,0 +1,97 @@
+Source: haskell-groom
+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-src-exts-dev (>= 1.0.0),
+ libghc-src-exts-prof,
+Build-Depends-Indep: ghc-doc,
+ libghc-src-exts-doc,
+Standards-Version: 4.7.0
+Homepage: https://hackage.haskell.org/package/groom
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-groom
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-groom]
+X-Description: Pretty printing for well-behaved Show instances
+ Automatically derived Show instances are an easy way
+ to inspect data in your program. However, for large
+ data-structures, the resulting output lacks
+ whitespace, making it unreadable. Groom offers an
+ replacement to `show' called `groom' which attempts
+ to pretty-print the output of `show'. For example:
+ .
+ > let x = parseExp "foobar 1 [1,2]"
+ > in do
+ > putStrLn (show x)
+ > putStrLn (groom x)
+ .
+ results in:
+ .
+ > ParseOk (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1))) (List [Lit (Int 1),Lit (Int 2)]))
+ > ParseOk
+ > (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1)))
+ > (List [Lit (Int 1), Lit (Int 2)]))
+ .
+ Groom works only on Show instances that output valid
+ Haskell code; if Groom can't understand its input,
+ it will not make any changes.
+
+Package: libghc-groom-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-groom-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-groom-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}
+
+Package: haskell-groom-utils
+Architecture: any
+Section: misc
+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}
=====================================
p/haskell-groom/debian/copyright
=====================================
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: groom
+Upstream-Contact: ezyang at mit.edu
+Source: https://hackage.haskell.org/package/groom
+
+Files: *
+Copyright: Copyright (c) Edward Z. Yang 2017
+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) Edward Z. Yang 2017
+ .
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the author nor the names of his contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 AUTHORS 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-groom/debian/haskell-groom-utils.install
=====================================
@@ -0,0 +1 @@
+dist-ghc/build/groom/groom usr/bin
=====================================
p/haskell-groom/debian/rules
=====================================
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = groom
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+build/haskell-groom-utils:: build-ghc-stamp
=====================================
p/haskell-groom/debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)
=====================================
p/haskell-groom/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=4
+https://hackage.haskell.org/package/groom/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/e35b70b0e62931df021388d299f7cd80f5369263
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/e35b70b0e62931df021388d299f7cd80f5369263
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/4c9f6e77/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list