You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
56 lines
1.7 KiB
Tcl
56 lines
1.7 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.4.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
|
|
|
|
checksums rmd160 0b4b335eaeb03323f1030c5a12b426c696e7a87d \
|
|
sha256 62c543e541f101ec5b57dc654efc212d2c2e3ea47ff6f54b2e7dcb36ecf20595 \
|
|
size 26491
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append port:py${python.version}-ujson
|
|
|
|
if {${python.version} eq 27} {
|
|
depends_lib-append \
|
|
port:py${python.version}-future \
|
|
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
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
LICENSE ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|