[Pkg-haskell-commits] darcs: haskell-stylish-haskell: Fix packaging problems

Dmitry Bogatov KAction at gnu.org
Sun Jan 18 01:45:50 UTC 2015


Sun Jan 18 01:39:20 UTC 2015  Dmitry Bogatov <KAction at gnu.org>
  * Fix packaging problems
  
   * Include binary (stylish-haskell)
   * Write manual page
  

    A ./clean
    M ./control -2 +34
    M ./rules -1 +5
    A ./stylish-haskell.haskell-binaries
    A ./stylish-haskell.install
    A ./stylish-haskell.manpages
    A ./stylish-haskell.md

Sun Jan 18 01:39:20 UTC 2015  Dmitry Bogatov <KAction at gnu.org>
  * Fix packaging problems
  
   * Include binary (stylish-haskell)
   * Write manual page
  
diff -rN -u old-haskell-stylish-haskell/clean new-haskell-stylish-haskell/clean
--- old-haskell-stylish-haskell/clean	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-stylish-haskell/clean	2015-01-18 01:45:50.540609575 +0000
@@ -0,0 +1 @@
+debian/stylish-haskell.1
\ Mankas linifino ĉe fino de dosiero
diff -rN -u old-haskell-stylish-haskell/control new-haskell-stylish-haskell/control
--- old-haskell-stylish-haskell/control	2015-01-18 01:45:50.536609573 +0000
+++ new-haskell-stylish-haskell/control	2015-01-18 01:45:50.540609575 +0000
@@ -4,6 +4,7 @@
 Priority: extra
 Section: haskell
 Build-Depends: debhelper (>= 9.0),
+ pandoc,
  haskell-devscripts (>= 0.9),
  cdbs,
  ghc,
@@ -42,9 +43,40 @@
 Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-stylish-haskell
 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-stylish-haskell
 X-Description: Haskell code prettifier
- A Haskell code prettifier. For more information, see:
+ Simple Haskell code prettifier. This tool tries to help where
+ necessary without getting in the way.
  .
- <https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown>
+ Features:
+ .
+  * Aligns and sorts import statements
+  * Groups and wraps {-# LANGUAGE #-} pragmas,
+    can remove (some) redundant pragmas
+  * Removes trailing whitespace
+  * Replaces tabs by four spaces
+    (turned off by default)
+  * Replaces some ASCII sequences by their Unicode equivalents
+    (turned off by default)
+ .
+ As end-user, you are probably interested in `stylish-haskell`.
+
+Package: stylish-haskell
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: ghc
+Description: Haskell code prettifier
+ Simple Haskell code prettifier. This tool tries to help where
+ necessary without getting in the way.
+ .
+ Features:
+ .
+  * Aligns and sorts import statements
+  * Groups and wraps {-# LANGUAGE #-} pragmas,
+    can remove (some) redundant pragmas
+  * Removes trailing whitespace
+  * Replaces tabs by four spaces
+    (turned off by default)
+  * Replaces some ASCII sequences by their Unicode equivalents
+    (turned off by default)
 
 Package: libghc-stylish-haskell-dev
 Architecture: any
diff -rN -u old-haskell-stylish-haskell/rules new-haskell-stylish-haskell/rules
--- old-haskell-stylish-haskell/rules	2015-01-18 01:45:50.532609571 +0000
+++ new-haskell-stylish-haskell/rules	2015-01-18 01:45:50.540609575 +0000
@@ -6,4 +6,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
 
-build/haskell-stylish-haskell-utils:: build-ghc-stamp
+build/stylish-haskell:: build-ghc-stamp
+build/stylish-haskell:: debian/stylish-haskell.1
+
+debian/stylish-haskell.1: debian/stylish-haskell.md
+	pandoc -st man debian/stylish-haskell.md -o debian/stylish-haskell.1
diff -rN -u old-haskell-stylish-haskell/stylish-haskell.haskell-binaries new-haskell-stylish-haskell/stylish-haskell.haskell-binaries
--- old-haskell-stylish-haskell/stylish-haskell.haskell-binaries	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-stylish-haskell/stylish-haskell.haskell-binaries	2015-01-18 01:45:50.540609575 +0000
@@ -0,0 +1 @@
+stylish-haskell
\ Mankas linifino ĉe fino de dosiero
diff -rN -u old-haskell-stylish-haskell/stylish-haskell.install new-haskell-stylish-haskell/stylish-haskell.install
--- old-haskell-stylish-haskell/stylish-haskell.install	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-stylish-haskell/stylish-haskell.install	2015-01-18 01:45:50.540609575 +0000
@@ -0,0 +1 @@
+data/stylish-haskell.yaml usr/share/stylish-haskell/data
\ Mankas linifino ĉe fino de dosiero
diff -rN -u old-haskell-stylish-haskell/stylish-haskell.manpages new-haskell-stylish-haskell/stylish-haskell.manpages
--- old-haskell-stylish-haskell/stylish-haskell.manpages	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-stylish-haskell/stylish-haskell.manpages	2015-01-18 01:45:50.540609575 +0000
@@ -0,0 +1 @@
+debian/stylish-haskell.1
\ Mankas linifino ĉe fino de dosiero
diff -rN -u old-haskell-stylish-haskell/stylish-haskell.md new-haskell-stylish-haskell/stylish-haskell.md
--- old-haskell-stylish-haskell/stylish-haskell.md	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-stylish-haskell/stylish-haskell.md	2015-01-18 01:45:50.540609575 +0000
@@ -0,0 +1,37 @@
+% STYLISH-HASKELL
+% Jasper Van der Jeugt <m at jaspervdj.be>
+% 2015-01-16
+# NAME
+
+stylish-haskell -- simple Haskell code prettifier.
+
+# SYNOPSIS
+
+stylish-haskell --inplace \[OPTIONS] FILE [FILES]
+
+stylish-haskell \[OPTIONS]
+
+# DESCRIPTION
+
+Simple Haskell code prettifier. This tool tries to help where
+necessary without getting in the way.
+
+It can change files inplace, if *--inplace* option is used,
+read stdin and output stdout otherwise.
+
+For more detailed configuration, see *--defaults* option.
+
+#OPTIONS
+
+-c --config=FILE
+:    Configuration file
+-v --verbose
+:    Run in verbose mode
+-d --defaults
+:    Dump default config and exit
+-i --inplace
+:    Overwrite the given files in place
+-? --help
+:    Display help message
+-V --version
+:    Print version information




More information about the Pkg-haskell-commits mailing list