summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-04-25 18:59:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-03 08:48:43 +0700
commitb9e6f21603fe3343a76e4382fefaa8bc60fdd200 (patch)
treec2c42a6973d40e3df2184336a134d17fb0be19b9
parent7d8fda6e9a665cc78188bb5e0afc6c17bbc89d38 (diff)
downloadslackbuilds-b9e6f21603fe3343a76e4382fefaa8bc60fdd200.tar.gz
python/python3-sip: Change python3 include path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-sip/python3-sip.SlackBuild6
-rw-r--r--python/python3-sip/python3-sip.info4
2 files changed, 6 insertions, 4 deletions
diff --git a/python/python3-sip/python3-sip.SlackBuild b/python/python3-sip/python3-sip.SlackBuild
index cc464f5905..349461061f 100644
--- a/python/python3-sip/python3-sip.SlackBuild
+++ b/python/python3-sip/python3-sip.SlackBuild
@@ -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"
diff --git a/python/python3-sip/python3-sip.info b/python/python3-sip/python3-sip.info
index 46b8210b59..19cdf9416c 100644
--- a/python/python3-sip/python3-sip.info
+++ b/python/python3-sip/python3-sip.info
@@ -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"