2019-03-10 09:56:13 +01:00
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=python-contextlib2
|
2023-07-27 20:16:26 +02:00
|
|
|
|
PKG_VERSION:=21.6.0
|
2020-10-20 13:55:31 +02:00
|
|
|
|
PKG_RELEASE:=1
|
2019-03-10 09:56:13 +01:00
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
|
PYPI_NAME:=contextlib2
|
2023-07-27 20:16:26 +02:00
|
|
|
|
PKG_HASH:=ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869
|
|
|
|
|
|
2023-09-04 11:08:43 +02:00
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2023-07-27 20:16:26 +02:00
|
|
|
|
PKG_LICENSE:=PSF-2.0 Apache-2.0
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
2019-03-10 09:56:13 +01:00
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
|
include ../pypi.mk
|
2019-03-10 09:56:13 +01:00
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
|
|
define Package/python3-contextlib2
|
|
|
|
|
SECTION:=lang
|
|
|
|
|
CATEGORY:=Languages
|
|
|
|
|
SUBMENU:=Python
|
2023-07-27 20:16:26 +02:00
|
|
|
|
URL:=https://contextlib2.readthedocs.org
|
|
|
|
|
TITLE:=Backports and enhancements for the contextlib module
|
2019-03-10 09:56:13 +01:00
|
|
|
|
DEPENDS:=+python3-light
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/python-contextlib2/description
|
2023-07-27 20:16:26 +02:00
|
|
|
|
contextlib2 is a backport of the standard library's contextlib module to
|
|
|
|
|
earlier Python versions.
|
2019-03-10 09:56:13 +01:00
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-contextlib2))
|
|
|
|
|
$(eval $(call BuildPackage,python3-contextlib2))
|
|
|
|
|
$(eval $(call BuildPackage,python3-contextlib2-src))
|