pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-type-equality devel/hs-type-equality: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed2582ff29ce
branches:  trunk
changeset: 373881:ed2582ff29ce
user:      pho <pho%pkgsrc.org@localhost>
date:      Mon Feb 14 14:37:38 2022 +0000

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

diffstat:

 devel/hs-type-equality/DESCR                             |   2 +
 devel/hs-type-equality/Makefile                          |  11 +++++++++
 devel/hs-type-equality/PLIST                             |  19 ++++++++++++++++
 devel/hs-type-equality/buildlink3.mk                     |  13 ++++++++++
 devel/hs-type-equality/distinfo                          |   6 +++++
 devel/hs-type-equality/patches/patch-type-equality.cabal |  15 ++++++++++++
 6 files changed, 66 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/DESCR      Mon Feb 14 14:37:38 2022 +0000
@@ -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).
diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/Makefile   Mon Feb 14 14:37:38 2022 +0000
@@ -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"
diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/PLIST      Mon Feb 14 14:37:38 2022 +0000
@@ -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
diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/buildlink3.mk      Mon Feb 14 14:37:38 2022 +0000
@@ -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
diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/distinfo   Mon Feb 14 14:37:38 2022 +0000
@@ -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
diff -r 4a5751c132e2 -r ed2582ff29ce devel/hs-type-equality/patches/patch-type-equality.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-type-equality/patches/patch-type-equality.cabal  Mon Feb 14 14:37:38 2022 +0000
@@ -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