pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/retrie



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 10:11:00 UTC 2022

Added Files:
        pkgsrc/devel/retrie: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/retrie/patches: patch-retrie.cabal

Log Message:
devel/retrie: import retrie-1.2.0.1

Retrie is a tool for codemodding Haskell. Key goals include:

* Speed: Efficiently rewrite in large (>1 million line) codebases.
* Safety: Avoids large classes of codemod-related errors.
* Ease-of-use: Haskell syntax instead of regular expressions. No
  hand-rolled AST traversals.

This package provides a command-line tool (retrie) and a library (Retrie)
for making equational edits to Haskell code.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/retrie/DESCR pkgsrc/devel/retrie/Makefile \
    pkgsrc/devel/retrie/PLIST pkgsrc/devel/retrie/buildlink3.mk \
    pkgsrc/devel/retrie/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/retrie/patches/patch-retrie.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/retrie/DESCR
diff -u /dev/null pkgsrc/devel/retrie/DESCR:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/DESCR   Wed Feb 16 10:11:00 2022
@@ -0,0 +1,9 @@
+Retrie is a tool for codemodding Haskell. Key goals include:
+
+* Speed: Efficiently rewrite in large (>1 million line) codebases.
+* Safety: Avoids large classes of codemod-related errors.
+* Ease-of-use: Haskell syntax instead of regular expressions. No
+  hand-rolled AST traversals.
+
+This package provides a command-line tool (retrie) and a library (Retrie)
+for making equational edits to Haskell code.
Index: pkgsrc/devel/retrie/Makefile
diff -u /dev/null pkgsrc/devel/retrie/Makefile:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/Makefile        Wed Feb 16 10:11:00 2022
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:11:00 pho Exp $
+
+DISTNAME=      retrie-1.2.0.1
+PKGNAME=       ${DISTNAME}
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Powerful, easy-to-use codemodding tool for Haskell
+LICENSE=       mit
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../devel/hs-ghc-exactprint/buildlink3.mk"
+.include "../../devel/hs-list-t/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-random-shuffle/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-ghc-paths/buildlink3.mk"
+.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/retrie/PLIST
diff -u /dev/null pkgsrc/devel/retrie/PLIST:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/PLIST   Wed Feb 16 10:11:00 2022
@@ -0,0 +1,180 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:11:00 pho Exp $
+bin/retrie
+lib/retrie-${PKGVERSION}/${HS_VERSION}/package-description
+lib/retrie-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/AlphaEnv.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/AlphaEnv.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/AlphaEnv.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/CPP.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/CPP.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/CPP.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Context.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Context.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Context.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Debug.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Debug.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Debug.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Elaborate.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Elaborate.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Elaborate.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint/Annotated.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint/Annotated.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/ExactPrint/Annotated.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Expr.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Expr.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Expr.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Fixity.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Fixity.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Fixity.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/FreeVars.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/FreeVars.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/FreeVars.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GHC.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GHC.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GHC.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GroundTerms.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GroundTerms.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/GroundTerms.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Monad.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Monad.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Monad.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Options.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Options.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Options.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Bag.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Bag.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Bag.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Class.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Class.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Class.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Instances.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Instances.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/PatternMap/Instances.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Pretty.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Pretty.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Pretty.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Quantifiers.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Quantifiers.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Quantifiers.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Query.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Query.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Query.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Replace.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Replace.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Replace.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Function.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Function.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Function.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Patterns.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Patterns.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Patterns.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Rules.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Rules.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Rules.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Rewrites/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Run.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Run.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Run.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/SYB.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/SYB.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/SYB.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Subst.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Subst.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Subst.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Substitution.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Substitution.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Substitution.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Universe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Universe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Universe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Util.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Util.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Retrie/Util.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-AlphaEnv.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-CPP.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Context.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Debug.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Elaborate.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-ExactPrint-Annotated.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-ExactPrint.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Expr.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Fixity.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-FreeVars.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-GHC.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-GroundTerms.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Monad.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Options.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-PatternMap-Bag.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-PatternMap-Class.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-PatternMap-Instances.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Pretty.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Quantifiers.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Query.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Replace.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Rewrites-Function.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Rewrites-Patterns.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Rewrites-Rules.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Rewrites-Types.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Rewrites.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Run.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-SYB.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Subst.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Substitution.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Types.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Universe.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie-Util.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/Retrie.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-58.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-95.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-J.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-K.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-Q.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-X.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index-Z.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/retrie.haddock
+share/doc/${HS_PLATFORM}/retrie-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/retrie/buildlink3.mk
diff -u /dev/null pkgsrc/devel/retrie/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/buildlink3.mk   Wed Feb 16 10:11:00 2022
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:11:00 pho Exp $
+
+BUILDLINK_TREE+=       retrie
+
+.if !defined(RETRIE_BUILDLINK3_MK)
+RETRIE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.retrie+= retrie>=1.2.0
+BUILDLINK_ABI_DEPENDS.retrie+= retrie>=1.2.0.1
+BUILDLINK_PKGSRCDIR.retrie?=   ../../devel/retrie
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../devel/hs-ghc-exactprint/buildlink3.mk"
+.include "../../devel/hs-list-t/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.include "../../devel/hs-random-shuffle/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-ghc-paths/buildlink3.mk"
+.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
+.endif # RETRIE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -retrie
Index: pkgsrc/devel/retrie/distinfo
diff -u /dev/null pkgsrc/devel/retrie/distinfo:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/distinfo        Wed Feb 16 10:11:00 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:11:00 pho Exp $
+
+BLAKE2s (retrie-1.2.0.1.tar.gz) = 1b1e0cebe204921023e21db123b29560e5b2c0c3959e2cf5266f0cdf8def0727
+SHA512 (retrie-1.2.0.1.tar.gz) = 8d24d7465f848fe6773b2a8fe45c291cffb176b5faf509ba940a035942407cdfea4d87b05ce40abb42fcf2ac7cda1c23e64d7209078f9524358a0996a220cd9e
+Size (retrie-1.2.0.1.tar.gz) = 91250 bytes
+SHA1 (patch-retrie.cabal) = b60a5ebe822eb602beae2be6f86dd55a5830995b

Index: pkgsrc/devel/retrie/patches/patch-retrie.cabal
diff -u /dev/null pkgsrc/devel/retrie/patches/patch-retrie.cabal:1.1
--- /dev/null   Wed Feb 16 10:11:00 2022
+++ pkgsrc/devel/retrie/patches/patch-retrie.cabal      Wed Feb 16 10:11:00 2022
@@ -0,0 +1,34 @@
+$NetBSD: patch-retrie.cabal,v 1.1 2022/02/16 10:11:00 pho Exp $
+
+* Fix build with ghc-exactprint-1.5
+* Fix build with optparse-applicative-0.17
+* Although we want the executable "retrie" to be built, we don't want
+  "demo-retrie". The upstream should really decouple these.
+
+--- retrie.cabal.orig  2001-09-09 01:46:40.000000000 +0000
++++ retrie.cabal
+@@ -84,10 +84,10 @@ library
+     directory >= 1.3.1 && < 1.4,
+     filepath >= 1.4.2 && < 1.5,
+     ghc >= 9.2,
+-    ghc-exactprint >= 1.4.0 && < 1.5,
++    ghc-exactprint >= 1.4.0,
+     list-t >= 1.0.4 && < 1.1,
+     mtl >= 2.2.2 && < 2.3,
+-    optparse-applicative >= 0.15.1 && < 0.17,
++    optparse-applicative >= 0.15.1,
+     process >= 1.6.3 && < 1.7,
+     random-shuffle >= 0.0.4 && < 0.1,
+     syb >= 0.7.1 && < 0.8,
+@@ -118,10 +118,7 @@ executable retrie
+   default-language: Haskell2010
+ 
+ executable demo-retrie
+-  if flag(BuildExecutable)
+-    Buildable: True
+-  else
+-    Buildable: False
++  Buildable: False
+   main-is:
+     Main.hs
+   hs-source-dirs: demo hse



Home | Main Index | Thread Index | Old Index