pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-base-compat Import base-compat-0.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d226671de71
branches:  trunk
changeset: 346426:9d226671de71
user:      pho <pho%pkgsrc.org@localhost>
date:      Tue Dec 31 17:40:50 2019 +0000

description:
Import base-compat-0.11.0

Provides functions available in later versions of base to a wider
range of compilers, without requiring you to use CPP pragmas in your
code. See the README for what is covered. Also see the changelog for
recent changes.

Note that base-compat does not add any orphan instances. There is a
separate package, base-orphans, for that.

In addition, base-compat does not backport any data types or type
classes. See this section of the README for more info.

base-compat is designed to have zero dependencies. For a version of
base-compat that depends on compatibility libraries for a wider
support window, see the base-compat-batteries package. Most of the
modules in this library have the same names as in
base-compat-batteries to make it easier to switch between the
two. There also exist versions of each module with the suffix .Repl,
which are distinct from anything in base-compat-batteries, to allow
for easier use in GHCi.

diffstat:

 devel/hs-base-compat/DESCR         |  19 +++++++++++++++++++
 devel/hs-base-compat/Makefile      |  11 +++++++++++
 devel/hs-base-compat/buildlink3.mk |  13 +++++++++++++
 devel/hs-base-compat/distinfo      |   6 ++++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r ecfc727e079a -r 9d226671de71 devel/hs-base-compat/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-base-compat/DESCR        Tue Dec 31 17:40:50 2019 +0000
@@ -0,0 +1,19 @@
+Provides functions available in later versions of base to a wider
+range of compilers, without requiring you to use CPP pragmas in your
+code. See the README for what is covered. Also see the changelog for
+recent changes.
+
+Note that base-compat does not add any orphan instances. There is a
+separate package, base-orphans, for that.
+
+In addition, base-compat does not backport any data types or type
+classes. See this section of the README for more info.
+
+base-compat is designed to have zero dependencies. For a version of
+base-compat that depends on compatibility libraries for a wider
+support window, see the base-compat-batteries package. Most of the
+modules in this library have the same names as in
+base-compat-batteries to make it easier to switch between the
+two. There also exist versions of each module with the suffix .Repl,
+which are distinct from anything in base-compat-batteries, to allow
+for easier use in GHCi.
diff -r ecfc727e079a -r 9d226671de71 devel/hs-base-compat/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-base-compat/Makefile     Tue Dec 31 17:40:50 2019 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2019/12/31 17:40:50 pho Exp $
+
+DISTNAME=      base-compat-0.11.0
+CATEGORIES=    devel
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Compatibility layer for base
+LICENSE=       mit
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ecfc727e079a -r 9d226671de71 devel/hs-base-compat/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-base-compat/buildlink3.mk        Tue Dec 31 17:40:50 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/12/31 17:40:50 pho Exp $
+
+BUILDLINK_TREE+=       hs-base-compat
+
+.if !defined(HS_BASE_COMPAT_BUILDLINK3_MK)
+HS_BASE_COMPAT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-base-compat+= hs-base-compat>=0.11.0
+BUILDLINK_ABI_DEPENDS.hs-base-compat+= hs-base-compat>=0.11.0
+BUILDLINK_PKGSRCDIR.hs-base-compat?=   ../../devel/hs-base-compat
+.endif # HS_BASE_COMPAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-base-compat
diff -r ecfc727e079a -r 9d226671de71 devel/hs-base-compat/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-base-compat/distinfo     Tue Dec 31 17:40:50 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/31 17:40:50 pho Exp $
+
+SHA1 (base-compat-0.11.0.tar.gz) = d75237bf446fbdeba39479e38398e83a8453d07e
+RMD160 (base-compat-0.11.0.tar.gz) = df437663bec4bb208b4e0b4aa7ce45fea20f698b
+SHA512 (base-compat-0.11.0.tar.gz) = b9f3f29d2282bb51a1dafbe9db728d4e568bda07d9695d829d91ae2ea14157645c93289538039aedcce0d23c90ad07fa247a83c8e1093bb251d7af33ac828bc8
+Size (base-compat-0.11.0.tar.gz) = 33338 bytes



Home | Main Index | Thread Index | Old Index