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.

47 lines
1.3 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:=1
  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/passlib/Default
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=Comprehensive password hashing framework
  18. URL:=https://bitbucket.org/ecollins/passlib
  19. endef
  20. define Package/python3-passlib
  21. $(call Package/passlib/Default)
  22. DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil
  23. VARIANT:=python3
  24. endef
  25. define Package/python3-passlib/description
  26. Passlib is a password hashing library for Python 2 & 3, which provides
  27. cross-platform implementations of over 30 password hashing algorithms,
  28. as well as a framework for managing existing password hashes. Its
  29. designed to be useful for a wide range of tasks, from verifying a hash
  30. found in /etc/shadow, to providing full-strength password hashing for
  31. multi-user applications.
  32. .
  33. (Variant for Python3)
  34. endef
  35. $(eval $(call Py3Package,python3-passlib))
  36. $(eval $(call BuildPackage,python3-passlib))
  37. $(eval $(call BuildPackage,python3-passlib-src))