# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-mercurial_keyring version 0.6.1 categories-append devel license GPL maintainers sean openmaintainer description Mercurial extension used to securely save passwords long_description \ mercurial_keyring is a Mercurial extension used to securely save HTTP and \ SMTP authentication passwords in password databases (Gnome Keyring, KDE \ KWallet, OSXKeyChain, specific solutions for Win32 and command line). This \ extension uses and wraps services of the keyring library. platforms darwin homepage http://pypi.python.org/pypi/mercurial_keyring master_sites http://pypi.python.org/packages/source/m/mercurial_keyring distname mercurial_keyring-${version} checksums rmd160 6f5d3c8411d40930cadad0efac9f4306fda4f559 \ sha256 8b78f8c03d70f1c948f867970207ab0839b9750c0cfbd15137604f022e528056 #not supporting 3x because py-keyring is broken on python 3.x python.versions 24 25 26 27 #defaulting to 27 to keep in par with mercurial port, check r86604 python.default_version 27 if {${name} ne ${subport}} { depends_run port:py${python.version}-keyring \ bin:hg:mercurial depends_build port:py${python.version}-setuptools post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} README.txt \ ${destroot}${prefix}/share/doc/${subport} } } livecheck.type regex livecheck.url ${homepage} livecheck.regex "mercurial_keyring-(\\d+(?:\\.\\d+)*)${extract.suffix}"