dcbed11c2031dce51c9ba024564339147eac84e5
[feed/packages.git] / lang / python / python-contextlib2 / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=python-contextlib2
8 PKG_VERSION:=21.6.0
9 PKG_RELEASE:=1
10
11 PYPI_NAME:=contextlib2
12 PKG_HASH:=ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869
13
14 PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
15 PKG_LICENSE:=PSF-2.0 Apache-2.0
16 PKG_LICENSE_FILES:=LICENSE.txt
17
18 include ../pypi.mk
19 include $(INCLUDE_DIR)/package.mk
20 include ../python3-package.mk
21
22 define Package/python3-contextlib2
23 SECTION:=lang
24 CATEGORY:=Languages
25 SUBMENU:=Python
26 URL:=https://contextlib2.readthedocs.org
27 TITLE:=Backports and enhancements for the contextlib module
28 DEPENDS:=+python3-light
29 endef
30
31 define Package/python-contextlib2/description
32 contextlib2 is a backport of the standard library's contextlib module to
33 earlier Python versions.
34 endef
35
36 $(eval $(call Py3Package,python3-contextlib2))
37 $(eval $(call BuildPackage,python3-contextlib2))
38 $(eval $(call BuildPackage,python3-contextlib2-src))