2015-11-16 11:55:06 +00:00
|
|
|
#
|
2018-01-14 17:59:14 +00:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-16 11:55:06 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-07-04 18:02:39 +00:00
|
|
|
PKG_NAME:=python-cffi
|
2020-02-12 05:40:21 +00:00
|
|
|
PKG_VERSION:=1.14.0
|
2020-04-21 17:27:50 +00:00
|
|
|
PKG_RELEASE:=2
|
2015-11-16 11:55:06 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=cffi
|
2020-02-12 05:40:21 +00:00
|
|
|
PKG_HASH:=2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6
|
2015-11-16 11:55:06 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2017-07-27 06:36:44 +00:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2015-11-16 11:55:06 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 07:56:52 +00:00
|
|
|
include ../python3-package.mk
|
2017-01-31 16:08:48 +00:00
|
|
|
|
2020-04-21 17:27:50 +00:00
|
|
|
define Package/python3-cffi
|
2017-01-31 16:08:48 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-19 08:51:21 +00:00
|
|
|
TITLE:=C Foreign Function Interface
|
2019-03-22 13:50:36 +00:00
|
|
|
URL:=https://cffi.readthedocs.org/
|
2020-04-21 17:27:50 +00:00
|
|
|
DEPENDS:= \
|
|
|
|
+libffi \
|
|
|
|
+python3-light \
|
|
|
|
+python3-pycparser
|
2015-11-16 11:55:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-31 16:08:48 +00:00
|
|
|
define Package/python3-cffi/description
|
2020-04-01 14:21:16 +00:00
|
|
|
Foreign Function Interface for Python calling C code.
|
2015-11-16 11:55:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-31 16:08:48 +00:00
|
|
|
$(eval $(call Py3Package,python3-cffi))
|
|
|
|
$(eval $(call BuildPackage,python3-cffi))
|
2018-01-14 17:59:14 +00:00
|
|
|
$(eval $(call BuildPackage,python3-cffi-src))
|