# -*- 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
python.versions 27 34 35 36 37
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
master_sites pypi:p/plyvel
distname plyvel-${version}
checksums rmd160 ee6e86a50b6f02be860f3caaec6d333eb7f0362b \
sha256 d64d99fa457fbddb610516f109bd348da143f81324493a14dcb5231db06f8b91 \
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:leveldb
# Unreadable PKG-INFO breaks setuptools, and setuptools doesn't
# ensure it is installed with read permissions.
# https://github.com/pypa/setuptools/issues/1328
# https://github.com/pypa/setuptools/issues/617
system "chmod -R a+r ${worksrcpath}"
patchfiles setup.py.patch