pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-some



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 05:04:23 UTC 2022

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

Log Message:
devel/hs-some: import hs-some-1.0.3

This library defines an existential type Some.

data Some f where
    Some :: f a -> Some f

in few variants, and utilities to work with it.

If you are unsure which variant to use, use the one in Data.Some module.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-some/DESCR \
    pkgsrc/devel/hs-some/Makefile pkgsrc/devel/hs-some/PLIST \
    pkgsrc/devel/hs-some/buildlink3.mk pkgsrc/devel/hs-some/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-some/patches/patch-some.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/hs-some/DESCR
diff -u /dev/null pkgsrc/devel/hs-some/DESCR:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/DESCR  Wed Feb 16 05:04:23 2022
@@ -0,0 +1,8 @@
+This library defines an existential type Some.
+
+data Some f where
+    Some :: f a -> Some f
+
+in few variants, and utilities to work with it.
+
+If you are unsure which variant to use, use the one in Data.Some module.
Index: pkgsrc/devel/hs-some/Makefile
diff -u /dev/null pkgsrc/devel/hs-some/Makefile:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/Makefile       Wed Feb 16 05:04:23 2022
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 05:04:23 pho Exp $
+
+DISTNAME=      some-1.0.3
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Existential type: Some
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-some/PLIST
diff -u /dev/null pkgsrc/devel/hs-some/PLIST:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/PLIST  Wed Feb 16 05:04:23 2022
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 05:04:23 pho Exp $
+lib/some-${PKGVERSION}/${HS_VERSION}/package-description
+lib/some-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Compare.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/DeepSeq.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/GADT/Show.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Church.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/GADT.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Some/Newtype.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}/some-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Compare.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-DeepSeq.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-GADT-Show.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Church.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-GADT.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some-Newtype.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/Data-Some.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/some.haddock
+share/doc/${HS_PLATFORM}/some-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-some/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-some/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/buildlink3.mk  Wed Feb 16 05:04:23 2022
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 05:04:23 pho Exp $
+
+BUILDLINK_TREE+=       hs-some
+
+.if !defined(HS_SOME_BUILDLINK3_MK)
+HS_SOME_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-some+=        hs-some>=1.0.3
+BUILDLINK_ABI_DEPENDS.hs-some+=        hs-some>=1.0.3
+BUILDLINK_PKGSRCDIR.hs-some?=  ../../devel/hs-some
+.endif # HS_SOME_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-some
Index: pkgsrc/devel/hs-some/distinfo
diff -u /dev/null pkgsrc/devel/hs-some/distinfo:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/distinfo       Wed Feb 16 05:04:23 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 05:04:23 pho Exp $
+
+BLAKE2s (some-1.0.3.tar.gz) = e158c8b088bcd178a5ff49d7f381858497bcbd8476bbf681cec5964be95b5053
+SHA512 (some-1.0.3.tar.gz) = 801dae8079bf658b628e220e083b70c1d8c368c1e6345dd6f4417d5e52c24de29dd7d5cb72fc13bfd0e6c7c3aaf5a44ffd539d40ef43eb36d2060aa66b13a563
+Size (some-1.0.3.tar.gz) = 8527 bytes
+SHA1 (patch-some.cabal) = 6ac8ce953b2b421e46b6c94896540d964fc5705f

Index: pkgsrc/devel/hs-some/patches/patch-some.cabal
diff -u /dev/null pkgsrc/devel/hs-some/patches/patch-some.cabal:1.1
--- /dev/null   Wed Feb 16 05:04:23 2022
+++ pkgsrc/devel/hs-some/patches/patch-some.cabal       Wed Feb 16 05:04:23 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-some.cabal,v 1.1 2022/02/16 05:04:23 pho Exp $
+
+Fix build with GHC 9.2
+
+--- some.cabal.orig    2001-09-09 01:46:40.000000000 +0000
++++ some.cabal
+@@ -72,7 +72,7 @@ library
+ 
+   other-modules:    Data.GADT.Internal
+   build-depends:
+-      base     >=4.3     && <4.16
++      base     >=4.3     && <5
+     , deepseq  >=1.3.0.0 && <1.5
+ 
+   if !impl(ghc >=7.8)



Home | Main Index | Thread Index | Old Index