summaryrefslogtreecommitdiffstats
path: root/main/python
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-05-06 15:43:30 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2011-05-06 15:43:30 -0400
commit96e95a93287adc9c6bdf8689fa974b11d41dc492 (patch)
treeb6ba86fae0a1a1e1bdeda0b83d87002db051e68a /main/python
parent8518325480d4d17deeb24c76a82fbdfb820c5942 (diff)
downloadaports-96e95a93287adc9c6bdf8689fa974b11d41dc492.tar.bz2
aports-96e95a93287adc9c6bdf8689fa974b11d41dc492.tar.xz
main/python: Remove /usr/bin/2to3; install python3 if you want that.
Diffstat (limited to 'main/python')
-rw-r--r--main/python/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 6aa4532da..f672d7441 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=python
pkgver=2.6.5
-pkgrel=7
+pkgrel=8
pkgdesc="A high-level scripting language"
url="http://www.python.org"
arch="all"
@@ -10,7 +10,7 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-tests
py-gdbm:gdbm
"
depends=
-makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev !gettext
+makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
gdbm-dev sqlite-dev libffi-dev"
source="http://www.$pkgname.org/ftp/$pkgname/$pkgver/Python-$pkgver.tar.bz2
$pkgname-2.6-internal-expat.patch
@@ -40,6 +40,7 @@ package() {
cd "$srcdir/Python-$pkgver"
make -j1 DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm "$pkgdir/usr/bin/2to3" || return 1
}
_mv_files() {