# -*- 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
description LZ4 bindings for python
long_description ${description} By Steeve Morin
homepage https://pypi.python.org/pypi/lz4
checksums rmd160 8e63d19c77176d21a0d284f2d6ec9607c0e61ea3 \
sha256 3c03f6b52b136a61b3168e875753a60d171a3efbab3601d66402a78dd20de4d2 \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-pkgconfig \
port:py${python.version}-setuptools_scm
if {${python.version} eq 27} {
port:py${python.version}-future
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
port:py${python.version}-psutil \
port:py${python.version}-pytest \
port:py${python.version}-pytest-runner
test.cmd py.test-${python.branch}
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \