Browse Source

l/python-testpath: Removed Python2 support.

slackware-15.0
parent
commit
8191c0a588
  1. 8
      l/python-testpath/python-testpath.SlackBuild

8
l/python-testpath/python-testpath.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018,2019 Damien Goutte-Gattat
# Copyright (C) 2018,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,10 +24,6 @@
#
# Latest testpath sourcecode is available at:
# <https://github.com/jupyter/testpath>.
#
# Note: l/python-pathlib2 is only required under Python 2.
#
# Optional: l/python-pathlib2
# Source package infos
NAMESRC=${NAMESRC:-testpath}
@ -71,8 +67,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save