pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hs-hslogger sysutils/hs-hslogger: import hs-h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c70ce8a89c57
branches:  trunk
changeset: 374034:c70ce8a89c57
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 09:19:42 2022 +0000

description:
sysutils/hs-hslogger: import hs-hslogger-1.3.1.0

hslogger is a logging framework for Haskell, roughly similar to Python's
logging module.

hslogger lets each log message have a priority and source be associated
with it. The programmer can then define global handlers that route or
filter messages based on the priority and source. hslogger also has a
Syslog handler built in.

diffstat:

 sysutils/hs-hslogger/DESCR                        |   7 +++
 sysutils/hs-hslogger/Makefile                     |  14 ++++++
 sysutils/hs-hslogger/PLIST                        |  50 +++++++++++++++++++++++
 sysutils/hs-hslogger/buildlink3.mk                |  17 +++++++
 sysutils/hs-hslogger/distinfo                     |   6 ++
 sysutils/hs-hslogger/patches/patch-hslogger.cabal |  21 +++++++++
 6 files changed, 115 insertions(+), 0 deletions(-)

diffs (139 lines):

diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/DESCR        Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,7 @@
+hslogger is a logging framework for Haskell, roughly similar to Python's
+logging module.
+
+hslogger lets each log message have a priority and source be associated
+with it. The programmer can then define global handlers that route or
+filter messages based on the priority and source. hslogger also has a
+Syslog handler built in.
diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/Makefile     Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+DISTNAME=      hslogger-1.3.1.0
+CATEGORIES=    sysutils
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Versatile logging framework
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-old-locale/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/PLIST        Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:19:42 pho Exp $
+lib/hslogger-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hslogger-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Formatter.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Growl.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Log4jXML.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Simple.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Handler/Syslog.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Log/Logger.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/UTF8.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Formatter.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Growl.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Log4jXML.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Simple.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler-Syslog.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Handler.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log-Logger.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/System-Log.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/hslogger.haddock
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/hslogger-${PKGVERSION}/html/synopsis.png
diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/buildlink3.mk        Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+BUILDLINK_TREE+=       hs-hslogger
+
+.if !defined(HS_HSLOGGER_BUILDLINK3_MK)
+HS_HSLOGGER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hslogger+=    hs-hslogger>=1.3.1
+BUILDLINK_ABI_DEPENDS.hs-hslogger+=    hs-hslogger>=1.3.1.0
+BUILDLINK_PKGSRCDIR.hs-hslogger?=      ../../sysutils/hs-hslogger
+
+.include "../../devel/hs-old-locale/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.endif # HS_HSLOGGER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hslogger
diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/distinfo     Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+BLAKE2s (hslogger-1.3.1.0.tar.gz) = 7f03dd7d459ee977af7b8eaef8d28627a5d1283e7843340a7b52598943edabb2
+SHA512 (hslogger-1.3.1.0.tar.gz) = a08e7c85efe2b3f97e87b54db993f78ac31380f9b6f8d926517854771f482b2c64c358ddd12a449a413e5af0f374c034161b6f772148835b50551dc2cdbfa15a
+Size (hslogger-1.3.1.0.tar.gz) = 37468 bytes
+SHA1 (patch-hslogger.cabal) = 8b6d6990d5c7b63aada905b060b0db9a0b3edd97
diff -r 5e492041a4e4 -r c70ce8a89c57 sysutils/hs-hslogger/patches/patch-hslogger.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/hs-hslogger/patches/patch-hslogger.cabal Wed Feb 16 09:19:42 2022 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-hslogger.cabal,v 1.1 2022/02/16 09:19:42 pho Exp $
+
+Fix build with GHC 9.2
+
+--- hslogger.cabal.orig        2001-09-09 01:46:40.000000000 +0000
++++ hslogger.cabal
+@@ -64,11 +64,11 @@ library
+     other-extensions: CPP ExistentialQuantification DeriveDataTypeable
+ 
+     build-depends:
+-        base       >= 4.3 && < 4.14
+-      , bytestring >= 0.9 && < 0.11
++        base       >= 4.3 && < 5
++      , bytestring >= 0.9
+       , containers >= 0.4 && < 0.7
+       , deepseq    >= 1.1 && < 1.5
+-      , time       >= 1.2 && < 1.10
++      , time       >= 1.2
+       , old-locale >= 1.0 && < 1.1
+ 
+     if flag(network--GT-3_0_0)



Home | Main Index | Thread Index | Old Index