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.

34 lines
942 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.6.0.post1
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PYPI_NAME:=contextlib2
  10. PKG_HASH:=01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e
  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. endef
  22. define Package/python-contextlib2/description
  23. contextlib2 is a backport of the standard library’s contextlib module to earlier Python versions.
  24. endef
  25. $(eval $(call Py3Package,python3-contextlib2))
  26. $(eval $(call BuildPackage,python3-contextlib2))
  27. $(eval $(call BuildPackage,python3-contextlib2-src))