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.

46 lines
1.1 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:=python-oauthlib
  7. PKG_VERSION:=3.1.0
  8. PKG_RELEASE:=1
  9. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  10. PKG_LICENSE:=BSD-3-Clause
  11. PKG_LICENSE_FILES:=LICENSE
  12. PYPI_NAME:=oauthlib
  13. PKG_HASH:=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python-oauthlib/Default
  18. SUBMENU:=Python
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=OAuth request-signing logic for Python
  22. URL:=https://github.com/oauthlib/oauthlib
  23. endef
  24. define Package/python3-oauthlib
  25. $(call Package/python-oauthlib/Default)
  26. DEPENDS:=+PACKAGE_python3-oauthlib:python3-light
  27. VARIANT:=python3
  28. endef
  29. define Package/python3-oauthlib/description
  30. A generic, spec-compliant, thorough implementation of the OAuth request-signing
  31. logic for Python
  32. .
  33. (Variant for Python3)
  34. endef
  35. $(eval $(call Py3Package,python3-oauthlib))
  36. $(eval $(call BuildPackage,python3-oauthlib))
  37. $(eval $(call BuildPackage,python3-oauthlib-src))