# $Id: Portfile 117770 2014-03-12 16:25:56Z g5pw@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        jaraco keyring 3.6
name                py-${name}
license             PSF
maintainers         nomaintainer
description         Python interface to access the system keyring service
long_description \
    The Python keyring lib provides a easy way to access the system keyring \
    service from python. It can be used in any application that needs safe \
    password storage. The OSXKeychain keyring service supports the Keychain \
    service in Mac OS X.

platforms           darwin

homepage            https://bitbucket.org/kang/python-keyring-lib

checksums           rmd160  6603d9bac6ff4b4947d2a87a6e9a2438eaf51641 \
                    sha256  282132421bafc34b78a25ec07a78ce5539f3d358a290750fe79535fca2a693e0

python.versions     26 27 33 34

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
                          ${destroot}${prefix}/share/examples/${subport}
        xinstall -m 644 -W ${worksrcpath} CONTRIBUTORS.txt CHANGES.rst README.rst \
            ${destroot}${prefix}/share/doc/${subport}
        eval file copy [glob ${worksrcpath}/demo/*] \
            ${destroot}${prefix}/share/examples/${subport}
    }

    livecheck.type      none
}
