mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 23:16:56 +04:00
Refresh sha256 from the PyPI sdist. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-protobuf
|
|
PKG_VERSION:=7.35.1
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=protobuf
|
|
PKG_HASH:=ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:google:protobuf
|
|
|
|
PKG_BUILD_DEPENDS:=protobuf/host python-setuptools/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-protobuf
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Protobuf support for Python
|
|
URL:=https://github.com/protocolbuffers/protobuf
|
|
DEPENDS:= \
|
|
+protobuf \
|
|
+python3-ctypes \
|
|
+python3-light
|
|
endef
|
|
|
|
define Package/python3-protobuf/description
|
|
Protocol Buffers - Google's data interchange format, for Python
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-protobuf))
|
|
$(eval $(call BuildPackage,python3-protobuf))
|
|
$(eval $(call BuildPackage,python3-protobuf-src))
|