# -*- 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 stevedore set _n [string index ${_name} 0] name py-${_name} version 0.15 categories-append devel platforms darwin maintainers nomaintainer supported_archs noarch license Apache-2 description Manage dynamic plugins for Python applications long_description ${description} homepage https://pypi.python.org/pypi/${_name}/${version} master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ distname ${_name}-${version} checksums md5 437ee0a0168c78433b2b8faec0ae482d \ rmd160 5822632176883c3b9cd7a5fd5fab3ec13ed9cdc9 \ sha256 bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847 python.versions 27 34 if {${name} ne ${subport}} { # uses pkg_resources for extensions depends_lib-append port:py${python.version}-setuptools # Adding documentation post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ README.rst \ LICENSE \ announce.rst \ ChangeLog \ CONTRIBUTING.rst \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }