From 7cbd1ddebcd5f00d5bf4019e4ed990194b785948 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 15 Jan 2015 00:15:18 +0100 Subject: [PATCH] prepare for 0.5.5 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++-- Makefile | 12 ++++++++++++ descr | 6 ++++++ opam | 21 +++++++++++++++++++++ 4 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 descr create mode 100644 opam diff --git a/CHANGELOG.md b/CHANGELOG.md index 08c0e5a..a51e448 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## 0.5.5 + +- new module `SequenceLabels` +- `fold_while` fun +- implement `Set.Adapt.of_list` for `< 4.02` +- removed many warnings, fix tests +- change name of `IO` functions (keep compat) + +## 0.5.4 + +- depend on `bytes` +- compliance with `-safe-string` +- `sequence.bigarray` + +## 0.5.3 + +- bugfix: interaction between `take` and `is_empty` + +## 0.5.2 + +- bugfix in `take` +- `on_list` for mapping lists through sequences + +## 0.5.1 + +- `Sequence.IO` module, a very very simple way to read/write files +- options: `to_opt/of_opt/head/head_exn` + ## 0.5 - conversion with `klist` @@ -20,7 +48,7 @@ ## 0.4.1 - `persistent_lazy` -- use bin_annot +- use `bin_annot` ## 0.4 @@ -62,4 +90,4 @@ - `zip`, `unzip` and `zip_i` to convert between `t` and `t2` - added `scan` combinator -note: git log --no-merges previous_version..HEAD --pretty=%s +note: `git log --no-merges previous_version..HEAD --pretty=%s` diff --git a/Makefile b/Makefile index db135ee..354130d 100644 --- a/Makefile +++ b/Makefile @@ -64,4 +64,16 @@ update_next_tag: sed -i "s/NEXT_VERSION/$(VERSION)/g" *.ml *.mli sed -i "s/NEXT_RELEASE/$(VERSION)/g" *.ml *.mli +NAME_VERSION := sequence.$(VERSION) +URL := https://github.com/c-cube/sequence/archive/$(VERSION).tar.gz + +release: + git tag -a $(VERSION) -m "Version $(VERSION)." + git push origin $(VERSION) + opam publish prepare $(NAME_VERSION) $(URL) + cp descr $(NAME_VERSION) + echo "submit?" + @read + opam publish submit $(NAME_VERSION) + .PHONY: benchs tests examples update_next_tag push_doc push_stable diff --git a/descr b/descr new file mode 100644 index 0000000..25f3a49 --- /dev/null +++ b/descr @@ -0,0 +1,6 @@ +Simple and lightweight sequence abstract data type. + +Simple sequence abstract data type, intended to transfer a finite number of +elements from one data structure to another. Some transformations on sequences, +like `filter`, `map`, `take`, `drop` and `append` can be performed before the +sequence is iterated/folded on. diff --git a/opam b/opam new file mode 100644 index 0000000..98868b5 --- /dev/null +++ b/opam @@ -0,0 +1,21 @@ +opam-version: "1.2" +author: "Simon Cruanes" +maintainer: "simon.cruanes@inria.fr" +build: [ + ["./configure" "--disable-docs" + "--%{delimcc:enable}%-invert" + "--%{base-bigarray:enable}%-bigarray" + ] + [make "build"] +] +install: [make "install"] +remove: [ + ["ocamlfind" "remove" "sequence"] +] +depends: ["ocamlfind" "base-bytes"] +tags: [ "sequence" "iterator" "iter" "fold" ] +homepage: "https://github.com/c-cube/sequence/" +depopts: ["delimcc" "base-bigarray"] +doc: "http://cedeela.fr/~simon/software/sequence/Sequence.html" +bug-reports: "https://github.com/c-cube/sequence/issues" +dev-repo: "https://github.com/c-cube/sequence.git"