pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/floskell



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 10:19:20 UTC 2022

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/floskell/DESCR \
    pkgsrc/devel/floskell/Makefile pkgsrc/devel/floskell/PLIST \
    pkgsrc/devel/floskell/buildlink3.mk pkgsrc/devel/floskell/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/floskell/patches/patch-floskell.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/floskell/DESCR
diff -u /dev/null pkgsrc/devel/floskell/DESCR:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/DESCR Wed Feb 16 10:19:20 2022
@@ -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.
Index: pkgsrc/devel/floskell/Makefile
diff -u /dev/null pkgsrc/devel/floskell/Makefile:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/Makefile      Wed Feb 16 10:19:20 2022
@@ -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"
Index: pkgsrc/devel/floskell/PLIST
diff -u /dev/null pkgsrc/devel/floskell/PLIST:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/PLIST Wed Feb 16 10:19:20 2022
@@ -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
Index: pkgsrc/devel/floskell/buildlink3.mk
diff -u /dev/null pkgsrc/devel/floskell/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/buildlink3.mk Wed Feb 16 10:19:20 2022
@@ -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
Index: pkgsrc/devel/floskell/distinfo
diff -u /dev/null pkgsrc/devel/floskell/distinfo:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/distinfo      Wed Feb 16 10:19:20 2022
@@ -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

Index: pkgsrc/devel/floskell/patches/patch-floskell.cabal
diff -u /dev/null pkgsrc/devel/floskell/patches/patch-floskell.cabal:1.1
--- /dev/null   Wed Feb 16 10:19:20 2022
+++ pkgsrc/devel/floskell/patches/patch-floskell.cabal  Wed Feb 16 10:19:20 2022
@@ -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