aboutsummaryrefslogtreecommitdiff
path: root/python/python-certifi
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-05-08 19:00:15 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-11 07:20:53 +0700
commita6a98d042158f4e89d8c6b8f4f315b2c6b86c723 (patch)
treeb6c59a7d1d4271432c50da4e20bdd2d7f1708466 /python/python-certifi
parente70861e4e0c8b62987ebbc3ef0ef8c1ea7b7e7b8 (diff)
python/python-certifi: Removed python3 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/python-certifi')
-rw-r--r--python/python-certifi/README2
-rw-r--r--python/python-certifi/python-certifi.SlackBuild6
2 files changed, 1 insertions, 7 deletions
diff --git a/python/python-certifi/README b/python/python-certifi/README
index c7498fdd37729..8e6f8b4e44e06 100644
--- a/python/python-certifi/README
+++ b/python/python-certifi/README
@@ -1,5 +1,3 @@
This installable Python package contains a
CA Bundle that you can reference in your
Python code.
-
-Optional dependency: python3
diff --git a/python/python-certifi/python-certifi.SlackBuild b/python/python-certifi/python-certifi.SlackBuild
index 58d21617d666b..1fa733bbc52d9 100644
--- a/python/python-certifi/python-certifi.SlackBuild
+++ b/python/python-certifi/python-certifi.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=python-certifi
SRCNAM=$(printf $PRGNAM | cut -c8-14)
VERSION=${VERSION:-2019.3.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,10 +72,6 @@ find -L . \
python setup.py install --root=$PKG
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true