Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (37 sloc) 1.84 KB
# -*- 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-xdis
version 3.8.7
platforms darwin
license GPL-2
maintainers {khindenburg @kurthindenburg} openmaintainer
description Python cross-version byte-code disassembler and marshal routines
long_description \
The Python `dis` module allows you to disassemble bytecode from the same \
version of Python that you are running on. \
This package can "marshal load" Python bytecodes \
from different versions of Python. The command-line routine \
*pydisasm* will show disassembly output using Python 3.5 disassembly \
conventions. This is a direct port of a C++ routine by Jonathan Goodman \
(NYU) called ACOR that estimates the autocorrelation time \
of time series data very quickly.
homepage https://pypi.python.org/pypi/${python.rootname}/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 7bc8e9ca86f389e0a3351317f2bbd0e6e5d4f679 \
sha256 618c205ced132ac053df7f789f6adcc2822c824184a4ab3d50b8f8224bea5b56 \
size 180731
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools \
port:py${python.version}-pytest-runner
depends_lib-append port:py${python.version}-click
depends_test-append port:py${python.version}-py \
port:py${python.version}-pytest
test.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
} else {
livecheck.type pypi
}