pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/hs-uri-encode net/hs-uri-encode: import hs-uri-enc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb3f2730a9a1
branches:  trunk
changeset: 374578:eb3f2730a9a1
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 23 16:56:57 2022 +0000

description:
net/hs-uri-encode: import hs-uri-encode-1.5.0.7

This package allows you to uri encode and uri decode Strings, Texts and
ByteString values.

diffstat:

 net/hs-uri-encode/DESCR                          |   2 ++
 net/hs-uri-encode/Makefile                       |  13 +++++++++++++
 net/hs-uri-encode/PLIST                          |  22 ++++++++++++++++++++++
 net/hs-uri-encode/buildlink3.mk                  |  16 ++++++++++++++++
 net/hs-uri-encode/distinfo                       |   6 ++++++
 net/hs-uri-encode/patches/patch-uri-encode.cabal |  15 +++++++++++++++
 6 files changed, 74 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/DESCR   Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,2 @@
+This package allows you to uri encode and uri decode Strings, Texts and
+ByteString values.
diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/Makefile        Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:56:57 pho Exp $
+
+DISTNAME=      uri-encode-1.5.0.7
+CATEGORIES=    net
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Unicode aware uri-encoding
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/PLIST   Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:56:57 pho Exp $
+lib/uri-encode-${PKGVERSION}/${HS_VERSION}/package-description
+lib/uri-encode-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/URI/Encode.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/URI/Encode.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/URI/Encode.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}/uri-encode-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/LICENSE
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/Network-URI-Encode.html
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/README.md
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/uri-encode-${PKGVERSION}/html/uri-encode.haddock
diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/buildlink3.mk   Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:56:57 pho Exp $
+
+BUILDLINK_TREE+=       hs-uri-encode
+
+.if !defined(HS_URI_ENCODE_BUILDLINK3_MK)
+HS_URI_ENCODE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-uri-encode+=  hs-uri-encode>=1.5.0
+BUILDLINK_ABI_DEPENDS.hs-uri-encode+=  hs-uri-encode>=1.5.0.7
+BUILDLINK_PKGSRCDIR.hs-uri-encode?=    ../../net/hs-uri-encode
+
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.endif # HS_URI_ENCODE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-uri-encode
diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/distinfo        Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:56:57 pho Exp $
+
+BLAKE2s (uri-encode-1.5.0.7.tar.gz) = 230ee8bc237b1d96df1479883e58f519c57b97510e524dafc5458cc41d7c7a41
+SHA512 (uri-encode-1.5.0.7.tar.gz) = da8d816a2c9586bd09762b914a6c4da2c3688fd1d1b31aa34bfae0291db9e0f639c4c7e7bdfa2adcd4f44c39860697a8c6f4f1955cde6c4db74269bbc7308661
+Size (uri-encode-1.5.0.7.tar.gz) = 3506 bytes
+SHA1 (patch-uri-encode.cabal) = 372abf1901aaff611e07b567de052919bad7a1cb
diff -r b9ceb8d0a290 -r eb3f2730a9a1 net/hs-uri-encode/patches/patch-uri-encode.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-uri-encode/patches/patch-uri-encode.cabal  Wed Feb 23 16:56:57 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-uri-encode.cabal,v 1.1 2022/02/23 16:56:57 pho Exp $
+
+Fix build with GHC 9.2
+
+--- uri-encode.cabal.orig      2001-09-09 01:46:40.000000000 +0000
++++ uri-encode.cabal
+@@ -35,7 +35,7 @@ library
+   exposed-modules:   Network.URI.Encode
+   build-depends:
+       base == 4.*
+-    , bytestring >= 0.9 && < 0.11
++    , bytestring >= 0.9
+     , text >= 0.7 && < 1.3
+     , utf8-string >= 0.3 && < 1.1
+   if flag(network-uri)



Home | Main Index | Thread Index | Old Index