python-protobuf: update to 3.12.2.

This commit is contained in:
Andrew J. Hesford 2020-05-28 15:25:48 -04:00 committed by Helmut Pozimski
parent 24c7770145
commit 7edf829707
1 changed files with 5 additions and 7 deletions

View File

@ -1,19 +1,18 @@
# Template file for 'python-protobuf' # Template file for 'python-protobuf'
pkgname=python-protobuf pkgname=python-protobuf
version=3.10.0 version=3.12.2
revision=2 revision=1
archs=noarch archs=noarch
wrksrc="protobuf-${version}" wrksrc="${pkgname#*-}-${version}"
build_style=python-module build_style=python-module
pycompile_module="google/protobuf"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six" depends="python-setuptools python-six"
short_desc="Python2 bindings for Google Protocol Buffers" short_desc="Python2 bindings for Google Protocol Buffers"
maintainer="Charles E. Lehner <cel@celehner.com>" maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://developers.google.com/protocol-buffers/" homepage="https://developers.google.com/protocol-buffers/"
distfiles="${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz" distfiles="${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz"
checksum=db83b5c12c0cd30150bb568e6feb2435c49ce4e68fe2d7b903113f0e221e58fe checksum=49ef8ab4c27812a89a76fa894fe7a08f42f2147078392c0dee51d4a444ef6df5
post_install() { post_install() {
sed -n 1,29p google/protobuf/__init__.py >LICENSE sed -n 1,29p google/protobuf/__init__.py >LICENSE
@ -22,7 +21,6 @@ post_install() {
python3-protobuf_package() { python3-protobuf_package() {
archs=noarch archs=noarch
pycompile_module="google/protobuf"
depends="python3-setuptools python3-six" depends="python3-setuptools python3-six"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {