Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (957c7a2e3a1c936189f67c15ff33217235230ad1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (957c7a2e3a1c936189f67c15ff33217235230ad1)
  • Date: Thu, 7 Jan 2021 23:08:53 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 4 ++++
devel/ocaml-ptmap/BUILD | 1 +
devel/ocaml-ptmap/DEPENDS | 5 +++++
devel/ocaml-ptmap/DETAILS | 15 +++++++++++++++
devel/ocaml-ptmap/HISTORY | 2 ++
devel/ocaml-ptmap/INSTALL | 1 +
devel/ocaml-ptmap/PRE_BUILD | 4 ++++
devel/ocaml-xml-light/BUILD | 1 +
devel/ocaml-xml-light/CONFLICTS | 1 +
devel/ocaml-xml-light/DEPENDS | 1 +
devel/ocaml-xml-light/DETAILS | 17 +++++++++++++++++
devel/ocaml-xml-light/HISTORY | 2 ++
devel/ocaml-xml-light/INSTALL | 1 +
13 files changed, 55 insertions(+)

New commits:
commit 957c7a2e3a1c936189f67c15ff33217235230ad1
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

ocaml-xml-light: new spell, minimal XML parser & printer for OCaml

commit 516d3224287607cb7c6456302d83b81bbae241fa
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

ocaml-ptmap: new spell, Maps of integers implemented as Patricia trees

diff --git a/ChangeLog b/ChangeLog
index 298f3e0..04b7183 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
* devel/ocaml-sedlex: new spell, An OCaml lexer generator for Unicode
* devel/ocaml-sha: new spell, Binding to the SHA cryptographic
functions
+ * devel/ocaml-ptmap: new spell, Maps of integers implemented as
+ Patricia trees
+ * devel/ocaml-xml-light: new spell, minimal XML parser & printer
+ for OCaml

2021-01-06 Ismael Luceno <ismael AT sourcemage.org>
* devel/ocaml-ppx-derivers: new spell, Shared [@@deriving] plugin
diff --git a/devel/ocaml-ptmap/BUILD b/devel/ocaml-ptmap/BUILD
new file mode 100755
index 0000000..7afe3ec
--- /dev/null
+++ b/devel/ocaml-ptmap/BUILD
@@ -0,0 +1 @@
+dune build
diff --git a/devel/ocaml-ptmap/DEPENDS b/devel/ocaml-ptmap/DEPENDS
new file mode 100755
index 0000000..fd8d243
--- /dev/null
+++ b/devel/ocaml-ptmap/DEPENDS
@@ -0,0 +1,5 @@
+. "$GRIMOIRE"/FUNCTIONS &&
+vdepends <<EOF
+ ocaml >= 4.08
+ dune
+EOF
diff --git a/devel/ocaml-ptmap/DETAILS b/devel/ocaml-ptmap/DETAILS
new file mode 100755
index 0000000..b77574a
--- /dev/null
+++ b/devel/ocaml-ptmap/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=ocaml-ptmap
+ VERSION=2.0.5
+ SOURCE="ptmap-$VERSION.tbz"
+ WEB_SITE="https://github.com/backtracking/ptmap";
+ SOURCE_URL[0]="$WEB_SITE/releases/download/$VERSION/$SOURCE"
+
SOURCE_HASH=sha512:4a3f20d189d905cb588de3148361495adc40d5892473bf9cd7e49bc98558de29feb51efefb5aab77cad892dd288ad8fa0348832c78cc21e66539768a5a9cab5b
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SOURCE%.tbz}"
+ LICENSE[0]="LGPL-2.1"
+ ENTERED=20210107
+ KEYWORDS=""
+ SHORT="Maps of integers implemented as Patricia trees"
+cat << EOF
+An implementation inspired by Okasaki & Gill's paper 'Fast Mergeable Integer
+Maps'.
+EOF
diff --git a/devel/ocaml-ptmap/HISTORY b/devel/ocaml-ptmap/HISTORY
new file mode 100644
index 0000000..d4fee94
--- /dev/null
+++ b/devel/ocaml-ptmap/HISTORY
@@ -0,0 +1,2 @@
+2021-01-07 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD: spell created
diff --git a/devel/ocaml-ptmap/INSTALL b/devel/ocaml-ptmap/INSTALL
new file mode 100755
index 0000000..44e3bdb
--- /dev/null
+++ b/devel/ocaml-ptmap/INSTALL
@@ -0,0 +1 @@
+dune install
diff --git a/devel/ocaml-ptmap/PRE_BUILD b/devel/ocaml-ptmap/PRE_BUILD
new file mode 100755
index 0000000..2c526d9
--- /dev/null
+++ b/devel/ocaml-ptmap/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# remove dependency on stdlib-shims (not needed for ocaml >= 4.08)
+sedit '/^ *(libraries /s/ stdlib-shims//' dune
diff --git a/devel/ocaml-xml-light/BUILD b/devel/ocaml-xml-light/BUILD
new file mode 100755
index 0000000..a84a9e8
--- /dev/null
+++ b/devel/ocaml-xml-light/BUILD
@@ -0,0 +1 @@
+make all opt
diff --git a/devel/ocaml-xml-light/CONFLICTS b/devel/ocaml-xml-light/CONFLICTS
new file mode 100755
index 0000000..ae27411
--- /dev/null
+++ b/devel/ocaml-xml-light/CONFLICTS
@@ -0,0 +1 @@
+conflicts "$SPELL" y
diff --git a/devel/ocaml-xml-light/DEPENDS b/devel/ocaml-xml-light/DEPENDS
new file mode 100755
index 0000000..8da72f2
--- /dev/null
+++ b/devel/ocaml-xml-light/DEPENDS
@@ -0,0 +1 @@
+depends ocaml
diff --git a/devel/ocaml-xml-light/DETAILS b/devel/ocaml-xml-light/DETAILS
new file mode 100755
index 0000000..83971f5
--- /dev/null
+++ b/devel/ocaml-xml-light/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=ocaml-xml-light
+ VERSION=2.4
+ SOURCE="xml-light-$VERSION.tar.gz"
+ WEB_SITE="https://github.com/ncannasse/xml-light";
+ SOURCE_URL[0]="$WEB_SITE/archive/$VERSION.tar.gz"
+
SOURCE_HASH=sha512:029068c6eb48cd1223438dc0f86e1c5e6fd0412d160ea4d79928eec5e5f5843af46260d7240e4260851e9580e7f92d578c764c63c8e0acab348637455493ef02
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SOURCE%.tar.gz}"
+ LICENSE[0]="LGPL-2.1-or-later"
+ ENTERED=20210107
+ KEYWORDS=""
+ SHORT="minimal XML parser & printer for OCaml"
+cat << EOF
+Xml-Light provides functions to parse an XML document into an OCaml data
+structure, work with it, and print it back to an XML document. It support
+also DTD parsing and checking, and is entirely written in OCaml, hence it
+does not require additional C library.
+EOF
diff --git a/devel/ocaml-xml-light/HISTORY b/devel/ocaml-xml-light/HISTORY
new file mode 100644
index 0000000..4822f08
--- /dev/null
+++ b/devel/ocaml-xml-light/HISTORY
@@ -0,0 +1,2 @@
+2021-01-07 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFLICTS, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/devel/ocaml-xml-light/INSTALL b/devel/ocaml-xml-light/INSTALL
new file mode 100755
index 0000000..2840731
--- /dev/null
+++ b/devel/ocaml-xml-light/INSTALL
@@ -0,0 +1 @@
+make install_ocamlfind



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (957c7a2e3a1c936189f67c15ff33217235230ad1), Ismael Luceno, 01/07/2021

Archive powered by MHonArc 2.6.24.

Top of Page