Files
2026-05-29 12:00:07 -04:00

52 lines
1.6 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-jwt
python.rootname PyJWT
version 2.13.0
revision 0
distname pyjwt-${version}
categories-append security
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {petr @petrrr} openmaintainer
description JSON Web Token implementation in Python
long_description {*}${description}
homepage https://github.com/jpadilla/pyjwt
checksums rmd160 0f6e14060f766eebc3d336d5eca3c52cc4f4fb8e \
sha256 41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423 \
size 107515
python.versions 27 310 311 312 313 314
if {${name} ne ${subport}} {
# legacy support
if {${python.version} eq 27} {
version 1.7.1
revision 0
distname ${python.rootname}-${version}
checksums rmd160 bfe7a0ea07327593b728ba82766d809ae4c1be75 \
sha256 8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96 \
size 41979
depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-pytest-runner
notes-append \
"This is a legacy version of ${python.rootname} for Python ${python.version}."
}
test.run yes
livecheck.type none
}