# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           ocaml 1.1

name                ocaml-ocamlrss
version             3.0
revision            0
categories          www devel ocaml
license             LGPL-3
maintainers         nomaintainer
description         OCaml-RSS is a small OCaml library providing functions to parse and print RSS 2.0 files
long_description    ${description}

homepage            https://zoggy.frama.io/ocamlrss/
master_sites        https://framagit.org/zoggy/ocamlrss/-/archive/${version}/

distname            ocamlrss-${version}

checksums           rmd160  17dfe918ea5316cb98ee9826f4f186763617a4eb \
                    sha256  177bf5029a4fffdef360f321ea0337b29cecad976faf8b110aa6069ca515f879 \
                    size    16593

ocaml.build_type    dune
dune.packages       rss

depends_lib-append  port:ocaml-uri \
                    port:ocaml-xmlm \
                    port:ocaml-ptime

livecheck.type      regex
livecheck.url       https://framagit.org/zoggy/ocamlrss/-/tags?format=atom
livecheck.regex     {<title>([0-9]+\.[0-9.]+)</title>}
