python: remove lib2to3 tests that fail to be byte-compiled.
This commit is contained in:
parent
9afeacf0b3
commit
aa3acec7fb
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'python'.
|
||||
pkgname=python
|
||||
version=2.7.7
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Python-${version}"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libffi-devel readline-devel>=6.3 gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel"
|
||||
|
@ -58,8 +58,9 @@ do_install() {
|
|||
post_install() {
|
||||
chmod 755 ${DESTDIR}/usr/lib/libpython*.so*
|
||||
install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/python/LICENSE
|
||||
# Remove test module.
|
||||
# Remove test module and tests that fail to be byte-compiled.
|
||||
rm -rf ${DESTDIR}/usr/lib/python2.7/test
|
||||
rm -rf ${DESTDIR}/usr/lib/python2.7/lib2to3/tests
|
||||
}
|
||||
|
||||
python-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue