# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name pyperclip set _n [string index ${_name} 0] name py-${_name} version 1.5.27 platforms darwin supported_archs noarch license BSD maintainers petr openmaintainer description A cross-platform clipboard module for Python long_description ${description}. It currently handles only plain text. homepage https://github.com/asweigart/pyperclip master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} use_zip yes checksums md5 18b86c2e6d10ed827cdd42aed80b4cbe \ rmd160 58fb544c41002a6b561856b2c0002a1046918c03 \ sha256 a3cb6df5d8f1557ca8fc514d94fabf50dc5a97042c90e5ba4f3611864fed3fc5 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools # Adding documentation # DISABLED: currently not provided with the distfile # post-destroot { # set dest_doc ${destroot}${prefix}/share/doc/${subport} # xinstall -d ${dest_doc} # xinstall -m 755 -W ${worksrcpath} \ # AUTHORS.txt\ # CHANGES.txt \ # LICENSE.txt \ # README.md \ # ${dest_doc} # } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }