From 5f7b7084a81813356006dfe093f834f6072409b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 10 Feb 2019 16:06:31 +0100 Subject: Add packages I am pussing to upstream --- python-chardet/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 python-chardet/Makefile (limited to 'python-chardet/Makefile') diff --git a/python-chardet/Makefile b/python-chardet/Makefile new file mode 100644 index 0000000..ed44fcf --- /dev/null +++ b/python-chardet/Makefile @@ -0,0 +1,36 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-chardet +PKG_VERSION:=3.0.4 +PKG_RELEASE:=1 + +PKG_SOURCE_URL:=https://pypi.python.org/packages/source/c/chardet/ +PKG_SOURCE:=chardet-$(PKG_VERSION).tar.gz +PKG_HASH:=84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae +PKG_LICENSE:=GPLv2.1 +PKG_BUILD_DIR:=$(BUILD_DIR)/chardet-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-chardet + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + URL:=https://github.com/chardet/chardet + TITLE:=python3-chardet + DEPENDS:=+python3-light + VARIANT:=python3 +endef + +define Package/python-chardet/description + The Universal Character Encoding Detector +endef + +$(eval $(call Py3Package,python3-chardet)) +$(eval $(call BuildPackage,python3-chardet)) +$(eval $(call BuildPackage,python3-chardet-src)) -- cgit v1.2.3