b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # This is free software, licensed under the GNU General Public License v2. |
| 2 | # See /LICENSE for more information. |
| 3 | |
| 4 | include $(TOPDIR)/rules.mk |
| 5 | |
| 6 | PKG_NAME:=python-passlib |
| 7 | PKG_VERSION:=1.7.4 |
| 8 | PKG_RELEASE:=1 |
| 9 | |
| 10 | PYPI_NAME:=passlib |
| 11 | PKG_HASH:=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04 |
| 12 | |
| 13 | PKG_LICENSE:=BSD-3-Clause |
| 14 | PKG_LICENSE_FILES:=LICENSE |
| 15 | |
| 16 | include ../pypi.mk |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | include ../python3-package.mk |
| 19 | |
| 20 | define Package/python3-passlib |
| 21 | SUBMENU:=Python |
| 22 | SECTION:=lang |
| 23 | CATEGORY:=Languages |
| 24 | TITLE:=Comprehensive password hashing framework |
| 25 | URL:=https://passlib.readthedocs.io/ |
| 26 | DEPENDS:=+python3 |
| 27 | endef |
| 28 | |
| 29 | define Package/python3-passlib/description |
| 30 | Passlib is a password hashing library for Python 2 & 3, which provides |
| 31 | cross-platform implementations of over 30 password hashing algorithms, |
| 32 | as well as a framework for managing existing password hashes. It’s |
| 33 | designed to be useful for a wide range of tasks, from verifying a hash |
| 34 | found in /etc/shadow, to providing full-strength password hashing for |
| 35 | multi-user applications. |
| 36 | endef |
| 37 | |
| 38 | $(eval $(call Py3Package,python3-passlib)) |
| 39 | $(eval $(call BuildPackage,python3-passlib)) |
| 40 | $(eval $(call BuildPackage,python3-passlib-src)) |