pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hs-unicode-transforms Import unicode-transfor...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3bb01362a77
branches: trunk
changeset: 373369:b3bb01362a77
user: pho <pho%pkgsrc.org@localhost>
date: Fri Feb 11 09:51:15 2022 +0000
description:
Import unicode-transform-0.4.0
0.4.0 (November 2021)
Bump unicode-data to 0.2
Allow text 2.0
Update to Unicode version 14.0.0
Drop support for GHC 7.10
0.3.8
Allow ghc-prim 0.7
Extract unicode-data into its own package
Depend on the latest stable text
diffstat:
textproc/hs-unicode-transforms/Makefile | 6 +-
textproc/hs-unicode-transforms/PLIST | 35 +---------
textproc/hs-unicode-transforms/buildlink3.mk | 8 +-
textproc/hs-unicode-transforms/distinfo | 10 +-
textproc/hs-unicode-transforms/patches/patch-unicode-transforms.cabal | 33 ++++++---
5 files changed, 35 insertions(+), 57 deletions(-)
diffs (148 lines):
diff -r c15cca24b04e -r b3bb01362a77 textproc/hs-unicode-transforms/Makefile
--- a/textproc/hs-unicode-transforms/Makefile Fri Feb 11 09:50:29 2022 +0000
+++ b/textproc/hs-unicode-transforms/Makefile Fri Feb 11 09:51:15 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2022/01/18 02:48:29 pho Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/11 09:51:15 pho Exp $
-DISTNAME= unicode-transforms-0.3.7.1
-PKGREVISION= 2
+DISTNAME= unicode-transforms-0.4.0
CATEGORIES= textproc
MAINTAINER= pho%cielonegro.org@localhost
COMMENT= Unicode normalization
LICENSE= modified-bsd
+.include "../../textproc/hs-unicode-data/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c15cca24b04e -r b3bb01362a77 textproc/hs-unicode-transforms/PLIST
--- a/textproc/hs-unicode-transforms/PLIST Fri Feb 11 09:50:29 2022 +0000
+++ b/textproc/hs-unicode-transforms/PLIST Fri Feb 11 09:51:15 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/24 17:31:23 pho Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/02/11 09:51:15 pho Exp $
lib/unicode-transforms-${PKGVERSION}/${HS_VERSION}/package-description
lib/unicode-transforms-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
@@ -8,42 +8,9 @@
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Text/Normalize.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Text/Normalize.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Text/Normalize.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Bits.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Bits.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Bits.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Division.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Division.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/Division.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/NormalizeStream.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/NormalizeStream.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Internal/NormalizeStream.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/CombiningClass.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/CombiningClass.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/CombiningClass.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Compositions.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Compositions.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Compositions.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decomposable.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decomposable.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decomposable.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposableK.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposableK.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposableK.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompose.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompose.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompose.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposeHangul.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposeHangul.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecomposeHangul.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompositions.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompositions.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/Decompositions.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK2.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK2.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Properties/DecompositionsK2.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Types.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Types.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Unicode/Types.p_hi
diff -r c15cca24b04e -r b3bb01362a77 textproc/hs-unicode-transforms/buildlink3.mk
--- a/textproc/hs-unicode-transforms/buildlink3.mk Fri Feb 11 09:50:29 2022 +0000
+++ b/textproc/hs-unicode-transforms/buildlink3.mk Fri Feb 11 09:51:15 2022 +0000
@@ -1,13 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.4 2022/01/18 02:48:29 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2022/02/11 09:51:15 pho Exp $
BUILDLINK_TREE+= hs-unicode-transforms
.if !defined(HS_UNICODE_TRANSFORMS_BUILDLINK3_MK)
HS_UNICODE_TRANSFORMS_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-unicode-transforms+= hs-unicode-transforms>=0.3.7
-BUILDLINK_ABI_DEPENDS.hs-unicode-transforms+= hs-unicode-transforms>=0.3.7.1nb2
+BUILDLINK_API_DEPENDS.hs-unicode-transforms+= hs-unicode-transforms>=0.4.0
+BUILDLINK_ABI_DEPENDS.hs-unicode-transforms+= hs-unicode-transforms>=0.4.0
BUILDLINK_PKGSRCDIR.hs-unicode-transforms?= ../../textproc/hs-unicode-transforms
+
+.include "../../textproc/hs-unicode-data/buildlink3.mk"
.endif # HS_UNICODE_TRANSFORMS_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-unicode-transforms
diff -r c15cca24b04e -r b3bb01362a77 textproc/hs-unicode-transforms/distinfo
--- a/textproc/hs-unicode-transforms/distinfo Fri Feb 11 09:50:29 2022 +0000
+++ b/textproc/hs-unicode-transforms/distinfo Fri Feb 11 09:51:15 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:22:03 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/11 09:51:15 pho Exp $
-BLAKE2s (unicode-transforms-0.3.7.1.tar.gz) = 0d96e038d8f0f4126abf12aebf95d7adac01a128d0544d1fb67dae59a96b469f
-SHA512 (unicode-transforms-0.3.7.1.tar.gz) = a4e39b943bcea6c86ebb8df7253a39ecf2a7bf5a083d0cf2ee1e5720af4afe47111330a787353a5728793d02739448debae2fd73fe6ba2d0eb94cbbb4bfef30f
-Size (unicode-transforms-0.3.7.1.tar.gz) = 717790 bytes
-SHA1 (patch-unicode-transforms.cabal) = 3ce1af822b913f54661183dcb8eea90279d8fe62
+BLAKE2s (unicode-transforms-0.4.0.tar.gz) = 36373792f4661908ec0fa049e032ef4614304e2a9ea1d95455d5c4b9896a6443
+SHA512 (unicode-transforms-0.4.0.tar.gz) = 56a718b4912e60270a74da681002010b78c85c6b6313e88202a34630aa6162a105c148cc9a54d3d989335edf02d2bc5be60c5f541b56efd696bc450c00c2b332
+Size (unicode-transforms-0.4.0.tar.gz) = 648786 bytes
+SHA1 (patch-unicode-transforms.cabal) = 18bbfca1a9e7e541b78902a8bc2b4dc1ca38472a
diff -r c15cca24b04e -r b3bb01362a77 textproc/hs-unicode-transforms/patches/patch-unicode-transforms.cabal
--- a/textproc/hs-unicode-transforms/patches/patch-unicode-transforms.cabal Fri Feb 11 09:50:29 2022 +0000
+++ b/textproc/hs-unicode-transforms/patches/patch-unicode-transforms.cabal Fri Feb 11 09:51:15 2022 +0000
@@ -1,15 +1,24 @@
-$NetBSD: patch-unicode-transforms.cabal,v 1.1 2021/04/24 17:31:23 pho Exp $
+$NetBSD: patch-unicode-transforms.cabal,v 1.2 2022/02/11 09:51:15 pho Exp $
-Fix build with GHC 9.
+Fix build with unicode-data-0.4
---- unicode-transforms.cabal.orig 2021-04-24 17:28:43.695292574 +0000
+--- unicode-transforms.cabal.orig 2001-09-09 01:46:40.000000000 +0000
+++ unicode-transforms.cabal
-@@ -98,7 +98,7 @@ library
- base >=4.7 && <5
- , bytestring >=0.9 && <0.12
- , text >=1.1.1 && <1.3
-- , ghc-prim >= 0.2 && < 0.7
-+ , ghc-prim >= 0.2 && < 0.8
- if flag(dev)
- ghc-options: -O0
- else
+@@ -83,7 +83,7 @@ library
+ ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
+ build-depends:
+ base >= 4.8 && < 5
+- , unicode-data >= 0.2 && < 0.3
++ , unicode-data >= 0.2 && < 0.4
+ , bytestring >= 0.9 && < 0.12
+ , ghc-prim >= 0.2 && < 0.9
+
+@@ -130,7 +130,7 @@ test-suite quickcheck
+ ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
+ build-depends:
+ QuickCheck >= 2.1 && < 2.15
+- , unicode-data >= 0.2 && < 0.3
++ , unicode-data >= 0.2 && < 0.4
+ , base >= 4.7 && < 5
+ , deepseq >= 1.1 && < 1.5
+ , hspec >= 2.0 && < 3
Home |
Main Index |
Thread Index |
Old Index