aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-passlib
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-06-06 16:30:20 +0800
committerRosen Penev <rosenp@gmail.com>2023-06-06 19:53:19 +0300
commit5b965e4d79afae179080a8bf3b370e650045fe05 (patch)
tree63fc613d8db5ef4235b75e344bbdcd839b6b46b8 /lang/python/python-passlib
parentfe2c009d68afb65dee9dbf578a59ed801f7181ad (diff)
passlib: Update to 1.7.4, rename source package
This renames the source package from passlib to python-passlib to match other Python packages. This also updates the package URL and list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-passlib')
-rw-r--r--lang/python/python-passlib/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-passlib/Makefile b/lang/python/python-passlib/Makefile
new file mode 100644
index 000000000..bcd6dc511
--- /dev/null
+++ b/lang/python/python-passlib/Makefile
@@ -0,0 +1,40 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-passlib
+PKG_VERSION:=1.7.4
+PKG_RELEASE:=1
+
+PYPI_NAME:=passlib
+PKG_HASH:=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
+
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-passlib
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Comprehensive password hashing framework
+ URL:=https://passlib.readthedocs.io/
+ DEPENDS:=+python3
+endef
+
+define Package/python3-passlib/description
+Passlib is a password hashing library for Python 2 & 3, which provides
+cross-platform implementations of over 30 password hashing algorithms,
+as well as a framework for managing existing password hashes. It’s
+designed to be useful for a wide range of tasks, from verifying a hash
+found in /etc/shadow, to providing full-strength password hashing for
+multi-user applications.
+endef
+
+$(eval $(call Py3Package,python3-passlib))
+$(eval $(call BuildPackage,python3-passlib))
+$(eval $(call BuildPackage,python3-passlib-src))