aboutsummaryrefslogtreecommitdiffstats
path: root/main/python
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-10 14:58:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-10 14:58:48 +0000
commitdc3ff4b277d5a9ae36771ac635f8d43eb0cbfb59 (patch)
tree4074aa3e8b32f8477bdab0dd3e5b36e89a0099c2 /main/python
parentf7b2c307b6b1a6d1c20bdf0accf078dfa535d78f (diff)
downloadaports-dc3ff4b277d5a9ae36771ac635f8d43eb0cbfb59.tar.bz2
aports-dc3ff4b277d5a9ae36771ac635f8d43eb0cbfb59.tar.xz
main/python: disable emutramp on python binary
needed by some python modules
Diffstat (limited to 'main/python')
-rw-r--r--main/python/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 70e88ebc90..0f79882c4d 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
@@ -2,7 +2,7 @@
pkgname=python
pkgver=2.7.5
_verbase=${pkgver%.*}
-pkgrel=1
+pkgrel=2
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
@@ -13,7 +13,7 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-tests
"
depends=""
makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
- gdbm-dev sqlite-dev libffi-dev readline-dev"
+ gdbm-dev sqlite-dev libffi-dev readline-dev paxctl"
source="http://www.$pkgname.org/ftp/$pkgname/$pkgver/Python-$pkgver.tar.bz2
find_library.patch
"
@@ -50,6 +50,8 @@ package() {
make -j1 DESTDIR="$pkgdir" install || return 1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm "$pkgdir/usr/bin/2to3" || return 1
+ # we need to enable emutramp - needed for virt-manager
+ paxctl -czx "$pkgdir"/usr/bin/python
}
_mv_files() {