/
Portfile
37 lines (29 loc) · 1.23 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- 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 39 310 311 312
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
test.run yes
python.test_framework
test.cmd ${python.bin} setup.py
test.target test
}