2021-03-15 16:58:51 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2023-08-04 00:01:50 +08:00
|
|
|
PKG_NAME:=python-flask-httpauth
|
|
|
|
PKG_VERSION:=4.8.0
|
2021-03-15 16:58:51 +08:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PYPI_NAME:=Flask-HTTPAuth
|
2023-08-04 00:01:50 +08:00
|
|
|
PKG_HASH:=66568a05bc73942c65f1e2201ae746295816dc009edd84b482c44c758d75097a
|
2021-03-15 16:58:51 +08:00
|
|
|
|
2021-07-08 21:32:31 +08:00
|
|
|
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
2021-03-15 16:58:51 +08:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
|
|
|
include ../pypi.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
define Package/python3-flask-httpauth
|
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
2023-08-04 00:01:50 +08:00
|
|
|
TITLE:=HTTP authentication for Flask routes
|
2021-03-15 16:58:51 +08:00
|
|
|
URL:=https://github.com/miguelgrinberg/flask-httpauth
|
|
|
|
DEPENDS:= \
|
|
|
|
+python3-light \
|
|
|
|
+python3-flask
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-flask-httpauth/description
|
|
|
|
Flask-HTTPAuth is a Flask extension that simplifies the
|
|
|
|
use of HTTP authentication with Flask routes
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-flask-httpauth))
|
|
|
|
$(eval $(call BuildPackage,python3-flask-httpauth))
|
|
|
|
$(eval $(call BuildPackage,python3-flask-httpauth-src))
|