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.

62 lines
1.8 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.1
  6. PKG_RELEASE:=1
  7. PKG_LICENSE:=BSD-3-Clause
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python-package.mk
  13. include ../python3-package.mk
  14. define Package/passlib/Default
  15. SUBMENU:=Python
  16. SECTION:=lang
  17. CATEGORY:=Languages
  18. MAINTAINER:=Daniel Dickinson <cshored@thecshore.com>
  19. TITLE:=Comprehensive password hashing framework
  20. URL:=https://bitbucket.org/ecollins/passlib
  21. endef
  22. define Package/python-passlib
  23. $(call Package/passlib/Default)
  24. DEPENDS:=+PACKAGE_python-passlib:python +PACKAGE_python-passlib:python-dateutil
  25. VARIANT:=python
  26. endef
  27. define Package/python3-passlib
  28. $(call Package/passlib/Default)
  29. DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil
  30. VARIANT:=python3
  31. endef
  32. define Package/python-passlib/description
  33. Passlib is a password hashing library for Python 2 & 3, which provides
  34. cross-platform implementations of over 30 password hashing algorithms,
  35. as well as a framework for managing existing password hashes. Its
  36. designed to be useful for a wide range of tasks, from verifying a hash
  37. found in /etc/shadow, to providing full-strength password hashing for
  38. multi-user applications.
  39. endef
  40. define Package/python3-passlib/description
  41. $(call Package/python-passlib/description)
  42. .
  43. (Variant for Python3)
  44. endef
  45. $(eval $(call PyPackage,python-passlib))
  46. $(eval $(call Py3Package,python3-passlib))
  47. $(eval $(call BuildPackage,python-passlib))
  48. $(eval $(call BuildPackage,python-passlib-src))
  49. $(eval $(call BuildPackage,python3-passlib))
  50. $(eval $(call BuildPackage,python3-passlib-src))