pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/hs-rawfilepath



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 31 16:20:00 UTC 2023

Added Files:
        pkgsrc/sysutils/hs-rawfilepath: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
sysutils/hs-rawfilepath: import hs-rawfilepath-1.1.0

The unix package provides RawFilePath which is a type synonym of
ByteString. Unlike FilePath (which is String), it has no performance issues
because it is ByteString. It has no encoding issues because it is
ByteString which is a sequence of bytes instead of characters.

That's all good. With RawFilePath, we can properly separate the "sequence
of bytes" and the "sequence of Unicode characters." The control is
yours. Properly encode or decode them with UTF-8 or UTF-16 or any codec of
your choice.

However,

* The functions in unix are low-level.
* The higher-level packages such as process and directory are strictly tied
  to FilePath.

This library provides the higher-level interface with RawFilePath.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hs-rawfilepath/DESCR \
    pkgsrc/sysutils/hs-rawfilepath/Makefile \
    pkgsrc/sysutils/hs-rawfilepath/PLIST \
    pkgsrc/sysutils/hs-rawfilepath/buildlink3.mk \
    pkgsrc/sysutils/hs-rawfilepath/distinfo

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

Added files:

Index: pkgsrc/sysutils/hs-rawfilepath/DESCR
diff -u /dev/null pkgsrc/sysutils/hs-rawfilepath/DESCR:1.1
--- /dev/null   Tue Oct 31 16:20:00 2023
+++ pkgsrc/sysutils/hs-rawfilepath/DESCR        Tue Oct 31 16:20:00 2023
@@ -0,0 +1,17 @@
+The unix package provides RawFilePath which is a type synonym of
+ByteString. Unlike FilePath (which is String), it has no performance issues
+because it is ByteString. It has no encoding issues because it is
+ByteString which is a sequence of bytes instead of characters.
+
+That's all good. With RawFilePath, we can properly separate the "sequence
+of bytes" and the "sequence of Unicode characters." The control is
+yours. Properly encode or decode them with UTF-8 or UTF-16 or any codec of
+your choice.
+
+However,
+
+* The functions in unix are low-level.
+* The higher-level packages such as process and directory are strictly tied
+  to FilePath.
+
+This library provides the higher-level interface with RawFilePath.
Index: pkgsrc/sysutils/hs-rawfilepath/Makefile
diff -u /dev/null pkgsrc/sysutils/hs-rawfilepath/Makefile:1.1
--- /dev/null   Tue Oct 31 16:20:00 2023
+++ pkgsrc/sysutils/hs-rawfilepath/Makefile     Tue Oct 31 16:20:00 2023
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2023/10/31 16:20:00 pho Exp $
+
+DISTNAME=      rawfilepath-1.1.0
+CATEGORIES=    sysutils
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Use RawFilePath instead of FilePath
+LICENSE=       apache-2.0
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/hs-rawfilepath/PLIST
diff -u /dev/null pkgsrc/sysutils/hs-rawfilepath/PLIST:1.1
--- /dev/null   Tue Oct 31 16:20:00 2023
+++ pkgsrc/sysutils/hs-rawfilepath/PLIST        Tue Oct 31 16:20:00 2023
@@ -0,0 +1,78 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/31 16:20:00 pho Exp $
+lib/rawfilepath-${PKGVERSION}/${HS_VERSION}/package-description
+lib/rawfilepath-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/RawFilePath.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/RawFilePath.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/ByteString/RawFilePath.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Paths_rawfilepath.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_rawfilepath.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Paths_rawfilepath.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Directory/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Import.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Import.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Import.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Basic.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Basic.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Basic.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Common.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Common.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Common.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Posix.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Posix.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Posix.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Utility.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Utility.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/RawFilePath/Process/Utility.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/Data-ByteString-RawFilePath.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/RawFilePath-Directory.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/RawFilePath-Process.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/RawFilePath.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-33.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-A.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-All.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-B.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-C.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-D.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-E.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-F.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-G.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-H.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-I.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-L.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-M.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-N.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-P.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-R.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-S.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-T.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-U.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-W.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index-Z.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/rawfilepath.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/rawfilepath-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/sysutils/hs-rawfilepath/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/hs-rawfilepath/buildlink3.mk:1.1
--- /dev/null   Tue Oct 31 16:20:00 2023
+++ pkgsrc/sysutils/hs-rawfilepath/buildlink3.mk        Tue Oct 31 16:20:00 2023
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/31 16:20:00 pho Exp $
+
+BUILDLINK_TREE+=       hs-rawfilepath
+
+.if !defined(HS_RAWFILEPATH_BUILDLINK3_MK)
+HS_RAWFILEPATH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-rawfilepath+= hs-rawfilepath>=1.1.0
+BUILDLINK_ABI_DEPENDS.hs-rawfilepath+= hs-rawfilepath>=1.1.0
+BUILDLINK_PKGSRCDIR.hs-rawfilepath?=   ../../sysutils/hs-rawfilepath
+.endif # HS_RAWFILEPATH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-rawfilepath
Index: pkgsrc/sysutils/hs-rawfilepath/distinfo
diff -u /dev/null pkgsrc/sysutils/hs-rawfilepath/distinfo:1.1
--- /dev/null   Tue Oct 31 16:20:00 2023
+++ pkgsrc/sysutils/hs-rawfilepath/distinfo     Tue Oct 31 16:20:00 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/31 16:20:00 pho Exp $
+
+BLAKE2s (rawfilepath-1.1.0.tar.gz) = 57ba9605de3c942339c8acf7bd0099c3b75cdf1d381d8eb6d36ca9156e867081
+SHA512 (rawfilepath-1.1.0.tar.gz) = b80c1cc7e1498677d10088f17cdb852cc573d90ff8cacdd1168fad6c221b3fd8003a5ec8353385b1be5e74148fb9e993457f8e7627ed14a22ab8a7ed71f0b062
+Size (rawfilepath-1.1.0.tar.gz) = 25245 bytes



Home | Main Index | Thread Index | Old Index