ports/compat-32 (3.4): python-32: fixes FS#1668
commit e90ca453833cac39e4f871359af3f22c823ff87e Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Jul 4 20:59:06 2018 +1000 python-32: fixes FS#1668 diff --git a/python-32/.signature b/python-32/.signature index c8e5b4b..d671f23 100644 --- a/python-32/.signature +++ b/python-32/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXU+i3aUkv0a1Y1tCBe7kw8pcveteNpS1xiB5cpc+qSfURt3WVfq0R632qvBxeb1/3P7Q8B0VS9s4CLVoKN9gbA0= -SHA256 (Pkgfile) = 4f5cb94f209dffb786ce4133edd36e21c0e2776d7e9a33d23e9769647593cb16 +RWSwxGo/zH7eXRMxtQCwvFy0sZf1lEXdZ+A2KXcE/vY+QwbL1HipGyHA0mQBt4P5gFaF4Cq189QVnR0NWx8znnOOOTQpOan9NgY= +SHA256 (Pkgfile) = d10f208d1cae5b374c519e494a9a508ddccb93d5a20396af2818d42bc9b39119 SHA256 (.footprint) = 6a957fc9e732c9e71c16dfa6d9bc29490be0488fdba190cd8fddcb7635baca5a SHA256 (Python-2.7.15.tar.xz) = 22d9b1ac5b26135ad2b8c2901a9413537e08749a753356ee913c84dbd2df5574 diff --git a/python-32/Pkgfile b/python-32/Pkgfile index 8d1d49f..5e50a5d 100644 --- a/python-32/Pkgfile +++ b/python-32/Pkgfile @@ -2,6 +2,7 @@ # URL: http://www.python.org # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: db-32 gdbm-32 openssl-32 bzip2-32 zlib-32 sqlite3-32 python +# Optional: libtirpc-32 name=python-32 version=2.7.15 @@ -11,6 +12,11 @@ source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz) build() { cd Python-$version +[ -e '/usr/lib/pkgconfig/libtirpc.pc' ] && [ ! -e '/usr/lib32/pkgconfig/libtirpc.pc' ] && printf "\e[031mlibtirpc is detected on your system, please run: +prt-get depinst libtirpc-32 +before continuing with python-32.\033[0m\n" && +exit 1 + # set OPT to the python default without -O3 # our CFLAGS are used as well OPT="-Wall -Wstrict-prototypes -fwrapv" \
participants (1)
-
crux@crux.nu