diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-25 16:29:43 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-25 16:31:41 +0200 |
commit | f5f90852a2c0d638e41f2c35e7594ec5328bda08 (patch) | |
tree | ebf8b0209d6de7fc6086ec9247ab398b2b41c66b /main/python2/APKBUILD | |
parent | ba431ffb57eccecc6074e0428889c861962447d2 (diff) | |
download | aports-f5f90852a2c0d638e41f2c35e7594ec5328bda08.tar.bz2 aports-f5f90852a2c0d638e41f2c35e7594ec5328bda08.tar.xz |
main/python2: skip py2-tkinter when BOOTSTRAP is set
Diffstat (limited to 'main/python2/APKBUILD')
-rw-r--r-- | main/python2/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/python2/APKBUILD b/main/python2/APKBUILD index 2d535c4a3a..7f0e26a21d 100644 --- a/main/python2/APKBUILD +++ b/main/python2/APKBUILD @@ -9,17 +9,20 @@ arch="all" license="custom" provides="python=$pkgver-r$pkgrel" replaces="python" -subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tests - py-gdbm:gdbm py2-tkinter:tkinter" +subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tests py-gdbm:gdbm" depends="" makedepends="expat-dev libressl-dev zlib-dev ncurses-dev bzip2-dev - gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark - tk tk-dev" + gdbm-dev sqlite-dev libffi-dev readline-dev linux-headers paxmark" source="http://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz musl-find_library.patch unchecked-ioctl.patch" builddir="$srcdir/Python-$pkgver" +# To avoid circular dependency between python2 and x11 when bootstrapping. +if [ -z "$BOOTSTRAP" ]; then + subpackages="$subpackages py2-tkinter:tkinter" + makedepends="$makedepends tk tk-dev" +fi prepare() { default_prepare || return 1 |