2 # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-pyotp
15 PKG_HASH
:=346b6642e0dbdde3b4ff5a930b664ca82abfa116356ed48cc42c7d6590d36f63
17 PKG_MAINTAINER
:=Josef Schlehofer
<josef.schlehofer@nic.cz
>
19 PKG_LICENSE_FILES
:=LICENSE
22 include $(INCLUDE_DIR
)/package.mk
23 include ..
/python3-package.mk
25 define Package
/python3-pyotp
29 TITLE
:=One-Time Password Library
30 URL
:=https
://github.com
/pyauth
/pyotp
31 DEPENDS
:=+python3-light
+python3-codecs
+python3-urllib
34 define Package
/python3-pyotp
/description
35 PyOTP is a Python library for generating and verifying one-time
36 passwords. It can be used to implement two-factor
(2FA
) or multi-factor
37 (MFA
) authentication methods in web applications and in other systems
38 that require users to log in.
41 $(eval
$(call Py3Package
,python3-pyotp
))
42 $(eval
$(call BuildPackage
,python3-pyotp
))
43 $(eval
$(call BuildPackage
,python3-pyotp-src
))