Hi Rémy,

 > Since I had the patches on my local repository, I pushed them
 > upstream. 

thank you for the fixes. I have another patch that simplifies the
library a bit: IMHO, we can drop the 'ArchPackage' data type, because
it's unused. Or do you think we'd still need that one?

Take care,
Peter

>From 35c1314d5e029dc449a78c0fdc2d539ad99e3737 Mon Sep 17 00:00:00 2001
From: Peter Simons <[email protected]>
Date: Sun, 9 Jan 2011 22:24:16 +0100
Subject: [PATCH] Distribution/ArchLinux/PkgBuild.hs: the ArchPackage data type 
is obsolete

---
 Distribution/ArchLinux/PkgBuild.hs |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/Distribution/ArchLinux/PkgBuild.hs 
b/Distribution/ArchLinux/PkgBuild.hs
index c519742..86a913e 100644
--- a/Distribution/ArchLinux/PkgBuild.hs
+++ b/Distribution/ArchLinux/PkgBuild.hs
@@ -535,29 +535,3 @@ instance Text AnnotatedPkgBuild where
 --
 pkg2doc :: String -> AnnotatedPkgBuild -> Doc
 pkg2doc email pkg = text "# Maintainer:" <+> text email $$ disp pkg
-
---
--- | A data type to represent a full ArchLinux package
---
-data ArchPackage = ArchPackage
-  { archpkg_pkgbuild :: AnnotatedPkgBuild
-        -- ^
-        -- The annotated PKGBUILD file
-  , archpkg_install :: Maybe String
-        -- ^
-        -- The contents of the install script if it exists.
-  , archpkg_others :: [(String, String)]
-        -- ^
-        -- A list of additional files (filename, contents)
-  }
-
---
--- | An empty package
---
-emptyArchPkg :: ArchPackage
-emptyArchPkg = ArchPackage
-  { archpkg_pkgbuild = emptyPkg
-  , archpkg_install = Nothing
-  , archpkg_others = []
-  }
-
-- 
1.7.3.5

_______________________________________________
arch-haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/arch-haskell

Reply via email to