pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ormolu



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 10:23:02 UTC 2022

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

Log Message:
devel/ormolu: import ormolu-0.4.0.0

Ormolu is a formatter for Haskell source code. The project was created with
the following goals in mind:

* Using GHC's own parser to avoid parsing problems caused by
  haskell-src-exts.
* Let some whitespace be programmable. The layout of the input influences
  the layout choices in the output. This means that the choices between
  single-line/multi-line layouts in certain situations are made by the
  user, not by an algorithm. This makes the implementation simpler and
  leaves some control to the user while still guaranteeing that the
  formatted code is stylistically consistent.
* Writing code in such a way so it's easy to modify and maintain.
* Implementing one "true" formatting style which admits no configuration.
* The formatting style aims to result in minimal diffs.
* Choose a style compatible with modern dialects of Haskell. As new Haskell
  extensions enter broad use, we may change the style to accommodate them.
* Idempotence: formatting already formatted code doesn't change it.
* Be well-tested and robust so that the formatter can be used in large
  projects.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ormolu/DESCR pkgsrc/devel/ormolu/Makefile \
    pkgsrc/devel/ormolu/PLIST pkgsrc/devel/ormolu/buildlink3.mk \
    pkgsrc/devel/ormolu/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ormolu/patches/patch-ormolu.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/ormolu/DESCR
diff -u /dev/null pkgsrc/devel/ormolu/DESCR:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/DESCR   Wed Feb 16 10:23:02 2022
@@ -0,0 +1,19 @@
+Ormolu is a formatter for Haskell source code. The project was created with
+the following goals in mind:
+
+* Using GHC's own parser to avoid parsing problems caused by
+  haskell-src-exts.
+* Let some whitespace be programmable. The layout of the input influences
+  the layout choices in the output. This means that the choices between
+  single-line/multi-line layouts in certain situations are made by the
+  user, not by an algorithm. This makes the implementation simpler and
+  leaves some control to the user while still guaranteeing that the
+  formatted code is stylistically consistent.
+* Writing code in such a way so it's easy to modify and maintain.
+* Implementing one "true" formatting style which admits no configuration.
+* The formatting style aims to result in minimal diffs.
+* Choose a style compatible with modern dialects of Haskell. As new Haskell
+  extensions enter broad use, we may change the style to accommodate them.
+* Idempotence: formatting already formatted code doesn't change it.
+* Be well-tested and robust so that the formatter can be used in large
+  projects.
Index: pkgsrc/devel/ormolu/Makefile
diff -u /dev/null pkgsrc/devel/ormolu/Makefile:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/Makefile        Wed Feb 16 10:23:02 2022
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:23:02 pho Exp $
+
+DISTNAME=      ormolu-0.4.0.0
+PKGNAME=       ${DISTNAME}
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Formatter for Haskell source code
+LICENSE=       modified-bsd
+
+# lib:ormolu
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+
+# exe:ormolu
+.include "../../devel/hs-gitrev/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ormolu/PLIST
diff -u /dev/null pkgsrc/devel/ormolu/PLIST:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/PLIST   Wed Feb 16 10:23:02 2022
@@ -0,0 +1,216 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:23:02 pho Exp $
+bin/ormolu
+lib/${PKGNAME}/${HS_VERSION}/package-description
+lib/${PKGNAME}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/GHC/DynFlags.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GHC/DynFlags.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GHC/DynFlags.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Config.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Config.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Config.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/ParseResult.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/ParseResult.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/ParseResult.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/Text.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/Text.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Diff/Text.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Exception.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Exception.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Exception.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Imports.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Imports.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Imports.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/CommentStream.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/CommentStream.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/CommentStream.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Pragma.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Pragma.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Pragma.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Result.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Result.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Parser/Result.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Combinators.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Combinators.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Combinators.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Comments.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Comments.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Comments.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Common.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Common.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Common.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Annotation.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Annotation.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Annotation.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Class.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Class.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Class.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Data.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Data.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Data.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Default.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Default.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Default.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Foreign.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Foreign.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Foreign.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Instance.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Instance.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Instance.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/RoleAnnotation.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/RoleAnnotation.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/RoleAnnotation.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Rule.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Rule.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Rule.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Signature.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Signature.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Signature.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Splice.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Splice.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Splice.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Type.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Type.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Type.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/TypeFamily.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/TypeFamily.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/TypeFamily.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Value.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Value.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Value.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Warning.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Warning.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Declaration/Warning.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/ImportExport.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/ImportExport.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/ImportExport.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Module.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Module.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Module.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Pragma.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Pragma.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Pragma.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Type.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Type.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Meat/Type.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Operators.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Operators.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/Operators.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/SpanStream.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/SpanStream.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Printer/SpanStream.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Common.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Common.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Common.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Cpp.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Cpp.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Cpp.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Preprocess.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Preprocess.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Processing/Preprocess.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Terminal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Terminal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Terminal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/Extensions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/Extensions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/Extensions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/IO.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/IO.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ormolu/Utils/IO.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}/${PKGNAME}/LICENSE.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/CONTRIBUTING.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/DESIGN.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Config.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Diff-ParseResult.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Diff-Text.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Exception.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Imports.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Parser-CommentStream.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Parser-Pragma.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Parser-Result.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Parser.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Combinators.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Comments.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Internal.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Common.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Annotation.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Class.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Data.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Default.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Foreign.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Instance.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-RoleAnnotation.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Rule.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Signature.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Splice.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Type.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-TypeFamily.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Value.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration-Warning.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Declaration.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-ImportExport.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Module.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Pragma.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Meat-Type.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-Operators.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer-SpanStream.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Printer.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Processing-Common.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Processing-Cpp.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Processing-Preprocess.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Terminal.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Utils-Extensions.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Utils-IO.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu-Utils.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Ormolu.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/README.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/index.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/linuwial.css
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/meta.json
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/ormolu.haddock
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/synopsis.png
Index: pkgsrc/devel/ormolu/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ormolu/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/buildlink3.mk   Wed Feb 16 10:23:02 2022
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:23:02 pho Exp $
+
+BUILDLINK_TREE+=       ormolu
+
+.if !defined(ORMOLU_BUILDLINK3_MK)
+ORMOLU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ormolu+= ormolu>=0.4.0
+BUILDLINK_ABI_DEPENDS.ormolu+= ormolu>=0.4.0.0
+BUILDLINK_PKGSRCDIR.ormolu?=   ../../devel/ormolu
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-ghc-lib-parser/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../devel/hs-gitrev/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.endif # ORMOLU_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ormolu
Index: pkgsrc/devel/ormolu/distinfo
diff -u /dev/null pkgsrc/devel/ormolu/distinfo:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/distinfo        Wed Feb 16 10:23:02 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:23:02 pho Exp $
+
+BLAKE2s (ormolu-0.4.0.0.tar.gz) = de8b6f877cc76e4393ec8cf9715faace2274d2240936decd3e9298dad127c3b9
+SHA512 (ormolu-0.4.0.0.tar.gz) = bee8ab729b55546a0116a4b223cdb1d65369666bfc1b79fb718422d93c9d4b11ec44091fced2e8a3914db86609cb4d0c031514f2e496d428f1abee36094c4bfd
+Size (ormolu-0.4.0.0.tar.gz) = 142052 bytes
+SHA1 (patch-ormolu.cabal) = 4a837b48defd3fc8198adb137744ea9e947f5ee6

Index: pkgsrc/devel/ormolu/patches/patch-ormolu.cabal
diff -u /dev/null pkgsrc/devel/ormolu/patches/patch-ormolu.cabal:1.1
--- /dev/null   Wed Feb 16 10:23:02 2022
+++ pkgsrc/devel/ormolu/patches/patch-ormolu.cabal      Wed Feb 16 10:23:02 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-ormolu.cabal,v 1.1 2022/02/16 10:23:02 pho Exp $
+
+Fix build with optparse-applicative-0.17
+
+--- ormolu.cabal.orig  2001-09-09 01:46:40.000000000 +0000
++++ ormolu.cabal
+@@ -116,7 +116,7 @@ executable ormolu
+         filepath >=1.2 && <1.5,
+         ghc-lib-parser >=9.2 && <9.3,
+         gitrev >=1.3 && <1.4,
+-        optparse-applicative >=0.14 && <0.17,
++        optparse-applicative >=0.14,
+         ormolu,
+         text >=0.2 && <1.3
+ 



Home | Main Index | Thread Index | Old Index