pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/floskell devel/floskell: import floskell-0.10.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/98d02bed82c5
branches: trunk
changeset: 374194:98d02bed82c5
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 16 10:19:20 2022 +0000
description:
devel/floskell: import floskell-0.10.6
Floskell started as a fork of version 4 of Chris Done's hindent. The
formatting styles present in hindent 4 have been preserved in spirit, but
generally will not produce exactly the same output.
diffstat:
devel/floskell/DESCR | 3 +
devel/floskell/Makefile | 24 ++++++++
devel/floskell/PLIST | 86 +++++++++++++++++++++++++++++
devel/floskell/buildlink3.mk | 22 +++++++
devel/floskell/distinfo | 6 ++
devel/floskell/patches/patch-floskell.cabal | 15 +++++
6 files changed, 156 insertions(+), 0 deletions(-)
diffs (180 lines):
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/DESCR Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,3 @@
+Floskell started as a fork of version 4 of Chris Done's hindent. The
+formatting styles present in hindent 4 have been preserved in spirit, but
+generally will not produce exactly the same output.
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/Makefile Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:19:20 pho Exp $
+
+DISTNAME= floskell-0.10.6
+PKGNAME= ${DISTNAME}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Flexible Haskell source code pretty printer
+LICENSE= modified-bsd
+
+# lib:floskell
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
+.include "../../devel/hs-monad-dijkstra/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+
+# exe:floskell
+.include "../../converters/hs-aeson-pretty/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/PLIST Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,86 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:19:20 pho Exp $
+bin/floskell
+lib/${PKGNAME}/${HS_VERSION}/package-description
+lib/${PKGNAME}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Attoparsec.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Attoparsec.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Attoparsec.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Buffer.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Buffer.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Buffer.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Comments.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Comments.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Comments.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Config.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Config.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Config.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/ConfigFile.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/ConfigFile.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/ConfigFile.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Fixities.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Fixities.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Fixities.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Imports.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Imports.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Imports.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Pretty.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Pretty.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Pretty.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Printers.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Printers.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Printers.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Styles.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Styles.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Styles.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Floskell/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE.md
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Attoparsec.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Buffer.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Comments.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Config.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-ConfigFile.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Fixities.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Imports.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Pretty.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Printers.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Styles.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell-Types.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/Floskell.html
+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-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/floskell.haddock
+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/quick-jump.css
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/synopsis.png
+share/${HS_PLATFORM}/${PKGNAME}/contrib/floskell.coffee
+share/${HS_PLATFORM}/${PKGNAME}/contrib/floskell.el
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/buildlink3.mk Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:19:20 pho Exp $
+
+BUILDLINK_TREE+= floskell
+
+.if !defined(FLOSKELL_BUILDLINK3_MK)
+FLOSKELL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.floskell+= floskell>=0.10.6
+BUILDLINK_ABI_DEPENDS.floskell+= floskell>=0.10.6
+BUILDLINK_PKGSRCDIR.floskell?= ../../devel/floskell
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../devel/hs-haskell-src-exts/buildlink3.mk"
+.include "../../devel/hs-monad-dijkstra/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../converters/hs-aeson-pretty/buildlink3.mk"
+.include "../../devel/hs-optparse-applicative/buildlink3.mk"
+.endif # FLOSKELL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -floskell
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/distinfo Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:19:20 pho Exp $
+
+BLAKE2s (floskell-0.10.6.tar.gz) = 78d8deab7346e668ff1ab2832ee6ab02f1e5f5704e5a2a7e4403f5c3474793da
+SHA512 (floskell-0.10.6.tar.gz) = d4830d9787e75ba0893508e6b67409f9031695c1596e52d0bc518a4e30c586c00a6e720ed4a87902fef8c228f6e5928a5aceca78079123eede94db6c6d4223e6
+Size (floskell-0.10.6.tar.gz) = 67823 bytes
+SHA1 (patch-floskell.cabal) = 38298c0f3a2781e36fc815bb7625a612723cc7f4
diff -r b0da67c72c4d -r 98d02bed82c5 devel/floskell/patches/patch-floskell.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/floskell/patches/patch-floskell.cabal Wed Feb 16 10:19:20 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-floskell.cabal,v 1.1 2022/02/16 10:19:20 pho Exp $
+
+Fix build with optparse-applicative-0.17
+
+--- floskell.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ floskell.cabal
+@@ -87,7 +87,7 @@ executable floskell
+ directory >=1.2.6.2 && <1.4,
+ ghc-prim >=0.5.0.0 && <0.9,
+ haskell-src-exts >=1.19 && <1.24,
+- optparse-applicative >=0.12.1.0 && <0.17,
++ optparse-applicative >=0.12.1.0,
+ text >=1.2.2.2 && <1.3
+
+ test-suite floskell-test
Home |
Main Index |
Thread Index |
Old Index