[arch-commits] Commit in python-pytables/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sun Aug 16 16:43:31 UTC 2015
Date: Sunday, August 16, 2015 @ 18:43:31
Author: aginiewicz
Revision: 138422
upgpkg: python-pytables 3.2.1-2
python2-pytables: fix FS#45975
Modified:
python-pytables/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-16 16:26:14 UTC (rev 138421)
+++ PKGBUILD 2015-08-16 16:43:31 UTC (rev 138422)
@@ -5,7 +5,7 @@
pkgbase=python-pytables
pkgname=('python2-pytables' 'python-pytables')
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
arch=("i686" "x86_64")
pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data"
url="http://www.pytables.org"
@@ -44,6 +44,11 @@
mv "$pkgdir"/usr/bin/ptdump{,-2.7}
mv "$pkgdir"/usr/bin/ptrepack{,-2.7}
mv "$pkgdir"/usr/bin/pttree{,-2.7}
+
+ # see FS#45975
+ _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+ chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+ chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
}
package_python-pytables() {
@@ -53,5 +58,10 @@
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # see FS#45975
+ _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
+ chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info
+ chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/*
}
More information about the arch-commits
mailing list