[Git][haskell-team/DHG_packages][master] alex: patch debian/get_version.hs for newer Cabal
Clint Adams
gitlab at salsa.debian.org
Thu Jun 4 13:15:22 BST 2020
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
74f4e744 by Clint Adams at 2020-06-04T08:14:07-04:00
alex: patch debian/get_version.hs for newer Cabal
- - - - -
3 changed files:
- p/alex/debian/changelog
- p/alex/debian/control
- p/alex/debian/get_version.hs
Changes:
=====================================
p/alex/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+alex (3.2.5-2) unstable; urgency=medium
+
+ * Patch debian/get_version.hs for newer Cabal.
+
+ -- Clint Adams <clint at debian.org> Thu, 04 Jun 2020 08:13:41 -0400
+
alex (3.2.5-1) unstable; urgency=medium
[ Ilias Tsitsimpis ]
=====================================
p/alex/debian/control
=====================================
@@ -20,7 +20,7 @@ Build-Depends: alex <!stage1>,
haskell-devscripts (>= 0.13),
libghc-quickcheck2-dev,
xsltproc
-Standards-Version: 4.1.4
+Standards-Version: 4.5.0
Homepage: http://www.haskell.org/alex/
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/alex
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/alex]
=====================================
p/alex/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/74f4e744771074142b0c92a8237eac879dff40bc
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/74f4e744771074142b0c92a8237eac879dff40bc
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/20200604/de602e53/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list