Created
August 26, 2015 00:55
-
-
Save StuntsPT/23dced2e0bccaa08a3e8 to your computer and use it in GitHub Desktop.
PKGBUILD for python-protobuf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jerome Leclanche <jerome@leclan.ch> | |
_pkgname=protobuf | |
pkgname=python-$_pkgname | |
pkgver=3.0.0a3 | |
pkgrel=3 | |
pkgdesc="Python 3 bindings to Google Protocol Buffers" | |
arch=("any") | |
license=("BSD") | |
url="https://github.com/google/protobuf" | |
depends=("python") | |
makedepends=("python-setuptools") | |
source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") | |
sha256sums=("b61622de5048415bfd3f2d812ad64606438ac9e25009ae84191405fe58e522c1") | |
build() { | |
cd "$srcdir/$_pkgname-$pkgver" | |
python ./setup.py build | |
} | |
package() { | |
cd "$srcdir/$_pkgname-$pkgver" | |
python ./setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build | |
chmod +r $pkgdir/usr/lib/python3.4/site-packages/protobuf-$pkgver-py3.4.egg-info/* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this fix. I hope it gets updated in AUR soon. The problem was also breaking gevent,