# -*- 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
name py-python-jsonrpc-server
maintainers {gmail.com:ottenr.work @reneeotten} openmaintainer
description JSON RPC 2.0 server library
long_description ${description}
homepage https://github.com/palantir/python-jsonrpc-server
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 3c29535bc63fa7c71c70c391ef523175d177b7aa \
sha256 09b418e3b1ba9032aecc7aefdd185511dd230fb8dacf18ec195d14dfd89d9e54 \
python.versions 27 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-future
if {${python.version} eq 27} {
port:py${python.version}-futures
depends_test-append port:py${python.version}-pytest \
port:py${python.version}-mock
test.cmd py.test-${python.branch}
test.env PYTHONPATH=${worksrcpath}/build/lib