pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-astring Added devel/ocaml-astring, an alte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65d20e5be940
branches:  trunk
changeset: 393084:65d20e5be940
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 12 18:04:58 2019 +0000

description:
Added devel/ocaml-astring, an alternative string library for Ocaml

diffstat:

 devel/ocaml-astring/DESCR         |   8 ++++++++
 devel/ocaml-astring/Makefile      |  21 +++++++++++++++++++++
 devel/ocaml-astring/PLIST         |  27 +++++++++++++++++++++++++++
 devel/ocaml-astring/buildlink3.mk |  12 ++++++++++++
 devel/ocaml-astring/distinfo      |   6 ++++++
 5 files changed, 74 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r f9adba8e77c3 -r 65d20e5be940 devel/ocaml-astring/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-astring/DESCR Tue Mar 12 18:04:58 2019 +0000
@@ -0,0 +1,8 @@
+Astring exposes an alternative String module for OCaml. This module tries to
+balance minimality and expressiveness for basic, index-free, string processing
+and provides types and functions for substrings, string sets and string maps.
+
+Remaining compatible with the OCaml String module is a non-goal. The String
+module exposed by Astring has exception safe functions, removes deprecated and
+rarely used functions, alters some signatures and names, adds a few missing
+functions and fully exploits OCaml's newfound string immutability.
diff -r f9adba8e77c3 -r 65d20e5be940 devel/ocaml-astring/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-astring/Makefile      Tue Mar 12 18:04:58 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:04:58 jaapb Exp $
+
+DISTNAME=      astring-0.8.3
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  https://erratique.ch/software/astring/releases/
+EXTRACT_SUFX=  .tbz
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://erratique.ch/software/astring/
+COMMENT=       Alternative string library for OCaml
+LICENSE=       isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_TOPKG=       yes
+OCAML_USE_OPAM=        yes
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f9adba8e77c3 -r 65d20e5be940 devel/ocaml-astring/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-astring/PLIST Tue Mar 12 18:04:58 2019 +0000
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:04:58 jaapb Exp $
+${OCAML_SITELIB}/astring/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring.a
+${OCAML_SITELIB}/astring/astring.cma
+${OCAML_SITELIB}/astring/astring.cmi
+${OCAML_SITELIB}/astring/astring.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring.cmxs
+${OCAML_SITELIB}/astring/astring.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_base.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_char.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_escape.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_string.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_sub.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_top.a
+${OCAML_SITELIB}/astring/astring_top.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_top.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_top.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_top.cmxs
+${OCAML_SITELIB}/astring/astring_top_init.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/astring/astring_unsafe.cmx
+${OCAML_SITELIB}/astring/opam
+share/doc/astring/CHANGES.md
+share/doc/astring/LICENSE.md
+share/doc/astring/README.md
+share/doc/astring/examples.ml
diff -r f9adba8e77c3 -r 65d20e5be940 devel/ocaml-astring/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-astring/buildlink3.mk Tue Mar 12 18:04:58 2019 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:04:58 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-astring
+
+.if !defined(OCAML_ASTRING_BUILDLINK3_MK)
+OCAML_ASTRING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-astring+=  ocaml-astring>=0.8.3
+BUILDLINK_PKGSRCDIR.ocaml-astring?=    ../../devel/ocaml-astring
+.endif # OCAML_ASTRING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-astring
diff -r f9adba8e77c3 -r 65d20e5be940 devel/ocaml-astring/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-astring/distinfo      Tue Mar 12 18:04:58 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:04:58 jaapb Exp $
+
+SHA1 (astring-0.8.3.tbz) = 29f91c8f95bad06423c30d5f4d5e24dbdf94eb64
+RMD160 (astring-0.8.3.tbz) = f1aa48bf00bfae8afaa5f149b94b17ccfc3de308
+SHA512 (astring-0.8.3.tbz) = c7230e47b7ef14e6040fb18284a3d5aa8da1428b721cf91a7f17104cfb853be24b9c2aaa0b118bf3e050158aa8748311435417c6cf9014d260fb4379e4ead3e1
+Size (astring-0.8.3.tbz) = 38710 bytes



Home | Main Index | Thread Index | Old Index