Files
macports-ports/python/py-python-jsonrpc-server/Portfile
T
Renee Otten e0ee0de2a5 py-python-jsonrpc-server: update to 0.2
- overwrite the addopts specified in setup.cfg
- add noarch
2019-06-28 09:37:14 -04:00

49 lines
1.5 KiB
Tcl

# -*- 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-python-jsonrpc-server
version 0.2.0
revision 0
platforms darwin
supported_archs noarch
license MIT
maintainers {reneeotten @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 629c82aab44ae2d0843b2a99596c640ec050afe7 \
sha256 59ce9c9523c14c493a327b3a27ee37464a36dc2b9d8ab485ecbcedd38840380a \
size 25797
python.versions 27 35 36 37
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-future
if {${python.version} eq 27} {
depends_lib-append \
port:py${python.version}-futures
}
depends_test-append port:py${python.version}-pytest \
port:py${python.version}-mock
test.run yes
test.cmd py.test-${python.branch}
test.args -o addopts=''
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}