python/python3-sip: Change python3 include path.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2020-04-25 18:59:23 +01:00 committed by Willy Sudiarto Raharjo
parent 7d8fda6e9a
commit b9e6f21603
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,7 @@
#!/bin/sh
# Now maintained by Dave Woodfall (2020-04-24 14:13:15 +0100)
#
# Copyright 2008 Aleksandar Samardzic <asamardzic@gmail.com>
# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2016 Marcel Saegebarth <marc@mos6581.de>
@ -31,7 +33,7 @@
PRGNAM=python3-sip
SRCNAM=sip
VERSION=${VERSION:-4.19.20}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -82,7 +84,7 @@ find -L . \
python3 configure.py \
-b "/usr/bin" \
-d "$PYTHONLIB" \
-e "/usr/include/python$PYTHONVER" \
-e $(pkg-config --cflags-only-I python3 | sed -e 's/^-I//') \
--sip-module "PyQt5.sip" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS"

View file

@ -6,5 +6,5 @@ MD5SUM="b91e29300cbee7b8e3b1f4412eac615c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
MAINTAINER="Dave Woodfall"
EMAIL="dave@slackbuilds.org"