[Git][haskell-team/DHG_packages][master] happy: patch debian/get_version.hs for newer Cabal
    Clint Adams 
    gitlab at salsa.debian.org
       
    Tue Jun  2 22:50:46 BST 2020
    
    
  
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
3cdf47d3 by Clint Adams at 2020-06-02T17:32:10-04:00
happy: patch debian/get_version.hs for newer Cabal
- - - - -
2 changed files:
- p/happy/debian/changelog
- p/happy/debian/get_version.hs
Changes:
=====================================
p/happy/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+happy (1.19.12-2) unstable; urgency=medium
+
+  * Patch debian/get_version.hs for newer Cabal.
+
+ -- Clint Adams <clint at debian.org>  Tue, 02 Jun 2020 17:31:52 -0400
+
 happy (1.19.12-1) unstable; urgency=medium
 
   * New upstream release
=====================================
p/happy/debian/get_version.hs
=====================================
@@ -1,14 +1,13 @@
-
 module Main (main) where
 
 import Distribution.Package
 import Distribution.PackageDescription
 import Distribution.PackageDescription.Parsec ( readGenericPackageDescription )
+import Distribution.Pretty                    ( prettyShow )
 import Distribution.Simple.Utils
 import Distribution.Verbosity
-import Distribution.Version
 
 main :: IO ()
 main = do Right fp <- findPackageDesc "."
           pd <- readGenericPackageDescription normal fp
-          putStr $ showVersion $ pkgVersion $ package $ packageDescription pd
+          putStr $ prettyShow $ pkgVersion $ package $ packageDescription pd
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/3cdf47d3ade97f382ea966cf3a8ff697b56d1cb8
-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/3cdf47d3ade97f382ea966cf3a8ff697b56d1cb8
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/20200602/97d40006/attachment-0001.html>
    
    
More information about the Pkg-haskell-commits
mailing list