pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/hs-microaeson



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun May  5 05:58:35 UTC 2024

Added Files:
        pkgsrc/converters/hs-microaeson: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/converters/hs-microaeson/patches: patch-microaeson.cabal

Log Message:
converters/hs-microaeson: import hs-microaeson-0.1.0.1

microaeson aims to provide a RFC 8259 compliant JavaScript Object Notation
(JSON) implementation. The microaeson package provides a smaller subset of
the aeson API with less dependencies and a simpler implementation.

The API is designed in such a way to allow to easily convert client code
written against microaeson's API to use the full aeson API.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/hs-microaeson/DESCR \
    pkgsrc/converters/hs-microaeson/Makefile \
    pkgsrc/converters/hs-microaeson/PLIST \
    pkgsrc/converters/hs-microaeson/buildlink3.mk \
    pkgsrc/converters/hs-microaeson/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/converters/hs-microaeson/patches/patch-microaeson.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/converters/hs-microaeson/DESCR
diff -u /dev/null pkgsrc/converters/hs-microaeson/DESCR:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/DESCR       Sun May  5 05:58:34 2024
@@ -0,0 +1,6 @@
+microaeson aims to provide a RFC 8259 compliant JavaScript Object Notation
+(JSON) implementation. The microaeson package provides a smaller subset of
+the aeson API with less dependencies and a simpler implementation.
+
+The API is designed in such a way to allow to easily convert client code
+written against microaeson's API to use the full aeson API.
Index: pkgsrc/converters/hs-microaeson/Makefile
diff -u /dev/null pkgsrc/converters/hs-microaeson/Makefile:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/Makefile    Sun May  5 05:58:34 2024
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2024/05/05 05:58:34 pho Exp $
+
+DISTNAME=      microaeson-0.1.0.1
+CATEGORIES=    converters
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Tiny JSON library with light dependency footprint
+LICENSE=       gnu-gpl-v3
+
+USE_TOOLS+=    alex
+
+.include "../../devel/hs-fail/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/converters/hs-microaeson/PLIST
diff -u /dev/null pkgsrc/converters/hs-microaeson/PLIST:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/PLIST       Sun May  5 05:58:34 2024
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/05 05:58:34 pho Exp $
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Parser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Parser.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Parser.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Scanner.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Scanner.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Micro/Scanner.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/microaeson-${PKGVERSION}/${HS_VERSION}/package-description
+lib/microaeson-${PKGVERSION}/${HS_VERSION}/package-id
+share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/Data-Aeson-Micro.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/microaeson.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/microaeson-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/converters/hs-microaeson/buildlink3.mk
diff -u /dev/null pkgsrc/converters/hs-microaeson/buildlink3.mk:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/buildlink3.mk       Sun May  5 05:58:34 2024
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/05/05 05:58:34 pho Exp $
+
+BUILDLINK_TREE+=       hs-microaeson
+
+.if !defined(HS_MICROAESON_BUILDLINK3_MK)
+HS_MICROAESON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-microaeson+=  hs-microaeson>=0.1.0
+BUILDLINK_ABI_DEPENDS.hs-microaeson+=  hs-microaeson>=0.1.0.1
+BUILDLINK_PKGSRCDIR.hs-microaeson?=    ../../converters/hs-microaeson
+
+.include "../../devel/hs-fail/buildlink3.mk"
+.endif # HS_MICROAESON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-microaeson
Index: pkgsrc/converters/hs-microaeson/distinfo
diff -u /dev/null pkgsrc/converters/hs-microaeson/distinfo:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/distinfo    Sun May  5 05:58:34 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/05/05 05:58:34 pho Exp $
+
+BLAKE2s (microaeson-0.1.0.1.tar.gz) = 02eef33f1d8956168e509639dd173bdeb6ebfb958d19d55f3d5411ddebed0848
+SHA512 (microaeson-0.1.0.1.tar.gz) = 4e8aecd9128bca4e8cddfa5a421d886d630adb03cffe08141223993184f441f87c9e0e5105c9e5e0d0dfde47dc6531b1855d1e0411a403315520e46c282e6cff
+Size (microaeson-0.1.0.1.tar.gz) = 20630 bytes
+SHA1 (patch-microaeson.cabal) = 83cb6850217d1e4db02af4afb04873ee338c35d2

Index: pkgsrc/converters/hs-microaeson/patches/patch-microaeson.cabal
diff -u /dev/null pkgsrc/converters/hs-microaeson/patches/patch-microaeson.cabal:1.1
--- /dev/null   Sun May  5 05:58:35 2024
+++ pkgsrc/converters/hs-microaeson/patches/patch-microaeson.cabal      Sun May  5 05:58:34 2024
@@ -0,0 +1,28 @@
+$NetBSD: patch-microaeson.cabal,v 1.1 2024/05/05 05:58:34 pho Exp $
+
+Can't use ${HASKELL_UNRESTRICT_DEPENDENCIES} because these constraints are
+multilined.
+
+--- microaeson.cabal.orig      2001-09-09 01:46:40.000000000 +0000
++++ microaeson.cabal
+@@ -57,16 +57,14 @@ library
+ 
+   build-depends:     array      ^>= 0.5.1.0
+                    , base        >= 4.8.0.0 && < 5
+-                   , bytestring ^>= 0.10.6.0
+-                             || ^>= 0.11.1.0
++                   , bytestring
+                    , containers ^>= 0.5.6.2
+                              || ^>= 0.6.0.1
+-                   , deepseq    ^>= 1.4.1.1
++                   , deepseq
+                    , fail       ^>= 4.9.0.0
+-                   , text       ^>= 1.2.2.2
+-                             || ^>= 2.0
++                   , text
+ 
+-  build-tool-depends: alex:alex ^>= 3.2.0
++  build-tool-depends: alex:alex
+ 
+   ghc-options:       -Wall
+ 



Home | Main Index | Thread Index | Old Index