pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-monad-logger



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

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

Log Message:
devel/hs-monad-logger: import hs-monad-logger-0.3.36

A monad transformer approach for logging.

This package provides Template Haskell functions for determining source
code locations of messages.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-monad-logger/DESCR \
    pkgsrc/devel/hs-monad-logger/Makefile pkgsrc/devel/hs-monad-logger/PLIST \
    pkgsrc/devel/hs-monad-logger/buildlink3.mk \
    pkgsrc/devel/hs-monad-logger/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-monad-logger/patches/patch-monad-logger.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-monad-logger/DESCR
diff -u /dev/null pkgsrc/devel/hs-monad-logger/DESCR:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/DESCR  Wed Feb 23 16:16:33 2022
@@ -0,0 +1,4 @@
+A monad transformer approach for logging.
+
+This package provides Template Haskell functions for determining source
+code locations of messages.
Index: pkgsrc/devel/hs-monad-logger/Makefile
diff -u /dev/null pkgsrc/devel/hs-monad-logger/Makefile:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/Makefile       Wed Feb 23 16:16:33 2022
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:16:33 pho Exp $
+
+DISTNAME=      monad-logger-0.3.36
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Class of monads which can log messages
+LICENSE=       mit
+
+.include "../../devel/hs-conduit/buildlink3.mk"
+.include "../../devel/hs-conduit-extra/buildlink3.mk"
+.include "../../sysutils/hs-fast-logger/buildlink3.mk"
+.include "../../devel/hs-lifted-base/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../devel/hs-monad-loops/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../devel/hs-stm-chans/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../devel/hs-unliftio-core/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-monad-logger/PLIST
diff -u /dev/null pkgsrc/devel/hs-monad-logger/PLIST:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/PLIST  Wed Feb 23 16:16:33 2022
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:16:33 pho Exp $
+lib/monad-logger-${PKGVERSION}/${HS_VERSION}/package-description
+lib/monad-logger-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger/CallStack.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger/CallStack.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Logger/CallStack.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_monad_logger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_monad_logger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_monad_logger.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}/monad-logger-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/Control-Monad-Logger-CallStack.html
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/Control-Monad-Logger.html
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/monad-logger.haddock
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/monad-logger-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-monad-logger/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-monad-logger/buildlink3.mk:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/buildlink3.mk  Wed Feb 23 16:16:33 2022
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:16:33 pho Exp $
+
+BUILDLINK_TREE+=       hs-monad-logger
+
+.if !defined(HS_MONAD_LOGGER_BUILDLINK3_MK)
+HS_MONAD_LOGGER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-monad-logger+=        hs-monad-logger>=0.3.36
+BUILDLINK_ABI_DEPENDS.hs-monad-logger+=        hs-monad-logger>=0.3.36
+BUILDLINK_PKGSRCDIR.hs-monad-logger?=  ../../devel/hs-monad-logger
+
+.include "../../devel/hs-conduit/buildlink3.mk"
+.include "../../devel/hs-conduit-extra/buildlink3.mk"
+.include "../../sysutils/hs-fast-logger/buildlink3.mk"
+.include "../../devel/hs-lifted-base/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../devel/hs-monad-loops/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../devel/hs-stm-chans/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../devel/hs-unliftio-core/buildlink3.mk"
+.endif # HS_MONAD_LOGGER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-monad-logger
Index: pkgsrc/devel/hs-monad-logger/distinfo
diff -u /dev/null pkgsrc/devel/hs-monad-logger/distinfo:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/distinfo       Wed Feb 23 16:16:33 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:16:33 pho Exp $
+
+BLAKE2s (monad-logger-0.3.36.tar.gz) = ebb7cf948a25a989cf3b977e7f8b007014a9a93fda0b0796c19cd50ff87e2509
+SHA512 (monad-logger-0.3.36.tar.gz) = c2dcf616f9e58be024f0bec144cd60cf78f465c1a8df6cf1ae0d896a44303e2bc8bdc18cf0f2cdf56c4485d1506d23b1417d84c66f327c73362da2aec71abdc0
+Size (monad-logger-0.3.36.tar.gz) = 11609 bytes
+SHA1 (patch-monad-logger.cabal) = 39165bd7783417087f8d97d9058a4bf191e830b3

Index: pkgsrc/devel/hs-monad-logger/patches/patch-monad-logger.cabal
diff -u /dev/null pkgsrc/devel/hs-monad-logger/patches/patch-monad-logger.cabal:1.1
--- /dev/null   Wed Feb 23 16:16:33 2022
+++ pkgsrc/devel/hs-monad-logger/patches/patch-monad-logger.cabal       Wed Feb 23 16:16:33 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-monad-logger.cabal,v 1.1 2022/02/23 16:16:33 pho Exp $
+
+Fix build with fast-logger-3.1
+
+--- monad-logger.cabal.orig    2020-11-24 17:16:19.000000000 +0000
++++ monad-logger.cabal
+@@ -42,7 +42,7 @@ library
+     , conduit >=1.0 && <1.4
+     , conduit-extra >=1.1 && <1.4
+     , exceptions >=0.6 && <0.11
+-    , fast-logger >=2.1 && <3.1
++    , fast-logger >=2.1
+     , lifted-base
+     , monad-control >=1.0
+     , monad-loops



Home | Main Index | Thread Index | Old Index