Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37520606
en ru br
ALT Linux repositórios
S:0.15.0-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-parsexp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define libname parsexp
Name: ocaml-%libname
Version: 0.15.0
Release: alt1
Summary: S-expression parsing library for ocaml
Group: Development/ML
License: Apache-2.0
Url: https://github.com/janestreet/parsexp
Source0: %name-%version.tar
BuildRequires: dune >= 1.8
BuildRequires: ocaml-sexplib0-devel >= 0.14.0
BuildRequires: ocaml-base-devel >= 0.14.0
BuildRequires: rpm-build-ocaml >= 1.4

%description
This library provides generic parsers for parsing S-expressions from strings or
other medium.

The library is focused on performances but still provide full generic parsers
that can be used with strings, bigstrings, lexing buffers, character streams or
any other sources effortlessly.

It provides three different class of parsers:

   the normal parsers, producing [Sexp.t] or [Sexp.t list] values
   
   the parsers with positions, building compact position sequences so that one
   can recover original positions in order to report properly located errors at
   little cost
   
   the Concrete Syntax Tree parsers, produce values of type [Parsexp.Cst.t]
   which record the concrete layout of the s-expression syntax, including
   comments

%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
Requires: ocaml-base-devel >= 0.14.0

%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.

%prep
%setup

%build
%dune_build -p %libname

%install
%dune_install
rm -rf %buildroot/usr/share/doc

%check
%dune_check

%files -f ocaml-files.runtime
%doc README.org CHANGES.md

%files devel -f ocaml-files.devel

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009