Thu Oct 26 02:31:31 2023 UTC ()
devel/hs-byteable: import hs-byteable-0.1.1

Abstract class to manipulate sequence of bytes

The use case of this class is abstracting manipulation of types that are
just wrapping a bytestring with stronger and more meaniful name.

Usual definition of those types are of the form:
newtype MyType = MyType ByteString


(pho)
diff -r0 -r1.1 pkgsrc/devel/hs-byteable/DESCR
diff -r0 -r1.1 pkgsrc/devel/hs-byteable/Makefile
diff -r0 -r1.1 pkgsrc/devel/hs-byteable/PLIST
diff -r0 -r1.1 pkgsrc/devel/hs-byteable/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/hs-byteable/distinfo

File Added: pkgsrc/devel/hs-byteable/DESCR
Abstract class to manipulate sequence of bytes

The use case of this class is abstracting manipulation of types that are
just wrapping a bytestring with stronger and more meaniful name.

Usual definition of those types are of the form:
newtype MyType = MyType ByteString

File Added: pkgsrc/devel/hs-byteable/Makefile
# $NetBSD: Makefile,v 1.1 2023/10/26 02:31:31 pho Exp $

DISTNAME=	byteable-0.1.1
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Type class for sequence of bytes
LICENSE=	modified-bsd

.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/hs-byteable/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/10/26 02:31:31 pho Exp $
lib/byteable-${PKGVERSION}/${HS_VERSION}/package-description
lib/byteable-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Byteable.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Byteable.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Byteable.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/Data-Byteable.html
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/byteable.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/doc-index.json
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/quick-jump.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/byteable-${PKGVERSION}/html/synopsis.png
share/${HS_PLATFORM}/byteable-${PKGVERSION}/README.md

File Added: pkgsrc/devel/hs-byteable/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2023/10/26 02:31:31 pho Exp $

BUILDLINK_TREE+=	hs-byteable

.if !defined(HS_BYTEABLE_BUILDLINK3_MK)
HS_BYTEABLE_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-byteable+=	hs-byteable>=0.1.1
BUILDLINK_ABI_DEPENDS.hs-byteable+=	hs-byteable>=0.1.1
BUILDLINK_PKGSRCDIR.hs-byteable?=	../../devel/hs-byteable
.endif	# HS_BYTEABLE_BUILDLINK3_MK

BUILDLINK_TREE+=	-hs-byteable

File Added: pkgsrc/devel/hs-byteable/distinfo
$NetBSD: distinfo,v 1.1 2023/10/26 02:31:31 pho Exp $

BLAKE2s (byteable-0.1.1.tar.gz) = 1e8a64552307edb58c945bd2be036e9e740847d94855b634567e7c5baf886eb2
SHA512 (byteable-0.1.1.tar.gz) = f2e6225390be9f35ee6a4ce981aaa8c2683f1627a8401386b1abb7fff5fe1474ae0fa07e71a0c83694d7a18ca793943fe36b844d868c3e9c3387ce1a7b2bf54c
Size (byteable-0.1.1.tar.gz) = 2400 bytes