python-cffi: Update to 1.12.1 8253/head
authorJeffery To <jeffery.to@gmail.com>
Tue, 19 Feb 2019 08:51:21 +0000 (16:51 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 19 Feb 2019 08:51:21 +0000 (16:51 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python-cffi/Makefile

index 6f6fbcfc6d3503eb03bf51cc990dc3ee9c3eb540..aea3c81300d60509b3c84d1b5b3bd66597078901 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-cffi
-PKG_VERSION:=1.11.5
+PKG_VERSION:=1.12.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=cffi-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://pypi.io/packages/source/c/cffi
-PKG_HASH:=e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4
+PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/cffi
+PKG_HASH:=9b6f7ba4e78c52c1a291d0c0c0bd745d19adde1a9e1c03cb899f0c6efd6f8033
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-cffi-$(PKG_VERSION)
 
@@ -36,21 +36,24 @@ define Package/python-cffi/Default
   SECTION:=lang
   CATEGORY:=Languages
   SUBMENU:=Python
+  TITLE:=C Foreign Function Interface
   URL:=http://cffi.readthedocs.org/
   DEPENDS:=+libffi
 endef
 
 define Package/python-cffi
 $(call Package/python-cffi/Default)
-  TITLE:=python-cffi
-  DEPENDS+=+PACKAGE_python-cffi:python-light +PACKAGE_python-cffi:python-pycparser
+  DEPENDS+= \
+      +PACKAGE_python-cffi:python-light \
+      +PACKAGE_python-cffi:python-pycparser
   VARIANT:=python
 endef
 
 define Package/python3-cffi
 $(call Package/python-cffi/Default)
-  TITLE:=python3-cffi
-  DEPENDS+=+PACKAGE_python3-cffi:python3-light +PACKAGE_python3-cffi:python3-pycparser
+  DEPENDS+= \
+      +PACKAGE_python3-cffi:python3-light \
+      +PACKAGE_python3-cffi:python3-pycparser
   VARIANT:=python3
 endef