# -*- 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-backports-lzma epoch 1 version 0.0.13 revision 0 categories-append devel platforms darwin license BSD supported_archs noarch python.versions 27 maintainers {stromnov @stromnov} openmaintainer description Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files. long_description ${description} homepage https://github.com/peterjc/backports.lzma master_sites pypi:b/backports.lzma distname backports.lzma-${version} checksums rmd160 529d6ea19e369aa83802c6ea9c8a5969904fd673 \ sha256 50829db66f0445442f6c796bba0ca62d1f87f54760c4682b6d1489e729a43744 \ size 42552 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-backports \ port:xz patchfiles-append patch-setup.py.diff post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py } post-destroot { foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} { set fp "${destroot}${python.pkgd}/backports/$f" if {[file exists ${fp}]} { file delete -force ${fp} } } } livecheck.type none } else { livecheck.name backports.lzma }