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.

35 lines
955 B

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-contextlib2
  6. PKG_VERSION:=0.5.5
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PYPI_NAME:=contextlib2
  10. PKG_HASH:=509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48
  11. include ../pypi.mk
  12. include $(INCLUDE_DIR)/package.mk
  13. include ../python3-package.mk
  14. define Package/python3-contextlib2
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. SUBMENU:=Python
  18. URL:=http://contextlib2.readthedocs.org
  19. TITLE:=python3-contextlib2
  20. DEPENDS:=+python3-light
  21. VARIANT:=python3
  22. endef
  23. define Package/python-contextlib2/description
  24. contextlib2 is a backport of the standard library’s contextlib module to earlier Python versions.
  25. endef
  26. $(eval $(call Py3Package,python3-contextlib2))
  27. $(eval $(call BuildPackage,python3-contextlib2))
  28. $(eval $(call BuildPackage,python3-contextlib2-src))