Files
2021-04-10 20:00:42 -04:00

75 lines
2.5 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 23.0.1
revision 1
categories-append security
platforms darwin
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 5d7573bb40c24db5dec6100ba9b4cf600e8f9432 \
sha256 045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8 \
size 59185
python.versions 27 35 36 37 38 39
if {${name} ne ${subport}} {
if {${python.version} eq 27} {
version 18.0.1
revision 0
checksums rmd160 0e07d12c4943d18499350057a9df781fb4fcbbaf \
sha256 67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838 \
size 48559
depends_lib-append \
port:py${python.version}-entrypoints
} elseif {${python.version} eq 35} {
version 20.0.1
revision 1
checksums rmd160 171bae4ffee2780dff9d7529c52e119abd9d0a97 \
sha256 963bfa7f090269d30bdc5e25589e5fd9dad2cf2a7c6f176a7f2386910e5d0d8d \
size 53452
} else {
depends_build-append \
port:py${python.version}-toml
depends_lib-append \
port:py${python.version}-importlib-metadata
}
depends_build-append \
port:py${python.version}-setuptools_scm
depends_lib-append \
port:py${python.version}-setuptools
if {${python.version} in "35 36 37"} {
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} CHANGES.rst LICENSE README.rst \
${destroot}${docdir}
}
livecheck.type none
}