1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
7 PKG_NAME
:=python-contextlib2
11 PYPI_NAME
:=contextlib2
12 PKG_HASH
:=ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869
14 PKG_MAINTAINER
:=Karel Kočí
<cynerd@email.cz
>
15 PKG_LICENSE
:=PSF-2.0 Apache-2.0
16 PKG_LICENSE_FILES
:=LICENSE.txt
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/python3-package.mk
22 define Package
/python3-contextlib2
26 URL
:=https
://contextlib2.readthedocs.org
27 TITLE
:=Backports and enhancements for the contextlib module
28 DEPENDS
:=+python3-light
31 define Package
/python-contextlib2
/description
32 contextlib2 is a backport of the standard library
's contextlib module to
33 earlier Python versions.
36 $(eval $(call Py3Package,python3-contextlib2))
37 $(eval $(call BuildPackage,python3-contextlib2))
38 $(eval $(call BuildPackage,python3-contextlib2-src))