Files
macports-ports/python/py-pyotp/Portfile
2025-11-04 12:24:35 -05:00

35 lines
1.1 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-pyotp
version 2.9.0
revision 0
supported_archs noarch
platforms {darwin any}
license MIT
maintainers {judaew @judaew} openmaintainer
description Python One-Time Password Library
long_description \
PyOTP is a Python library for generating and verifying one-time passwords. \
It can be used to implement two-factor (2FA) or multi-factor (MFA) \
authentication methods in web applications and in other systems that \
require users to log in.
homepage https://pyauth.github.io/pyotp
checksums rmd160 170f5d0d38c6030b855611a6ee36570b96d23cc6 \
sha256 346b6642e0dbdde3b4ff5a930b664ca82abfa116356ed48cc42c7d6590d36f63 \
size 17763
python.versions 310 311 312 313
if {${name} ne ${subport}} {
test.run yes
python.test_framework
test.cmd ${python.bin} setup.py
test.target test
}