7fbda1c0fb8653839c6ee348745922cd509104a5
[feed/packages.git] / lang / python / python-pyotp / Makefile
1 #
2 # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-pyotp
11 PKG_VERSION:=2.9.0
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=pyotp
15 PKG_HASH:=346b6642e0dbdde3b4ff5a930b664ca82abfa116356ed48cc42c7d6590d36f63
16
17 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-pyotp
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=One-Time Password Library
30 URL:=https://github.com/pyauth/pyotp
31 DEPENDS:=+python3-light +python3-codecs +python3-urllib
32 endef
33
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.
39 endef
40
41 $(eval $(call Py3Package,python3-pyotp))
42 $(eval $(call BuildPackage,python3-pyotp))
43 $(eval $(call BuildPackage,python3-pyotp-src))