# -*- 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                    hg-credentials
version                 0.1.2
revision                1

categories              devel
license                 GPL-2
platforms               {darwin any}
supported_archs         noarch
maintainers             {danchr @danchr}

homepage                https://foss.heptapod.net/mercurial/hg-credentials
description             Mercurial extension for storing passwords securely
long_description        Mercurial extension for storing passwords securely \
                        in the macOS Keychain.

checksums               rmd160  d8d49eaa372d9632ac2fded5a576624a2a6bd202 \
                        sha256  ff77d95ec9899a51c48723b21e8b3919c92ac21d54e33472c060073fdd4073e6 \
                        size    16745

python.default_version  313
python.pep517           yes

depends_lib-append      port:mercurial

notes                   "
To enable the credentials extension, add the following to your ~/.hgrc:

\[extensions\]
credentials =
"

post-patch {
    file delete ${worksrcpath}/hgext3rd/__init__.py
}
