testing/py-protobuf: remove workaround for egg-info

protobuf-2.6.1-py2.7.egg-info is not a directory now!?
This commit is contained in:
Jakub Jirutka 2016-07-19 14:59:13 +02:00
parent 486229648d
commit 2f15283e8a

View File

@ -20,13 +20,7 @@ build() {
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
# Workaround for https://github.com/google/protobuf/issues/737.
# The files under protobuf.egg-info lack read permission for "other",
# which causes `python setup.py build` failures for other packages.
chmod o+r "$pkgdir"/usr/lib/python2.7/site-packages/$_pkgname-$pkgver-py2.7.egg-info/*
python setup.py install --prefix=/usr --root="$pkgdir"
}
md5sums="6bf843912193f70073db7f22e2ea55e2 py-protobuf-2.6.1.tar.gz"