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.

44 lines
1005 B

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=bcrypt
  7. PKG_VERSION:=3.1.7
  8. PKG_RELEASE:=3
  9. PYPI_NAME:=$(PKG_NAME)
  10. PKG_HASH:=0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42
  11. PKG_LICENSE:=Apache-2.0
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_BUILD_DEPENDS:=libffi/host
  14. PKG_BUILD_PARALLEL:=0
  15. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=cffi # cffi>=1.1
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-bcrypt
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Modern password hashing
  24. URL:=https://github.com/pyca/bcrypt/
  25. DEPENDS:= \
  26. +python3 \
  27. +python3-cffi \
  28. +python3-six
  29. endef
  30. define Package/python3-bcrypt/description
  31. Good password hashing for your software and your servers.
  32. endef
  33. $(eval $(call Py3Package,python3-bcrypt))
  34. $(eval $(call BuildPackage,python3-bcrypt))
  35. $(eval $(call BuildPackage,python3-bcrypt-src))