mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
upb is now the default implementation https://github.com/protocolbuffers/protobuf/blob/main/python/README.md
20 lines
701 B
Bash
20 lines
701 B
Bash
# Template file for 'python3-protobuf'
|
|
pkgname=python3-protobuf
|
|
version=5.29.4
|
|
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=4f1dfcd7997b31ef8f53ec82781ff434a28bf71d9102ddde14d076adcfc78c99
|
|
|
|
post_install() {
|
|
sed -n 1,29p google/protobuf/__init__.py >LICENSE
|
|
vlicense LICENSE
|
|
}
|