# Template file for 'python3-protobuf'
pkgname=python3-protobuf
version=5.29.4
revision=2
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=4f1dfcd7997b31ef8f53ec82781ff434a28bf71d9102ddde14d076adcfc78c99

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