mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
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:
parent
486229648d
commit
2f15283e8a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user