2015-11-16 12:55:06 +01:00
|
|
|
#
|
2018-01-14 18:59:14 +01:00
|
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
2015-11-16 12:55:06 +01: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 20:02:39 +02:00
|
|
|
PKG_NAME:=python-cffi
|
2021-10-18 09:20:36 +02:00
|
|
|
PKG_VERSION:=1.15.0
|
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2015-11-16 12:55:06 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=cffi
|
2021-10-18 09:20:36 +02:00
|
|
|
PKG_HASH:=920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954
|
2015-11-16 12:55:06 +01:00
|
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2017-07-27 08:36:44 +02:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2015-11-16 12:55:06 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2017-01-31 17:08:48 +01:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-cffi
|
2017-01-31 17:08:48 +01:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-19 09:51:21 +01:00
|
|
|
TITLE:=C Foreign Function Interface
|
2019-03-22 14:50:36 +01:00
|
|
|
URL:=https://cffi.readthedocs.org/
|
2020-04-21 19:27:50 +02:00
|
|
|
DEPENDS:= \
|
|
|
|
+libffi \
|
|
|
|
+python3-light \
|
|
|
|
+python3-pycparser
|
2015-11-16 12:55:06 +01:00
|
|
|
endef
|
|
|
|
|
2017-01-31 17:08:48 +01:00
|
|
|
define Package/python3-cffi/description
|
2020-04-01 16:21:16 +02:00
|
|
|
Foreign Function Interface for Python calling C code.
|
2015-11-16 12:55:06 +01:00
|
|
|
endef
|
|
|
|
|
2017-01-31 17:08:48 +01:00
|
|
|
$(eval $(call Py3Package,python3-cffi))
|
|
|
|
$(eval $(call BuildPackage,python3-cffi))
|
2018-01-14 18:59:14 +01:00
|
|
|
$(eval $(call BuildPackage,python3-cffi-src))
|