# -*- 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           python 1.0

name                py-plyvel
version             1.5.1
revision            0

categories-append   devel
license             BSD

python.versions     27 310 311 312 313 314

maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         Plyvel is a fast and feature-rich Python interface to LevelDB.
long_description    Plyvel is a Python interface to LevelDB that has a rich \
                    feature set, high performance and a friendly Pythonic API.

homepage            https://github.com/wbolster/plyvel

checksums           rmd160  432988ab7e947419a91d9fe0c8aee953583777bd \
                    sha256  3caf6009e4fc24fbf8712d3f5ef3da7e56495c26a488df2161218fc34e46019c \
                    size    200128

if {${name} ne ${subport}} {
    compiler.cxx_standard 2011

    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:leveldb
}
