New package: python-protobuf-3.1.0-post1

This commit is contained in:
Charles E. Lehner 2016-11-18 11:25:38 -05:00
parent cfec842f43
commit b380e1d1f1
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Template file for 'python-protobuf'
pkgname=python-protobuf
version=3.1.0.post1
revision=1
noarch=yes
wrksrc="protobuf-${version}"
build_style=python2-module
pycompile_module="protobuf"
hostmakedepends="python-setuptools"
depends="python"
short_desc="Python bindings for Google Protocol Buffers"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="https://developers.google.com/protocol-buffers/"
license="BSD"
distfiles="
${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz
https://raw.githubusercontent.com/google/protobuf/master/LICENSE"
checksum="
1a2e989ff8820ef2eaf56b07cd40ad764ec505a0f0b52b69f7fa9e0d5afbddb7
af67c58de2e18677a0b8cb5fffbe2232aabb8eb2930e8cd684769cef3d74a262"
skip_extraction=LICENSE
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE
chmod -R o+r $DESTDIR/usr/lib
}