Files
macports-ports/python/py-keyring/Portfile
T
2025-11-17 16:12:23 -05:00

52 lines
1.9 KiB
Tcl

# -*- 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 py-keyring
version 25.7.0
revision 0
categories-append security
platforms {darwin any}
supported_archs noarch
license {MIT PSF}
maintainers {reneeotten @reneeotten} openmaintainer
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.
homepage https://github.com/jaraco/keyring
checksums rmd160 cbdaeb4beec28a5464b717017633dca962c95929 \
sha256 fe01bd85eb3f8fb3dd0405defdeac9a5b4f6f0439edbb3149577f244a2e8245b \
size 63516
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm \
port:py${python.version}-coherent.licensed
depends_lib-append \
port:py${python.version}-jaraco.classes \
port:py${python.version}-jaraco.functools \
port:py${python.version}-jaraco.context
if {${python.version} < 312} {
depends_lib-append \
port:py${python.version}-importlib-metadata
}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} NEWS.rst LICENSE README.rst \
${destroot}${docdir}
}
}