# Template file for 'python3-protobuf'
pkgname=python3-protobuf
version=7.35.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel protobuf"
makedepends="python3-devel protobuf-devel"
depends="python3-setuptools python3-six"
checkdepends="python3-numpy"
short_desc="Python3 bindings for Google Protocol Buffers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://developers.google.com/protocol-buffers/"
distfiles="${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz"
checksum=ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a

post_install() {
	sed -n 1,29p google/protobuf/__init__.py >LICENSE
	vlicense LICENSE
}
