mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changes since 1.16.0: - Drop Python 2.7 and 3.5 support - Add ensure_str(), ensure_binary(), ensure_text() helpers - Various minor fixes and maintenance updates six 1.17.0 switched to pyproject.toml with setuptools build backend, so add PKG_BUILD_DEPENDS on python-setuptools/host. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2015, 2017-2018 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-six
|
|
PKG_VERSION:=1.17.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=six
|
|
PKG_HASH:=ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-six
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Python 2 and 3 compatibility library
|
|
URL:=https://github.com/benjaminp/six
|
|
DEPENDS:=+python3-light
|
|
endef
|
|
|
|
define Package/python3-six/description
|
|
Six is a Python 2 and 3 compatibility library. It provides utility functions
|
|
for smoothing over the differences between the Python versions with the goal of
|
|
writing Python code that is compatible on both Python versions. See the
|
|
documentation for more information on what is provided.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-six))
|
|
$(eval $(call BuildPackage,python3-six))
|
|
$(eval $(call BuildPackage,python3-six-src))
|