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.

49 lines
1.3 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-requests-oauthlib
  7. PKG_VERSION:=1.3.0
  8. PKG_RELEASE:=1
  9. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  10. PKG_LICENSE:=ISC
  11. PKG_LICENSE_FILES:=LICENSE
  12. PYPI_NAME:=requests-oauthlib
  13. PKG_HASH:=b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python-requests-oauthlib/Default
  18. SUBMENU:=Python
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=OAuthlib auth for Requests
  22. URL:=https://github.com/requests/requests-oauthlib
  23. endef
  24. define Package/python3-requests-oauthlib
  25. $(call Package/python-requests-oauthlib/Default)
  26. DEPENDS:= \
  27. +PACKAGE_python3-requests-oauthlib:python3 \
  28. +PACKAGE_python3-requests-oauthlib:python3-oauthlib \
  29. +PACKAGE_python3-requests-oauthlib:python3-requests
  30. VARIANT:=python3
  31. endef
  32. define Package/python3-requests-oauthlib/description
  33. This python package provides first-class OAuth library support
  34. for Requests.
  35. .
  36. (Variant for Python3)
  37. endef
  38. $(eval $(call Py3Package,python3-requests-oauthlib))
  39. $(eval $(call BuildPackage,python3-requests-oauthlib))
  40. $(eval $(call BuildPackage,python3-requests-oauthlib-src))