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.

60 lines
1.4 KiB

  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:=pyjwt
  7. PKG_VERSION:=1.7.1
  8. PKG_RELEASE:=1
  9. PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
  10. PKG_LICENSE:=MIT
  11. PKG_LICENSE_FILES:=LICENSE
  12. PYPI_NAME:=PyJWT
  13. PKG_HASH:=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python-package.mk
  17. include ../python3-package.mk
  18. define Package/python-pyjwt/Default
  19. SUBMENU:=Python
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. TITLE:=JSON Web Token implementation in Python
  23. URL:=http://github.com/jpadilla/pyjwt
  24. endef
  25. define Package/python-pyjwt
  26. $(call Package/python-pyjwt/Default)
  27. DEPENDS:=+PACKAGE_python-pyjwt:python
  28. VARIANT:=python
  29. endef
  30. define Package/python3-pyjwt
  31. $(call Package/python-pyjwt/Default)
  32. DEPENDS:=+PACKAGE_python3-pyjwt:python3
  33. VARIANT:=python3
  34. endef
  35. define Package/python-pyjwt/description
  36. A Python implementation of RFC 7519.
  37. endef
  38. define Package/python3-pyjwt/description
  39. $(call Package/python-pyjwt/description)
  40. .
  41. (Variant for Python3)
  42. endef
  43. $(eval $(call PyPackage,python-pyjwt))
  44. $(eval $(call BuildPackage,python-pyjwt))
  45. $(eval $(call BuildPackage,python-pyjwt-src))
  46. $(eval $(call Py3Package,python3-pyjwt))
  47. $(eval $(call BuildPackage,python3-pyjwt))
  48. $(eval $(call BuildPackage,python3-pyjwt-src))