You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=passlib
  5. PKG_VERSION:=1.7.2
  6. PKG_RELEASE:=2
  7. PKG_LICENSE:=BSD-3-Clause
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-passlib
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=Comprehensive password hashing framework
  18. URL:=https://bitbucket.org/ecollins/passlib
  19. DEPENDS:=+python3 +python3-dateutil
  20. endef
  21. define Package/python3-passlib/description
  22. Passlib is a password hashing library for Python 2 & 3, which provides
  23. cross-platform implementations of over 30 password hashing algorithms,
  24. as well as a framework for managing existing password hashes. Its
  25. designed to be useful for a wide range of tasks, from verifying a hash
  26. found in /etc/shadow, to providing full-strength password hashing for
  27. multi-user applications.
  28. endef
  29. $(eval $(call Py3Package,python3-passlib))
  30. $(eval $(call BuildPackage,python3-passlib))
  31. $(eval $(call BuildPackage,python3-passlib-src))