summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-04-23 08:59:49 +0000
committerpho <pho@pkgsrc.org>2021-04-23 08:59:49 +0000
commitfde5c7fe5d6f1684583a37e3c74236c70d7ff34d (patch)
treeb30ea93a5828f7e8c5e06c1c2547631855e32475 /converters
parent9683bc7d5e6b62d11510fcfe6bf0f5d94783bc41 (diff)
downloadpkgsrc-fde5c7fe5d6f1684583a37e3c74236c70d7ff34d.tar.gz
Update to base16-bytestring-1.0.1.0
1.0.1.0 * Backwards-compatible support for bytestring ^>= 0.11 (#15) 1.0.0.0 * Merged omnibus PR doing a variety of things in (#10): - Improves performance by 3-4x for encode, 4-5x for decode. - The decode signature returning the tuple and actually returns an error message with offset. The signature will now be ByteString -> Either String ByteString. - Actually tests using the test vectors defined in the RFC, and uses property tests to ensure invariants hold. - Adds lenient decoders to the API - Adds -XTrustworthy annotations to the relevant exposed modules - Rewrites the haddocks to be more up to date and fancy-styled. - Adds benchmarks to the .cabal file so they can be run at toplevel, and make them better. - Bumps the Cabal version to 1.12 Because of the breadth of this change, we are calling this a new epoch for the base16-bytestring library. Hence, the version 1.0.0.0. 0.1.1.7 - Fix some bugs in lazy decoding (#8).
Diffstat (limited to 'converters')
-rw-r--r--converters/hs-base16-bytestring/Makefile4
-rw-r--r--converters/hs-base16-bytestring/PLIST47
-rw-r--r--converters/hs-base16-bytestring/buildlink3.mk6
-rw-r--r--converters/hs-base16-bytestring/distinfo10
4 files changed, 35 insertions, 32 deletions
diff --git a/converters/hs-base16-bytestring/Makefile b/converters/hs-base16-bytestring/Makefile
index b372a15e245..ae18532d79d 100644
--- a/converters/hs-base16-bytestring/Makefile
+++ b/converters/hs-base16-bytestring/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/01/15 07:13:44 pho Exp $
+# $NetBSD: Makefile,v 1.2 2021/04/23 08:59:49 pho Exp $
-DISTNAME= base16-bytestring-0.1.1.6
+DISTNAME= base16-bytestring-1.0.1.0
CATEGORIES= converters
MAINTAINER= pho@cielonegro.org
diff --git a/converters/hs-base16-bytestring/PLIST b/converters/hs-base16-bytestring/PLIST
index 2007bbbae05..c845ded183e 100644
--- a/converters/hs-base16-bytestring/PLIST
+++ b/converters/hs-base16-bytestring/PLIST
@@ -1,23 +1,26 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:51:58 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Data/ByteString/Base16.dyn_hi
-${HS_IMPL}/Data/ByteString/Base16.hi
-${HS_IMPL}/Data/ByteString/Base16.p_hi
-${HS_IMPL}/Data/ByteString/Base16/Lazy.dyn_hi
-${HS_IMPL}/Data/ByteString/Base16/Lazy.hi
-${HS_IMPL}/Data/ByteString/Base16/Lazy.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.2 2021/04/23 08:59:49 pho Exp $
+lib/base16-bytestring-${PKGVERSION}/${HS_VERSION}/package-description
+lib/base16-bytestring-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Lazy.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Lazy.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/Base16/Lazy.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
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/Data-ByteString-Base16-Lazy.html
-${HS_DOCS}/html/Data-ByteString-Base16.html
-${HS_DOCS}/html/base16-bytestring.haddock
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/Data-ByteString-Base16-Lazy.html
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/Data-ByteString-Base16.html
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/base16-bytestring.haddock
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/base16-bytestring-${PKGVERSION}/html/synopsis.png
diff --git a/converters/hs-base16-bytestring/buildlink3.mk b/converters/hs-base16-bytestring/buildlink3.mk
index 00394926dc4..90d460acb48 100644
--- a/converters/hs-base16-bytestring/buildlink3.mk
+++ b/converters/hs-base16-bytestring/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 07:13:44 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/23 08:59:49 pho Exp $
BUILDLINK_TREE+= hs-base16-bytestring
.if !defined(HS_BASE16_BYTESTRING_BUILDLINK3_MK)
HS_BASE16_BYTESTRING_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-base16-bytestring+= hs-base16-bytestring>=0.1.1
-BUILDLINK_ABI_DEPENDS.hs-base16-bytestring+= hs-base16-bytestring>=0.1.1.6
+BUILDLINK_API_DEPENDS.hs-base16-bytestring+= hs-base16-bytestring>=1.0.1
+BUILDLINK_ABI_DEPENDS.hs-base16-bytestring+= hs-base16-bytestring>=1.0.1.0
BUILDLINK_PKGSRCDIR.hs-base16-bytestring?= ../../converters/hs-base16-bytestring
.endif # HS_BASE16_BYTESTRING_BUILDLINK3_MK
diff --git a/converters/hs-base16-bytestring/distinfo b/converters/hs-base16-bytestring/distinfo
index 2a6a31d398b..b94b401aff2 100644
--- a/converters/hs-base16-bytestring/distinfo
+++ b/converters/hs-base16-bytestring/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/01/15 07:13:44 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/23 08:59:49 pho Exp $
-SHA1 (base16-bytestring-0.1.1.6.tar.gz) = 45affda0206699e3fcd830f8fdafe87ae29472a6
-RMD160 (base16-bytestring-0.1.1.6.tar.gz) = a1dfb191490ac54b7a0a30ab76d77f67d8ce3c4d
-SHA512 (base16-bytestring-0.1.1.6.tar.gz) = 699bc1f7819a1c0cea0154626f8799301bc9360bc997a5e9313a605ec33ea04d77219b100693021fd43e01d8d979374db07e6e3fabef5301c411f335e30a8cba
-Size (base16-bytestring-0.1.1.6.tar.gz) = 3694 bytes
+SHA1 (base16-bytestring-1.0.1.0.tar.gz) = 0d316c1c7cec188c86b062ed80cc877e5dacbaec
+RMD160 (base16-bytestring-1.0.1.0.tar.gz) = 668589e99a02745c70fbde18ee323059b8596d8a
+SHA512 (base16-bytestring-1.0.1.0.tar.gz) = e95f4422c7442c8a8f05b98e0cc8c7ffe67b59f0e1b89e7016bea1cbad351a3766a0193d3499c721614aa4607cacc9aba9ed275b92188980ae67108abd28d6e6
+Size (base16-bytestring-1.0.1.0.tar.gz) = 7256 bytes