pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-type-equality



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Feb 14 14:37:38 UTC 2022

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

Log Message:
devel/hs-type-equality: import hs-type-equality-1

This library defines a propositional equality data type, shims
Data.Type.Equality as well as possible for older GHCs (< 7.8).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-type-equality/DESCR \
    pkgsrc/devel/hs-type-equality/Makefile \
    pkgsrc/devel/hs-type-equality/PLIST \
    pkgsrc/devel/hs-type-equality/buildlink3.mk \
    pkgsrc/devel/hs-type-equality/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-type-equality/patches/patch-type-equality.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-type-equality/DESCR
diff -u /dev/null pkgsrc/devel/hs-type-equality/DESCR:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/DESCR Mon Feb 14 14:37:38 2022
@@ -0,0 +1,2 @@
+This library defines a propositional equality data type, shims
+Data.Type.Equality as well as possible for older GHCs (< 7.8).
Index: pkgsrc/devel/hs-type-equality/Makefile
diff -u /dev/null pkgsrc/devel/hs-type-equality/Makefile:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/Makefile      Mon Feb 14 14:37:38 2022
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/14 14:37:38 pho Exp $
+
+DISTNAME=      type-equality-1
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Data.Type.Equality compat package
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-type-equality/PLIST
diff -u /dev/null pkgsrc/devel/hs-type-equality/PLIST:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/PLIST Mon Feb 14 14:37:38 2022
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/14 14:37:38 pho Exp $
+lib/type-equality-${PKGVERSION}/${HS_VERSION}/package-description
+lib/type-equality-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Type/Equality/Hetero.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Type/Equality/Hetero.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Type/Equality/Hetero.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}/type-equality-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/Data-Type-Equality-Hetero.html
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/type-equality-${PKGVERSION}/html/type-equality.haddock
Index: pkgsrc/devel/hs-type-equality/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-type-equality/buildlink3.mk:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/buildlink3.mk Mon Feb 14 14:37:38 2022
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/14 14:37:38 pho Exp $
+
+BUILDLINK_TREE+=       hs-type-equality
+
+.if !defined(HS_TYPE_EQUALITY_BUILDLINK3_MK)
+HS_TYPE_EQUALITY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-type-equality+=       hs-type-equality>=1
+BUILDLINK_ABI_DEPENDS.hs-type-equality+=       hs-type-equality>=1
+BUILDLINK_PKGSRCDIR.hs-type-equality?=         ../../devel/hs-type-equality
+.endif # HS_TYPE_EQUALITY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-type-equality
Index: pkgsrc/devel/hs-type-equality/distinfo
diff -u /dev/null pkgsrc/devel/hs-type-equality/distinfo:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/distinfo      Mon Feb 14 14:37:38 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/14 14:37:38 pho Exp $
+
+BLAKE2s (type-equality-1.tar.gz) = f824c2e9a19b0d7a6d1217278e476b6e2c3b52271cd805ce88e5be4489302b08
+SHA512 (type-equality-1.tar.gz) = 633675251719afa59c311ae82d18476d6e000fbbdc553a29da598da38a29cf73fffcbcd4b23a70dd397f10734ba6617633390874eea8a563a1e258654a9fe7d8
+Size (type-equality-1.tar.gz) = 4525 bytes
+SHA1 (patch-type-equality.cabal) = a4cb5ff41ae116dd5a4be73be80987a01d8dbbfa

Index: pkgsrc/devel/hs-type-equality/patches/patch-type-equality.cabal
diff -u /dev/null pkgsrc/devel/hs-type-equality/patches/patch-type-equality.cabal:1.1
--- /dev/null   Mon Feb 14 14:37:38 2022
+++ pkgsrc/devel/hs-type-equality/patches/patch-type-equality.cabal     Mon Feb 14 14:37:38 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-type-equality.cabal,v 1.1 2022/02/14 14:37:38 pho Exp $
+
+Fix build with GHC 9.2
+
+--- type-equality.cabal.orig   2001-09-09 01:46:40.000000000 +0000
++++ type-equality.cabal
+@@ -33,7 +33,7 @@ source-repository head
+ 
+ library
+   default-language: Haskell2010
+-  build-depends:    base >=4.3 && <4.14
++  build-depends:    base >=4.3 && <5
+ 
+   if !impl(ghc >=7.8)
+     hs-source-dirs: src-old



Home | Main Index | Thread Index | Old Index