aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-19 17:50:40 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-19 17:50:40 +0100
commitc57df124ca90ca0b79f624a5b3751131ba7d1ac6 (patch)
tree1c0ae2e7633a8f55688852ad3762d44709f64018
parent795faa994b6d80173cbe4f7e81186f5c3fb26428 (diff)
downloadaports-c57df124ca90ca0b79f624a5b3751131ba7d1ac6.tar.bz2
aports-c57df124ca90ca0b79f624a5b3751131ba7d1ac6.tar.xz
main/py-docutils: add comment explaining why we copy builddir
-rw-r--r--main/py-docutils/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/py-docutils/APKBUILD b/main/py-docutils/APKBUILD
index b679d47111..795cbc4fe7 100644
--- a/main/py-docutils/APKBUILD
+++ b/main/py-docutils/APKBUILD
@@ -17,6 +17,8 @@ builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare || return 1
+ # Soure files are modified during build with 2to3 tool, so we must build
+ # it separately for each Python version.
local python; for python in python2 python3; do
cp -r "$builddir" "$builddir-$python" || return 1
done