pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-some devel/hs-some: import hs-some-1.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e53c7996b36
branches:  trunk
changeset: 373990:8e53c7996b36
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 05:04:23 2022 +0000

description:
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.

diffstat:

 devel/hs-some/DESCR                    |   8 +++++
 devel/hs-some/Makefile                 |  11 ++++++++
 devel/hs-some/PLIST                    |  46 ++++++++++++++++++++++++++++++++++
 devel/hs-some/buildlink3.mk            |  13 +++++++++
 devel/hs-some/distinfo                 |   6 ++++
 devel/hs-some/patches/patch-some.cabal |  15 +++++++++++
 6 files changed, 99 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/DESCR       Wed Feb 16 05:04:23 2022 +0000
@@ -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.
diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/Makefile    Wed Feb 16 05:04:23 2022 +0000
@@ -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"
diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/PLIST       Wed Feb 16 05:04:23 2022 +0000
@@ -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
diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/buildlink3.mk       Wed Feb 16 05:04:23 2022 +0000
@@ -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
diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/distinfo    Wed Feb 16 05:04:23 2022 +0000
@@ -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
diff -r 0b932e64e6a6 -r 8e53c7996b36 devel/hs-some/patches/patch-some.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-some/patches/patch-some.cabal    Wed Feb 16 05:04:23 2022 +0000
@@ -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